Enumerations
The following enumerations are available globally.
-
Represents the source of wallet transaction data to be used in operations.
WalletTransactionDataModecontrols 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.ephemeralwill not update persistent storage. Choosing.storageensures 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.
Declaration
Swift
public enum WalletTransactionDataMode : Sendable
Enumerations Reference