Direct Payment Integrator V6 - Online Help
Direct Payment Integrator V6
Questions / Feedback?

CardType Property

Indicates the results of the Luhn Digit Check algorithm.

Syntax

public int getCardType();


Enumerated values: public final static int vctUnknown = 0; public final static int vctVisa = 1; public final static int vctMasterCard = 2; public final static int vctAmex = 3; public final static int vctDiscover = 4; public final static int vctDiners = 5; public final static int vctJCB = 6; public final static int vctBankCard = 7; public final static int vctVisaElectron = 8; public final static int vctSolo = 9; public final static int vctSwitch = 10; public final static int vctMaestro = 11; public final static int vctCUP = 12; public final static int vctLaser = 13; public final static int vctVisaPurchase = 14; public final static int vctMCardPurchase = 15; public final static int vctTempoPayments = 16;

Remarks

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

ctUnknown (0) The component 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, International, or enRoute - the CardTypeDescription will contain the full name).
vctJCB (6) Japan Credit Bureau card.
vctBankCard (7) Australian shared brand credit card (no longer in circulation).
vctVisaElectron (8) International Visa debit card (not available in US or Canada).
vctSolo (9) UK-based debit card, similar to the Visa Electron card.
vctSwitch (10) Another UK-based debit card. Sister to the Solo card.
vctMaestro (11) International debit card (owned and operated by MasterCard).
vctCUP (12) China Union Pay - China's only credit card organization.
vctLaser (13) Primary debit card used in Ireland.
vctVisaPurchase (14) Visa Purchasing Card.
vctMCardPurchase (15)MasterCard Purchasing Card.
vctTempoPayments (16)Tempo Payments Card (debit).
vctFlexCache (17) Chase Paymentech FlexCache Stored Value Cards.

Note that this integer value is computed by the component, the actual value returned from the Global Transport Server will be contained in CardTypeDescription.

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

Default Value

0

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 6.0.6240.0