Class: Stripe::TestHelpers::ConfirmationTokenCreateParams::PaymentMethodOptions::Card::Installments

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



553
554
555
# File 'lib/stripe/params/test_helpers/confirmation_token_create_params.rb', line 553

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.



551
552
553
# File 'lib/stripe/params/test_helpers/confirmation_token_create_params.rb', line 551

def plan
  @plan
end