Class: Stripe::ConfirmationToken::CreateParams::PaymentMethodOptions::Card::Installments

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/confirmation_token.rb

Defined Under Namespace

Classes: Plan

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(plan: nil) ⇒ Installments

Returns a new instance of Installments.



1518
1519
1520
# File 'lib/stripe/resources/confirmation_token.rb', line 1518

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

Instance Attribute Details

#planObject

The selected installment plan to use for this payment attempt. This parameter can only be provided during confirmation.



1516
1517
1518
# File 'lib/stripe/resources/confirmation_token.rb', line 1516

def plan
  @plan
end