Generate credit card
This function generates a valid credit card number.
This function requires no extra parameter.
This function applies on String or Long values.
Three types of credit card that can be generated:
- Visa
- MasterCard
- American Express
In the following example, the masked value is a valid Visa credit card number, regardless of the input value.
Input value | Example of a masked value |
---|---|
A26 | 4346065537027896 |