View source
enum abstract CreditCardValidatorCardType(String)
package feathers.validators
from String to String
The CreditCardValidatorCardType class defines value constants
for specifying the type of credit card to validate.
These values are used in the CreditCardValidator.cardType
property.
See also:
Variables
inlineread onlyAMERICAN_EXPRESS:CreditCardValidatorCardType = "American Express"
Specifies the card type as American Express.
inlineread onlyDINERS_CLUB:CreditCardValidatorCardType = "Diners Club"
Specifies the card type as Diners Club.
inlineread onlyDISCOVER:CreditCardValidatorCardType = "Discover"
Specifies the card type as Discover.
inlineread onlyMASTER_CARD:CreditCardValidatorCardType = "MasterCard"
Specifies the card type as MasterCard.