Class: Stripe::Terminal::ReaderProcessPaymentIntentParams::ProcessConfig
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Terminal::ReaderProcessPaymentIntentParams::ProcessConfig
- Defined in:
- lib/stripe/params/terminal/reader_process_payment_intent_params.rb
Defined Under Namespace
Classes: Tipping
Instance Attribute Summary collapse
-
#allow_redisplay ⇒ Object
This field indicates whether this payment method can be shown again to its customer in a checkout flow.
-
#enable_customer_cancellation ⇒ Object
Enables cancel button on transaction screens.
-
#return_url ⇒ Object
The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method’s app or site.
-
#skip_tipping ⇒ Object
Override showing a tipping selection screen on this transaction.
-
#tipping ⇒ Object
Tipping configuration for this transaction.
Instance Method Summary collapse
-
#initialize(allow_redisplay: nil, enable_customer_cancellation: nil, return_url: nil, skip_tipping: nil, tipping: nil) ⇒ ProcessConfig
constructor
A new instance of ProcessConfig.
Methods inherited from RequestParams
Constructor Details
#initialize(allow_redisplay: nil, enable_customer_cancellation: nil, return_url: nil, skip_tipping: nil, tipping: nil) ⇒ ProcessConfig
Returns a new instance of ProcessConfig.
27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/stripe/params/terminal/reader_process_payment_intent_params.rb', line 27 def initialize( allow_redisplay: nil, enable_customer_cancellation: nil, return_url: nil, skip_tipping: nil, tipping: nil ) @allow_redisplay = allow_redisplay @enable_customer_cancellation = enable_customer_cancellation @return_url = return_url @skip_tipping = skip_tipping @tipping = tipping end |
Instance Attribute Details
#allow_redisplay ⇒ Object
This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow.
17 18 19 |
# File 'lib/stripe/params/terminal/reader_process_payment_intent_params.rb', line 17 def allow_redisplay @allow_redisplay end |
#enable_customer_cancellation ⇒ Object
Enables cancel button on transaction screens.
19 20 21 |
# File 'lib/stripe/params/terminal/reader_process_payment_intent_params.rb', line 19 def enable_customer_cancellation @enable_customer_cancellation end |
#return_url ⇒ Object
The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method’s app or site. If you’d prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
21 22 23 |
# File 'lib/stripe/params/terminal/reader_process_payment_intent_params.rb', line 21 def return_url @return_url end |
#skip_tipping ⇒ Object
Override showing a tipping selection screen on this transaction.
23 24 25 |
# File 'lib/stripe/params/terminal/reader_process_payment_intent_params.rb', line 23 def skip_tipping @skip_tipping end |
#tipping ⇒ Object
Tipping configuration for this transaction.
25 26 27 |
# File 'lib/stripe/params/terminal/reader_process_payment_intent_params.rb', line 25 def tipping @tipping end |