CardData
public class CardData : CustomStringConvertible
Contains information about the used payment card Immutable class.
-
init(posEntryMode:aid:acc:cardNumber:cardNumberPrintable:cardNumberPrintableCardholder:cardNumberEnc:cardNumberEncKeyIndex:cardExpiryDate:brandName:tenderName:cardTrackDatas:loyaltyInformations:cardRef:processingDisposition:language:cardCountryCode:terminalCountryCode:uid:)
Create card data information.
Declaration
Swift
public init(posEntryMode: CPosEntryMode?, aid: String?, acc: String?, cardNumber: String?, cardNumberPrintable: String?, cardNumberPrintableCardholder: String?, cardNumberEnc: Data?, cardNumberEncKeyIndex: Int?, cardExpiryDate: TimeDate?, brandName: String?, tenderName: String?, cardTrackDatas: [CardTrackData], loyaltyInformations: [String: Data], cardRef: String?, processingDisposition: CProcessingDisposition?, language: String?, cardCountryCode: Int?, terminalCountryCode: Int?, uid: String?)
-
POS entry mode.
Declaration
Swift
public let posEntryMode: CPosEntryMode?
-
Application identifier.
Declaration
Swift
public let aid: String?
-
Application currency code.
Declaration
Swift
public let acc: String?
-
Card number. Only for Non-PCI applications and if available to the terminal.
Declaration
Swift
public let cardNumber: String?
-
Card number that should be printed on a merchant receipt.
Declaration
Swift
public let cardNumberPrintable: String?
-
Card number that should be printed on a cardholder receipt.
Declaration
Swift
public let cardNumberPrintableCardholder: String?
-
Encrypted card number.
Declaration
Swift
public let cardNumberEnc: Data?
-
Card number encryption key index.
Declaration
Swift
public let cardNumberEncKeyIndex: Int?
-
Card expiration date. Only for Non-PCI applications and if available to the terminal.
Declaration
Swift
public let cardExpiryDate: TimeDate?
-
Card brand name.
Declaration
Swift
public let brandName: String?
-
Card tender name.
Declaration
Swift
public let tenderName: String?
-
List of card track data if present.
Declaration
Swift
public let cardTrackDatas: [CardTrackData]
-
Loyalty information if present. Keyed by loyalty type string.
Declaration
Swift
public let loyaltyInformations: [String : Data]
-
Petrol: Reference from the card.
Declaration
Swift
public let cardRef: String?
-
Defines if the ECR or EFT is responsible for further trx handling.
Specifications: petrol, unattended.
Declaration
Swift
public let processingDisposition: CProcessingDisposition?
-
Card language.
Declaration
Swift
public let language: String?
-
Card country code.
Declaration
Swift
public let cardCountryCode: Int?
-
Terminal country code.
Declaration
Swift
public let terminalCountryCode: Int?
-
Contains the uid of the contactless card.
Declaration
Swift
public let uid: String?
-
Textual representation.
Declaration
Swift
public var description: String { get }