DigitalCard
public struct DigitalCard
The full information of the digital card.
Since
1.0.0-
The unique digital card id.
Declaration
Swift
public let cardID: String
-
The digital card status.
Declaration
Swift
public let state: CardState
-
The digital card scheme.
Declaration
Swift
public let scheme: CardScheme
-
Last 4 digits of the digital card.
Declaration
Swift
public let last4: String?
-
The expiry date of the digital card.
Declaration
Swift
public let expiryDate: String?
-
The device identifier.
Declaration
Swift
public let deviceID: String?
-
The device name.
Declaration
Swift
public let deviceName: String?
-
The device type.
Declaration
Swift
public let deviceType: String?
-
Warning
Please use new APItokenRequestorID
.The digital card wallet identifier.
Declaration
Swift
@available(*, deprecated, message: "Please use new API `tokenRequestorID`.") public let walletID: String?
-
The digital card’s token requestor identifier.
Declaration
Swift
public let tokenRequestorID: String?
-
Warning
Please use new APItokenRequestorName
.The digital card wallet name. It is only supported for MasterCard.
Declaration
Swift
@available(*, deprecated, message: "Please use new API `tokenRequestorName`.") public let walletName: String?
-
The digital card’s token requestor name. It is only supported for MasterCard.
Declaration
Swift
public let tokenRequestorName: String?
-
Warning
Due to scheme limitation, it is not possible to have real time the token requestor name and logo. It is advised that the issuer application identifies the top 5-10 token requestor identifiers and hardcode a merchant/wallet facing name and logo.The digital card wallet asset.
Declaration
Swift
@available(*, deprecated, message: "Due to scheme limitation, it is not possible to have real time the token requestor name and logo. It is advised that the issuer application identifies the top 5-10 token requestor identifiers and hardcode a merchant/wallet facing name and logo.") public let walletAsset: [CardAssetContent]?
-
Identify if the digital card is on the current device.
Since
3.4.0Declaration
Swift
public let isOnCurrentDevice: Bool