Class: Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Paypal

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/setup_intent_service.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.



2983
2984
2985
# File 'lib/stripe/services/setup_intent_service.rb', line 2983

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.



2981
2982
2983
# File 'lib/stripe/services/setup_intent_service.rb', line 2981

def billing_agreement_id
  @billing_agreement_id
end