/n software 3-D Secure V2 C++ Edition

Questions / Feedback?

CardType Property

Indicates the results of the Luhn Digit Check algorithm.

Syntax

ANSI (Cross Platform)
int GetCardType();

Unicode (Windows)
INT GetCardType();

Possible Values

VCT_UNKNOWN(0), 
VCT_VISA(1),
VCT_MASTER_CARD(2),
VCT_AMEX(3),
VCT_DISCOVER(4),
VCT_DINERS(5),
VCT_JCB(6),
VCT_VISA_ELECTRON(7),
VCT_MAESTRO(8),
VCT_CUP(9),
VCT_LASER(10)
@property (nonatomic,readonly,assign,getter=cardType) int cardType;
- (int)cardType;

Possible Values

VCT_UNKNOWN(0), 
VCT_VISA(1),
VCT_MASTER_CARD(2),
VCT_AMEX(3),
VCT_DISCOVER(4),
VCT_DINERS(5),
VCT_JCB(6),
VCT_VISA_ELECTRON(7),
VCT_MAESTRO(8),
VCT_CUP(9),
VCT_LASER(10)
#define PID_CARDVALIDATOR_CARDTYPE 4

IPWORKS3DS_EXTERNAL void* IPWORKS3DS_CALL IPWorks3DS_CardValidator_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

Default Value

0

Remarks

This property is filled after a call to the ValidateCard method. Allowable values include:

ctUnknown (0) The class could not determine the type of the card based on the CardNumber prefix and length.
vctVisa (1) Visa card.
vctMasterCard (2) MasterCard card.
vctAmex (3) American Express card.
vctDiscover (4) Discover Card
vctDiners (5) Diner's Club card (Carte Blanche or International - the CardTypeDescription will contain the full name).
vctJCB (6) Japan Credit Bureau card.
vctVisaElectron (7) International Visa debit card (not available in US or Canada).
vctMaestro (8) International debit card (owned and operated by MasterCard).
vctCUP (9) China UnionPay - China's only credit card organization.
vctLaser (10) Primary debit card used in Ireland.

This property is read-only and not available at design time.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
/n software 3-D Secure V2 C++ Edition - Version 2.2 [Build 8318]