Class: Stripe::Terminal::ReaderCollectInputsParams::Input::Selection

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/terminal/reader_collect_inputs_params.rb

Defined Under Namespace

Classes: Choice

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(choices: nil) ⇒ Selection

Returns a new instance of Selection.



44
45
46
# File 'lib/stripe/params/terminal/reader_collect_inputs_params.rb', line 44

def initialize(choices: nil)
  @choices = choices
end

Instance Attribute Details

#choicesObject

List of choices for the ‘selection` input



42
43
44
# File 'lib/stripe/params/terminal/reader_collect_inputs_params.rb', line 42

def choices
  @choices
end