PaymentMethod

public protocol PaymentMethod

Method to pay for an order.

  • The payment method type.

    Declaration

    Swift

    var type: String
  • The type used to represent this object’s payment object.

    Declaration

    Swift

    associatedtype PaymentObjectType: PaymentObject
  • The payment object used to perform the payment.

    Declaration

    Swift

    var paymentObject: PaymentObjectType