Class: Stripe::InvoiceUpdateParams::PaymentSettings::PaymentMethodOptions::Card

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/invoice_update_params.rb

Defined Under Namespace

Classes: Installments

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of Card.



134
135
136
137
# File 'lib/stripe/params/invoice_update_params.rb', line 134

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.

For more information, see the installments integration guide.



130
131
132
# File 'lib/stripe/params/invoice_update_params.rb', line 130

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. 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 for more information on how this configuration interacts with Radar and our SCA Engine.



132
133
134
# File 'lib/stripe/params/invoice_update_params.rb', line 132

def request_three_d_secure
  @request_three_d_secure
end