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

@:value(cast "American Express")@:impl@:enuminlineread onlyAMERICAN_EXPRESS:CreditCardValidatorCardType = "American Express"

Specifies the card type as American Express.

@:value(cast "Diners Club")@:impl@:enuminlineread onlyDINERS_CLUB:CreditCardValidatorCardType = "Diners Club"

Specifies the card type as Diners Club.

@:value(cast "Discover")@:impl@:enuminlineread onlyDISCOVER:CreditCardValidatorCardType = "Discover"

Specifies the card type as Discover.

@:value(cast "MasterCard")@:impl@:enuminlineread onlyMASTER_CARD:CreditCardValidatorCardType = "MasterCard"

Specifies the card type as MasterCard.

@:value(cast "Visa")@:impl@:enuminlineread onlyVISA:CreditCardValidatorCardType = "Visa"

Specifies the card type as Visa.