Class: Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Pix
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Pix
- Defined in:
- lib/stripe/services/checkout/session_service.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.
1379 1380 1381 |
# File 'lib/stripe/services/checkout/session_service.rb', line 1379 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.
1377 1378 1379 |
# File 'lib/stripe/services/checkout/session_service.rb', line 1377 def expires_after_seconds @expires_after_seconds end |