←Select platform

CardType Enumeration

Summary

An enumeration representing the types of credit cards supported.

Syntax

C#
VB
Java
Objective-C
C++
public enum CardType  
Public Enum CardType  
    
typedef NS_ENUM(NSInteger, LTCardType) 
             
public enum CardType 
             
public: 
   enum class CardType sealed 

Members

ValueMemberDescription
0Unknown Unknown credit card type.
1InsufficientDigits 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.
2AmericanExpress American Express cards start with 34 or 37.
3DinersClub Diners Club credit cards.
4Discover Discover credit cards start with 6x for some values of x.
5JCB JCB (see https://www.jcbusa.com/) cards start with 35.
6MasterCard MasterCard credit cards start with 51-55.
7Visa Visa credit cards start with 4.
8Maestro Maestro credit card.
Requirements

Target Platforms

See Also

Reference

Leadtools.CreditCards Namespace

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.CreditCards Assembly