Enumerations

The following enumerations are available globally.

  • 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.

    See more

    Declaration

    Swift

    public enum WalletTransactionDataMode : Sendable