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.



161
162
163
# File 'lib/stripe/services/terminal/reader_service.rb', line 161

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

Instance Attribute Details

#choicesObject

List of choices for the ‘selection` input



159
160
161
# File 'lib/stripe/services/terminal/reader_service.rb', line 159

def choices
  @choices
end