PaymentMethodData

public class PaymentMethodData : Codable

Data required to create a payment method that the user will pay.

  • Type of the source of funds for the payment.

    Declaration

    Swift

    public let paymentMethodType: PaymentMethodType
  • Creates instance of PaymentMethodData.

    Declaration

    Swift

    public init(paymentMethodType: PaymentMethodType)

    Parameters

    paymentMethodType

    Type of the source of funds for the payment.

    Return Value

    Instance of PaymentMethodData

  • Creates custom headers.

    Declaration

    Swift

    public func customHeaders() -> Headers