PaymentInstrument

public protocol PaymentInstrument

Common properties to all PaymentInstruments

  • The payment instrument id.

    Declaration

    Swift

    var paymentInstrumentId: String { get }
  • Indicates if the merchant profile in the container allows the use of this payment instrument.

    Declaration

    Swift

    var allowed: Bool { get }
  • The timestamp the payment instrument was last updated in the container.

    Declaration

    Swift

    var lastUpdated: Date { get }
  • The timestamp the payment instrument was last used in the container.

    Declaration

    Swift

    var lastUsed: Date? { get }
  • The payment token is a unique identifier for the payment instrument.

    Declaration

    Swift

    var paymentToken: String { get }
  • Indicates that this payment instrument is the primary instrument in the container.

    Declaration

    Swift

    var primary: Bool { get }
  • The status of the payment instrument in the container.

    Declaration

    Swift

    var status: PaymentInstrumentStatus? { get }