Class: Stripe::Checkout::Session::CreateParams::PaymentMethodOptions::Card::Installments
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Checkout::Session::CreateParams::PaymentMethodOptions::Card::Installments
- Defined in:
- lib/stripe/resources/checkout/session.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Setting to true enables installments for this Checkout Session.
Instance Method Summary collapse
-
#initialize(enabled: nil) ⇒ Installments
constructor
A new instance of Installments.
Methods inherited from RequestParams
Constructor Details
#initialize(enabled: nil) ⇒ Installments
Returns a new instance of Installments.
1944 1945 1946 |
# File 'lib/stripe/resources/checkout/session.rb', line 1944 def initialize(enabled: nil) @enabled = enabled end |
Instance Attribute Details
#enabled ⇒ Object
Setting to true enables installments for this Checkout Session. Setting to false will prevent any installment plan from applying to a payment.
1942 1943 1944 |
# File 'lib/stripe/resources/checkout/session.rb', line 1942 def enabled @enabled end |