VoucherStatus

enum VoucherStatus {}

The status of the Voucher.

  • The status is unknown.

    Declaration

    Objective-C

    VoucherStatusUnknown = -1

    Swift

    case unknown = -1
  • The Voucher is currently pending, usually waiting on an activation call.

    Declaration

    Objective-C

    VoucherStatusPending = 0

    Swift

    case pending = 0
  • The Voucher is created, has not yet been claimed.

    Declaration

    Objective-C

    VoucherStatusCreated

    Swift

    case created = 1
  • The Voucher has been claimed.

    Declaration

    Objective-C

    VoucherStatusClaimed

    Swift

    case claimed = 2
  • The Voucher was deleted.

    Declaration

    Objective-C

    VoucherStatusRemoved

    Swift

    case removed = 3
  • The Voucher is locked. This state usually occurs when a Voucher has been reported.

    Declaration

    Objective-C

    VoucherStatusFrozen

    Swift

    case frozen = 4
  • The Voucher is an error state. This usually happens when the Voucher is waiting on Payment to go through.

    Declaration

    Objective-C

    VoucherStatusError

    Swift

    case error = 5