WalletTransactionDataMode
public enum WalletTransactionDataMode : Sendable
Represents the source of wallet transaction data to be used in operations.
WalletTransactionDataMode controls whether transaction-related
information should come from ephemeral (in-memory) data provided at runtime,
or from the persisted Digital Card storage.
Use this during contactless payment.
Important
Choosing.ephemeral will not update persistent storage.
Choosing .storage ensures the data comes from the latest
DigitalCard storage.
Cases
ephemeral(WalletTransactionData?): Use temporary data provided by the caller. This data exists only for the current operation and will not be persisted back into storage.storage: Load and use data from the persisted DigitalCard storage.
-
Override data without updating persistent storage.
Declaration
Swift
case ephemeral(WalletTransactionData?) -
Use data from the Digital Card’s storage.
Declaration
Swift
case storage
WalletTransactionDataMode Enumeration Reference