Class: Stripe::SubscriptionCreateParams::PaymentSettings::PaymentMethodOptions::Pix
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SubscriptionCreateParams::PaymentSettings::PaymentMethodOptions::Pix
- Defined in:
- lib/stripe/params/subscription_create_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.
682 683 684 685 |
# File 'lib/stripe/params/subscription_create_params.rb', line 682 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.
678 679 680 |
# File 'lib/stripe/params/subscription_create_params.rb', line 678 def expires_after_seconds @expires_after_seconds end |
#mandate_options ⇒ Object
Configuration options for setting up a mandate
680 681 682 |
# File 'lib/stripe/params/subscription_create_params.rb', line 680 def @mandate_options end |