State

public enum State : Int, Sendable

State of a specific DigitalCard.

  • The state of the card is unknown.

    Declaration

    Swift

    case unknown = 0
  • The card is active and can be used for payment.

    Declaration

    Swift

    case active = 1
  • The card is suspended. Payment is unavailable.

    Declaration

    Swift

    case suspended = 2
  • The card is no longer in use.

    Declaration

    Swift

    case retired = 3
  • The card is not activated due to missing ID&V.

    Declaration

    Swift

    case inactive = 4
  • Description of the state of the card.

    Declaration

    Swift

    public var description: String { get }