Class: Stripe::Checkout::SessionCreateParams::PaymentMethodData

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/checkout/session_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(allow_redisplay: nil) ⇒ PaymentMethodData

Returns a new instance of PaymentMethodData.



755
756
757
# File 'lib/stripe/params/checkout/session_create_params.rb', line 755

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

Instance Attribute Details

#allow_redisplayObject

Allow redisplay will be set on the payment method on confirmation and indicates whether this payment method can be shown again to the customer in a checkout flow. Only set this field if you wish to override the allow_redisplay value determined by Checkout.



753
754
755
# File 'lib/stripe/params/checkout/session_create_params.rb', line 753

def allow_redisplay
  @allow_redisplay
end