←Select platform

CardType Enumeration

Summary

An enumeration representing the types of credit cards supported.

Syntax

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

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 http://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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Click or drag to resize