Class: Stripe::SetupIntentUpdateParams::PaymentMethodOptions::Paypal

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(billing_agreement_id: nil) ⇒ Paypal

Returns a new instance of Paypal.



904
905
906
# File 'lib/stripe/params/setup_intent_update_params.rb', line 904

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.



902
903
904
# File 'lib/stripe/params/setup_intent_update_params.rb', line 902

def billing_agreement_id
  @billing_agreement_id
end