- error
- isAmericanExpress
Check if the credit card is an American Express. An American Express number has
to start with 34 or
- isChecksumCorrect
Calculates the checksum of a credit card number using the Luhn algorithm (the
so-called "mod 10" alg
- isChinaUnionPay
Check if the credit card is a China UnionPay. A China UnionPay number has to
start with 622 (622126-
- isDinersClubInternational
Check if the credit card is a Diners Club International. A Diners Club
International number has to s
- isDinersClubUsAndCanada
Check if the credit card is a Diners Club US & Canada. A Diners Club US & Canada
number has to start
- isDiscoverCard
Check if the credit card is a Discover Card. A Discover Card number has to start
with 6011, 622126-6
- isJCB
Check if the credit card is a JCB. A JCB number has to start with a number
between 3528 and 3589 and
- isLaser
Check if the credit card is a Laser. A Laser number has to start with 6304,
6706, 6771 or 6709 and h
- isLengthAndPrefixCorrect
Checks if the credit card number can be determined as a valid number.
- isMaestro
Check if the credit card is a Maestro. A Maestro number has to start with
5018,5020,5038,6304,6759,6
- isMastercard
Check if the credit card is a Mastercard. A Mastercard number has to start with
a number between 51