Class: Stripe::Invoice::UpdateParams::PaymentSettings::PaymentMethodOptions::Card

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

Defined Under Namespace

Classes: Installments

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(installments: nil, request_three_d_secure: nil) ⇒ Card

Returns a new instance of Card.



588
589
590
591
# File 'lib/stripe/resources/invoice.rb', line 588

def initialize(installments: nil, request_three_d_secure: nil)
  @installments = installments
  @request_three_d_secure = request_three_d_secure
end

Instance Attribute Details

#installmentsObject

Installment configuration for payments attempted on this invoice (Mexico Only).

For more information, see the [installments integration guide](stripe.com/docs/payments/installments).



584
585
586
# File 'lib/stripe/resources/invoice.rb', line 584

def installments
  @installments
end

#request_three_d_secureObject

We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Read our guide on [manually requesting 3D Secure](stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.



586
587
588
# File 'lib/stripe/resources/invoice.rb', line 586

def request_three_d_secure
  @request_three_d_secure
end