Class: Stripe::Invoice::CreateParams::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.



1238
1239
1240
1241
# File 'lib/stripe/resources/invoice.rb', line 1238

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).



1234
1235
1236
# File 'lib/stripe/resources/invoice.rb', line 1234

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.



1236
1237
1238
# File 'lib/stripe/resources/invoice.rb', line 1236

def request_three_d_secure
  @request_three_d_secure
end