Class: Stripe::Checkout::Session::CreateParams::PaymentMethodOptions::Pix

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/checkout/session.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(expires_after_seconds: nil) ⇒ Pix

Returns a new instance of Pix.



2495
2496
2497
# File 'lib/stripe/resources/checkout/session.rb', line 2495

def initialize(expires_after_seconds: nil)
  @expires_after_seconds = expires_after_seconds
end

Instance Attribute Details

#expires_after_secondsObject

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



2493
2494
2495
# File 'lib/stripe/resources/checkout/session.rb', line 2493

def expires_after_seconds
  @expires_after_seconds
end