Class: Stripe::Terminal::ReaderProcessSetupIntentParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/terminal/reader_process_setup_intent_params.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) ⇒ ReaderProcessSetupIntentParams

Returns a new instance of ReaderProcessSetupIntentParams.



24
25
26
27
28
29
# File 'lib/stripe/params/terminal/reader_process_setup_intent_params.rb', line 24

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.



16
17
18
# File 'lib/stripe/params/terminal/reader_process_setup_intent_params.rb', line 16

def allow_redisplay
  @allow_redisplay
end

#expandObject

Specifies which fields in the response should be expanded.



18
19
20
# File 'lib/stripe/params/terminal/reader_process_setup_intent_params.rb', line 18

def expand
  @expand
end

#process_configObject

Configuration overrides



20
21
22
# File 'lib/stripe/params/terminal/reader_process_setup_intent_params.rb', line 20

def process_config
  @process_config
end

#setup_intentObject

SetupIntent ID



22
23
24
# File 'lib/stripe/params/terminal/reader_process_setup_intent_params.rb', line 22

def setup_intent
  @setup_intent
end