Class: Stripe::Terminal::ReaderCollectInputsParams::Input::Selection::Choice
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Terminal::ReaderCollectInputsParams::Input::Selection::Choice
- Defined in:
- lib/stripe/params/terminal/reader_collect_inputs_params.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
The unique identifier for this choice.
-
#style ⇒ Object
The style of the button which will be shown for this choice.
-
#text ⇒ Object
The text which will be shown on the button for this choice.
Instance Method Summary collapse
-
#initialize(id: nil, style: nil, text: nil) ⇒ Choice
constructor
A new instance of Choice.
Methods inherited from RequestParams
Constructor Details
#initialize(id: nil, style: nil, text: nil) ⇒ Choice
Returns a new instance of Choice.
35 36 37 38 39 |
# File 'lib/stripe/params/terminal/reader_collect_inputs_params.rb', line 35 def initialize(id: nil, style: nil, text: nil) @id = id @style = style @text = text end |
Instance Attribute Details
#id ⇒ Object
The unique identifier for this choice
29 30 31 |
# File 'lib/stripe/params/terminal/reader_collect_inputs_params.rb', line 29 def id @id end |
#style ⇒ Object
The style of the button which will be shown for this choice
31 32 33 |
# File 'lib/stripe/params/terminal/reader_collect_inputs_params.rb', line 31 def style @style end |
#text ⇒ Object
The text which will be shown on the button for this choice
33 34 35 |
# File 'lib/stripe/params/terminal/reader_collect_inputs_params.rb', line 33 def text @text end |