PaymentMethod

public struct PaymentMethod : Codable

The payment method model.

  • The unique identifier for the payment method.

    Declaration

    Swift

    public var uuid: String?
  • The payment type.

    Declaration

    Swift

    public var typeString: String?
  • The payment type. Check typeString if nil.

    Declaration

    Swift

    public var type: PaymentMethodType? { get }
  • The last 4 digits.

    Declaration

    Swift

    public var lastFour: String?