Class: Stripe::InvoiceCreateParams::PaymentSettings::PaymentMethodOptions::Pix
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::InvoiceCreateParams::PaymentSettings::PaymentMethodOptions::Pix
- Defined in:
- lib/stripe/params/invoice_create_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.
260 261 262 263 |
# File 'lib/stripe/params/invoice_create_params.rb', line 260 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`.
256 257 258 |
# File 'lib/stripe/params/invoice_create_params.rb', line 256 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.
258 259 260 |
# File 'lib/stripe/params/invoice_create_params.rb', line 258 def expires_after_seconds @expires_after_seconds end |