BraintreePaymentNonce

open class BraintreePaymentNonce: PaymentMethod

Payment using a Braintree payment nonce

  • The payment data to be sent to the API

    Declaration

    Swift

    public var paymentData: [String: Any]
  • Initialise the payment method with a braintree payment nonce and custom fields to apply to the payment

    Declaration

    Swift

    public init(initWithPaymentNonce paymentNonce: String, withCustomFields customFields: [String: String]? = nil)