E-Payment Integrator 2020 macOS Edition

Questions / Feedback?

CardType Property

Indicates the results of the Luhn Digit Check algorithm.

Syntax

public var cardType: CardvalidatorCardTypes {
get {...} }

public enum CardvalidatorCardTypes: Int32 { case vctUnknown = 0 case vctVisa = 1 case vctMasterCard = 2 case vctAmex = 3 case vctDiscover = 4 case vctDiners = 5 case vctJCB = 6 case vctVisaElectron = 7 case vctMaestro = 8 case vctCUP = 9 case vctLaser = 10 }

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.

Copyright (c) 2021 /n software inc. - All rights reserved.
E-Payment Integrator 2020 macOS Edition - Version 20.0 [Build 7941]