Class: Stripe::InvoiceUpdateParams::PaymentSettings::PaymentMethodOptions::Pix
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::InvoiceUpdateParams::PaymentSettings::PaymentMethodOptions::Pix
- Defined in:
- lib/stripe/params/invoice_update_params.rb
Instance Attribute Summary collapse
-
#amount_includes_iof ⇒ Object
Determines if the amount includes the IOF tax.
-
#expires_after_seconds ⇒ Object
The number of seconds (between 10 and 1209600) after which Pix payment will expire.
Instance Method Summary collapse
-
#initialize(amount_includes_iof: nil, expires_after_seconds: nil) ⇒ Pix
constructor
A new instance of Pix.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(amount_includes_iof: nil, expires_after_seconds: nil) ⇒ Pix
Returns a new instance of Pix.
287 288 289 290 |
# File 'lib/stripe/params/invoice_update_params.rb', line 287 def initialize(amount_includes_iof: nil, expires_after_seconds: nil) @amount_includes_iof = amount_includes_iof @expires_after_seconds = expires_after_seconds end |
Instance Attribute Details
#amount_includes_iof ⇒ Object
Determines if the amount includes the IOF tax. Defaults to ‘never`.
283 284 285 |
# File 'lib/stripe/params/invoice_update_params.rb', line 283 def amount_includes_iof @amount_includes_iof end |
#expires_after_seconds ⇒ Object
The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
285 286 287 |
# File 'lib/stripe/params/invoice_update_params.rb', line 285 def expires_after_seconds @expires_after_seconds end |