ContactlessPaymentInputData
public struct ContactlessPaymentInputData : Sendable
Encapsulates the input required to start a contactless payment.
ContactlessPaymentInputData defines whether wallet transaction data should
be provided directly (ephemeral) or retrieved from storage.
-
Creates a new instance of
ContactlessPaymentInputData.Throws
WalletTransactionDataError/invalidWalletTransactionDataif ephemeral data validation fails.Declaration
Swift
public init( digitalCardID: String? = nil, walletTransactionDataMode: WalletTransactionDataMode ) throwsParameters
digitalCardIDAn optional identifier of the digital card.
walletTransactionDataModeThe mode indicating how wallet transaction data should be supplied (either
.ephemeralor.storage).
ContactlessPaymentInputData Structure Reference