Class: Stripe::SetupIntentCreateParams::PaymentMethodOptions::Paypal

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/setup_intent_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(billing_agreement_id: nil) ⇒ Paypal

Returns a new instance of Paypal.



890
891
892
# File 'lib/stripe/params/setup_intent_create_params.rb', line 890

def initialize(billing_agreement_id: nil)
  @billing_agreement_id = billing_agreement_id
end

Instance Attribute Details

#billing_agreement_idObject

The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.



888
889
890
# File 'lib/stripe/params/setup_intent_create_params.rb', line 888

def billing_agreement_id
  @billing_agreement_id
end