BraintreeCustomerID

open class BraintreeCustomerID : PaymentMethod

Payment using Braintree customer ID information

  • The payment data to be sent to the API

    Declaration

    Swift

    public var paymentData: [String : Any] { get }
  • Initialise the payment method with a braintree customer ID and custom fields to apply to the payment

    Declaration

    Swift

    public init(initWithCustomerID customerID: String, withCustomFields customFields: [String: String]? = nil)