This is a simple class for validating credit
card numbers. It can perform MOD10 card number validation and also
determine the credit card type based on the knowledge of the
association the type to the combination of the card digits,
Class: credit card validation
Detailed description
This is a simple class for validating credit card numbers.
It can perform MOD10 card number validation and also determine the
credit card type based on the knowledge of the association the type to
the combination of the card digits.
It supports validating cards by the following types: mastercard, discover, amex, diners, bankcard, jcb, enroute and switch.
|