Class: Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodOptions::Card::Installments

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



701
702
703
# File 'lib/stripe/services/test_helpers/confirmation_token_service.rb', line 701

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.



699
700
701
# File 'lib/stripe/services/test_helpers/confirmation_token_service.rb', line 699

def plan
  @plan
end