Class: Stripe::Terminal::ReaderCollectInputsParams::Input::CustomText

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

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
  @skip_button = skip_button
  @submit_button = submit_button
  @title = title
end

Instance Attribute Details

#descriptionObject

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_buttonObject

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 skip_button
  @skip_button
end

#submit_buttonObject

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 submit_button
  @submit_button
end

#titleObject

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