constants library

Constants

ALT_SECURITY_CODE_LENGTH → const int
The alternate length of the security code
ccNumLengthDefaults → const Map<String, List<int>>
A mapping of possible credit card types to their respective possible card number length defaults
ccSecurityCodeDefaults → const Map<String, SecurityCode>
A mapping of possible credit card types to their respective security code defaults
DEFAULT_SECURITY_CODE_LENGTH → const int
The default length of the CVV or security code (most cards do this)
PRETTY_AMEX → const String
PRETTY_DINERS_CLUB → const String
PRETTY_DISCOVER → const String
PRETTY_ELO → const String
PRETTY_HIPER → const String
PRETTY_HIPERCARD → const String
PRETTY_JCB → const String
PRETTY_MAESTRO → const String
PRETTY_MASTERCARD → const String
PRETTY_MIR → const String
PRETTY_UNIONPAY → const String
PRETTY_VISA → const String
Predefined pretty printed card brands
SEC_CODE_CID → const String
SEC_CODE_CVC → const String
SEC_CODE_CVE → const String
SEC_CODE_CVN → const String
SEC_CODE_CVP2 → const String
SEC_CODE_CVV → const String
Predefined security code names
TYPE_AMEX → const String
TYPE_DINERS_CLUB → const String
TYPE_DISCOVER → const String
TYPE_ELO → const String
TYPE_HIPER → const String
TYPE_HIPERCARD → const String
TYPE_JCB → const String
TYPE_MAESTRO → const String
TYPE_MASTERCARD → const String
TYPE_MIR → const String
TYPE_UNIONPAY → const String
TYPE_VISA → const String
Predefined card brands

Properties

cardNumPatternDefaults Map<String, Set<Pattern>>
A List<String> represents a range. i.e. '51', '55' represents the range of cards starting with '51' to those starting with '55'
getter/setter pair