This class attempts to identify credit card issuers based on patterns in the numbers each vendor issues.
package |
Application |
---|
__construct(mixedissuerName) : mixed
mixed
mixed
getIssuerName() : string
string
Human-friendly issuer name.
identifyByCardNumber(stringcardNumber) : \com\scriptel\FinancialCardIssuer
string
Number to inspect.
\com\scriptel\FinancialCardIssuer
Issuer if identified, UNKNOWN otherwise.
setIssuerName(stringissuerName) : mixed
string
mixed
AMERICAN_EXPRESS
DINERS_CLUB
CARTE_BLANCH
DISCOVER
ENROUTE
JCB
MASTER_CARD
VISA
UNKNOWN
issuerName :