Class: Stripe::Terminal::ReaderCollectInputsParams::Input::CustomText
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Terminal::ReaderCollectInputsParams::Input::CustomText
- Defined in:
- lib/stripe/params/terminal/reader_collect_inputs_params.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
The description which will be displayed when collecting this input.
-
#skip_button ⇒ Object
Custom text for the skip button.
-
#submit_button ⇒ Object
Custom text for the submit button.
-
#title ⇒ Object
The title which will be displayed when collecting this input.
Instance Method Summary collapse
-
#initialize(description: nil, skip_button: nil, submit_button: nil, title: nil) ⇒ CustomText
constructor
A new instance of CustomText.
Methods inherited from RequestParams
Constructor Details
#initialize(description: nil, skip_button: nil, submit_button: nil, title: nil) ⇒ CustomText
Returns a new instance of CustomText.
18 19 20 21 22 23 |
# File 'lib/stripe/params/terminal/reader_collect_inputs_params.rb', line 18 def initialize(description: nil, skip_button: nil, submit_button: nil, title: nil) @description = description = = @title = title end |
Instance Attribute Details
#description ⇒ Object
The description which will be displayed when collecting this input
10 11 12 |
# File 'lib/stripe/params/terminal/reader_collect_inputs_params.rb', line 10 def description @description end |
#skip_button ⇒ Object
Custom text for the skip button. Maximum 14 characters.
12 13 14 |
# File 'lib/stripe/params/terminal/reader_collect_inputs_params.rb', line 12 def end |
#submit_button ⇒ Object
Custom text for the submit button. Maximum 30 characters.
14 15 16 |
# File 'lib/stripe/params/terminal/reader_collect_inputs_params.rb', line 14 def end |
#title ⇒ Object
The title which will be displayed when collecting this input
16 17 18 |
# File 'lib/stripe/params/terminal/reader_collect_inputs_params.rb', line 16 def title @title end |