PaymentMethod

public struct PaymentMethod : Codable, Sendable

The payment method model.

  • The unique identifier for the payment method.

    Declaration

    Swift

    public let uuid: String?
  • The payment type.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    public let lastFour: String?