Class: Stripe::Checkout::Session::CreateParams::PaymentMethodOptions::Pix
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Checkout::Session::CreateParams::PaymentMethodOptions::Pix
- Defined in:
- lib/stripe/resources/checkout/session.rb
Instance Attribute Summary collapse
-
#expires_after_seconds ⇒ Object
The number of seconds (between 10 and 1209600) after which Pix payment will expire.
Instance Method Summary collapse
-
#initialize(expires_after_seconds: nil) ⇒ Pix
constructor
A new instance of Pix.
Methods inherited from RequestParams
Constructor Details
#initialize(expires_after_seconds: nil) ⇒ Pix
Returns a new instance of Pix.
2749 2750 2751 |
# File 'lib/stripe/resources/checkout/session.rb', line 2749 def initialize(expires_after_seconds: nil) @expires_after_seconds = expires_after_seconds 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.
2747 2748 2749 |
# File 'lib/stripe/resources/checkout/session.rb', line 2747 def expires_after_seconds @expires_after_seconds end |