PaymentCard
@objcMembers
public class PaymentCard : NSObject, Codable
extension PaymentCard: CustomReflectable
Holds data about the card that performed the payment.
-
A token representing a card used in a payment. This will be returned in the result of a card payment if tokenisation is enabled, and can be sent in the request for payment with a card/token payment instrument.
Declaration
Swift
public private(set) var tokenId: String? { get }
-
The Primary Account Number of the card. For whitelisted cards the full card number can be returned, for all other cards the number is masked. The first 6 digits and last 4 digits are returned, the middle digits are replaced by X.
Declaration
Swift
public private(set) var cardNumber: String? { get }
-
The expiry date of the card. Omitted of the card does not have an expiry date.
Declaration
Swift
public private(set) var expiryDate: CardDate? { get }
-
The Track 2 data of the card as defined by ISO 7813. Available for whitelisted BIN ranges for check-card and check-card-payment transactions.
Declaration
Swift
public private(set) var track2Data: String? { get }
-
Indicator for the type of card.
Declaration
Swift
public private(set) var type: CardType? { get }
-
A reference which can be used to identify the issuer of card.
Declaration
Swift
public private(set) var issuerCode: String? { get }
-
The 3-digit numeric ISO 3166 code for the country the card was issued in.
Declaration
Swift
public private(set) var countryCode: String? { get }
-
The PAN Sequence number for ICC payments, and the card’s issue number for swiped UK Maestro/Solo card payments.
Declaration
Swift
public private(set) var panSequenceNumber: String? { get }
-
The mnemonic associated with the application ID (AID) of the card used for the payment according to ISO/IEC 7816-5.
Declaration
Swift
public private(set) var applicationLabel: String? { get }
-
The application ID (AID) of the card used for the payment according to ISO/IEC 7816-5. Note – For VISA Contactless Cards, truncated EMV Card Data Element Application Identifier (AID) will be received instead Extended AID.
Declaration
Swift
public private(set) var applicationIdentifier: String? { get }
-
The date from which the application can be used. Represented as a full-date according to RFC 3339, section 5.6.
Declaration
Swift
public private(set) var applicationEffectiveDate: String? { get }
-
Used to print the debug content of the object
Declaration
Swift
public var customMirror: Mirror { get }