Class: Stripe::Terminal::Reader::Action::CollectInputs::Input::Selection::Choice
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Terminal::Reader::Action::CollectInputs::Input::Selection::Choice
- Defined in:
- lib/stripe/resources/terminal/reader.rb
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
The identifier for the selected choice.
-
#style ⇒ Object
readonly
The button style for the choice.
-
#text ⇒ Object
readonly
The text to be selected.
Attributes inherited from StripeObject
Class Method Summary collapse
Methods inherited from StripeObject
#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, field_encodings, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Attribute Details
#id ⇒ Object (readonly)
The identifier for the selected choice. Maximum 50 characters.
161 162 163 |
# File 'lib/stripe/resources/terminal/reader.rb', line 161 def id @id end |
#style ⇒ Object (readonly)
The button style for the choice. Can be ‘primary` or `secondary`.
163 164 165 |
# File 'lib/stripe/resources/terminal/reader.rb', line 163 def style @style end |
#text ⇒ Object (readonly)
The text to be selected. Maximum 30 characters.
165 166 167 |
# File 'lib/stripe/resources/terminal/reader.rb', line 165 def text @text end |
Class Method Details
.field_remappings ⇒ Object
171 172 173 |
# File 'lib/stripe/resources/terminal/reader.rb', line 171 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
167 168 169 |
# File 'lib/stripe/resources/terminal/reader.rb', line 167 def self.inner_class_types @inner_class_types = {} end |