Class: Stripe::Terminal::ReaderService::ProcessSetupIntentParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Terminal::ReaderService::ProcessSetupIntentParams
- Defined in:
- lib/stripe/services/terminal/reader_service.rb
Defined Under Namespace
Classes: ProcessConfig
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.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#process_config ⇒ Object
Configuration overrides.
-
#setup_intent ⇒ Object
SetupIntent ID.
Instance Method Summary collapse
-
#initialize(allow_redisplay: nil, expand: nil, process_config: nil, setup_intent: nil) ⇒ ProcessSetupIntentParams
constructor
A new instance of ProcessSetupIntentParams.
Methods inherited from RequestParams
Constructor Details
#initialize(allow_redisplay: nil, expand: nil, process_config: nil, setup_intent: nil) ⇒ ProcessSetupIntentParams
Returns a new instance of ProcessSetupIntentParams.
172 173 174 175 176 177 |
# File 'lib/stripe/services/terminal/reader_service.rb', line 172 def initialize(allow_redisplay: nil, expand: nil, process_config: nil, setup_intent: nil) @allow_redisplay = allow_redisplay @expand = @process_config = process_config @setup_intent = setup_intent 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.
164 165 166 |
# File 'lib/stripe/services/terminal/reader_service.rb', line 164 def allow_redisplay @allow_redisplay end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
166 167 168 |
# File 'lib/stripe/services/terminal/reader_service.rb', line 166 def @expand end |
#process_config ⇒ Object
Configuration overrides
168 169 170 |
# File 'lib/stripe/services/terminal/reader_service.rb', line 168 def process_config @process_config end |
#setup_intent ⇒ Object
SetupIntent ID
170 171 172 |
# File 'lib/stripe/services/terminal/reader_service.rb', line 170 def setup_intent @setup_intent end |