Class: Stripe::Terminal::ReaderService::CollectInputsParams::Input::Selection

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/terminal/reader_service.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.



146
147
148
# File 'lib/stripe/services/terminal/reader_service.rb', line 146

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

Instance Attribute Details

#choicesObject

List of choices for the ‘selection` input



144
145
146
# File 'lib/stripe/services/terminal/reader_service.rb', line 144

def choices
  @choices
end