Giter Site home page Giter Site logo

kloverde / java-paymentcardgenerator Goto Github PK

View Code? Open in Web Editor NEW
35.0 7.0 18.0 105 KB

A Java library for generating mathematically-valid credit card numbers for software testing. The API provides customizable criteria for generation, and is extensible to apply to any payment card type which uses Luhn validation (not limited to just credit cards).

License: BSD 3-Clause "New" or "Revised" License

Java 100.00%
luhn card-number payment-cards java-library credit-card luhn-validation credit-cards credit-card-generator credit-card-number-generator number-generator

java-paymentcardgenerator's Introduction

PaymentCardGenerator v2.0.0

See LICENSE for this software's licensing terms.

PaymentCardGenerator is a Java library that aids in testing payment card processing systems. It generates random payment card numbers so that you don't have to use an actual card.

Card numbers are generated based on the criteria defined here:

Features

  • Supports generation of American Express, VISA, MasterCard and Discover
  • Easily extensible to support any type of payment card which uses Luhn validation. All you need to do is add a member to the CardType enumeration.
  • Numerous criteria for generating numbers, including by type, quantity, length and prefix
  • Future-proof: generate numbers based on your own criteria, even if the library doesn't have knowledge of the latest card number formats

Build Tasks

This project is known to build on Gradle 8.4.

task purpose
build Builds the project
check Runs the tests and code quality checks
clean Removes the build directory
jars Builds the source, javadoc and binary jars
publishToMavenLocal Published the jars to your local Maven cache

Donations

https://paypal.me/KurtisLoVerde/5

Thank you for your support!

java-paymentcardgenerator's People

Contributors

kloverde avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.