Class: Stripe::SubscriptionUpdateParams::PaymentSettings::PaymentMethodOptions::Pix
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SubscriptionUpdateParams::PaymentSettings::PaymentMethodOptions::Pix
- Defined in:
- lib/stripe/params/subscription_update_params.rb
Defined Under Namespace
Classes: MandateOptions
Instance Attribute Summary collapse
-
#expires_after_seconds ⇒ Object
The number of seconds (between 10 and 1209600) after which Pix payment will expire.
-
#mandate_options ⇒ Object
Configuration options for setting up a mandate.
Instance Method Summary collapse
-
#initialize(expires_after_seconds: nil, mandate_options: 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(expires_after_seconds: nil, mandate_options: nil) ⇒ Pix
Returns a new instance of Pix.
661 662 663 664 |
# File 'lib/stripe/params/subscription_update_params.rb', line 661 def initialize(expires_after_seconds: nil, mandate_options: nil) @expires_after_seconds = expires_after_seconds @mandate_options = end |
Instance Attribute Details
#expires_after_seconds ⇒ Object
The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
657 658 659 |
# File 'lib/stripe/params/subscription_update_params.rb', line 657 def expires_after_seconds @expires_after_seconds end |
#mandate_options ⇒ Object
Configuration options for setting up a mandate
659 660 661 |
# File 'lib/stripe/params/subscription_update_params.rb', line 659 def @mandate_options end |