Class: Stripe::Terminal::Reader::ProcessSetupIntentParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/terminal/reader.rb

Defined Under Namespace

Classes: ProcessConfig

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(allow_redisplay: nil, expand: nil, process_config: nil, setup_intent: nil) ⇒ ProcessSetupIntentParams

Returns a new instance of ProcessSetupIntentParams.



276
277
278
279
280
281
# File 'lib/stripe/resources/terminal/reader.rb', line 276

def initialize(allow_redisplay: nil, expand: nil, process_config: nil, setup_intent: nil)
  @allow_redisplay = allow_redisplay
  @expand = expand
  @process_config = process_config
  @setup_intent = setup_intent
end

Instance Attribute Details

#allow_redisplayObject

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.



268
269
270
# File 'lib/stripe/resources/terminal/reader.rb', line 268

def allow_redisplay
  @allow_redisplay
end

#expandObject

Specifies which fields in the response should be expanded.



270
271
272
# File 'lib/stripe/resources/terminal/reader.rb', line 270

def expand
  @expand
end

#process_configObject

Configuration overrides



272
273
274
# File 'lib/stripe/resources/terminal/reader.rb', line 272

def process_config
  @process_config
end

#setup_intentObject

SetupIntent ID



274
275
276
# File 'lib/stripe/resources/terminal/reader.rb', line 274

def setup_intent
  @setup_intent
end