Class: Stripe::InvoiceUpdateParams::PaymentSettings::PaymentMethodOptions::Pix

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

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(amount_includes_iof: nil, expires_after_seconds: nil) ⇒ Pix

Returns a new instance of Pix.



199
200
201
202
# File 'lib/stripe/params/invoice_update_params.rb', line 199

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_iofObject

Determines if the amount includes the IOF tax. Defaults to never.



195
196
197
# File 'lib/stripe/params/invoice_update_params.rb', line 195

def amount_includes_iof
  @amount_includes_iof
end

#expires_after_secondsObject

The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.



197
198
199
# File 'lib/stripe/params/invoice_update_params.rb', line 197

def expires_after_seconds
  @expires_after_seconds
end