L_CC_CardType

The enumeration lists the types of credit cards that are supported.

enum L_CC_CardType 
{ 
   L_CC_CardType_Unknown, 
   L_CC_CardType_InsufficientDigits, 
   L_CC_CardType_AmericanExpress, 
   L_CC_CardType_DinersClub, 
   L_CC_CardType_Discover, 
   L_CC_CardType_JCB, 
   L_CC_CardType_MasterCard, 
   L_CC_CardType_Visa, 
   L_CC_CardType_Maestro, 
}; 

typedef enum L_CC_CardType L_CC_CardType;

Value

Meaning

L_CC_CardType_Unknown Unknown card type.

L_CC_CardType_InsufficientDigits

More digits are required in order to determine the card type. For example, if the only digit known is a 3, it cannot be determined whether it is a JCB (which starts with 35) or AmEx (which starts with 34 or 37) card type.
L_CC_CardType_AmericanExpress American Express credit cards start with 34 or 37.
L_CC_CardType_DinersClub Diners Club credit cards.
L_CC_CardType_Discover Discover credit cards start with 6x for some values of x.
L_CC_CardType_JCB JCB (see http://www.jcbusa.com/) cards start with 35.
L_CC_CardType_MasterCard MasterCard credit cards start with 51-55.
L_CC_CardType_Visa Visa credit cards start with 4.
L_CC_CardType_Maestro Maestro cards.
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Click or drag to resize