Class: Stripe::Checkout::SessionService::CreateParams::PaymentMethodData
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Checkout::SessionService::CreateParams::PaymentMethodData
- Defined in:
- lib/stripe/services/checkout/session_service.rb
Instance Attribute Summary collapse
-
#allow_redisplay ⇒ Object
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.
Instance Method Summary collapse
-
#initialize(allow_redisplay: nil) ⇒ PaymentMethodData
constructor
A new instance of PaymentMethodData.
Methods inherited from RequestParams
Constructor Details
#initialize(allow_redisplay: nil) ⇒ PaymentMethodData
Returns a new instance of PaymentMethodData.
732 733 734 |
# File 'lib/stripe/services/checkout/session_service.rb', line 732 def initialize(allow_redisplay: nil) @allow_redisplay = allow_redisplay end |
Instance Attribute Details
#allow_redisplay ⇒ Object
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.
730 731 732 |
# File 'lib/stripe/services/checkout/session_service.rb', line 730 def allow_redisplay @allow_redisplay end |