Class: Stripe::Terminal::Reader::Action::CollectInputs::Input::Toggle
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Terminal::Reader::Action::CollectInputs::Input::Toggle
- Defined in:
- lib/stripe/resources/terminal/reader.rb
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#default_value ⇒ Object
readonly
The toggle’s default value.
-
#description ⇒ Object
readonly
The toggle’s description text.
-
#title ⇒ Object
readonly
The toggle’s title text.
-
#value ⇒ Object
readonly
The toggle’s collected value.
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?, #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
#default_value ⇒ Object (readonly)
The toggle’s default value
142 143 144 |
# File 'lib/stripe/resources/terminal/reader.rb', line 142 def default_value @default_value end |
#description ⇒ Object (readonly)
The toggle’s description text
144 145 146 |
# File 'lib/stripe/resources/terminal/reader.rb', line 144 def description @description end |
#title ⇒ Object (readonly)
The toggle’s title text
146 147 148 |
# File 'lib/stripe/resources/terminal/reader.rb', line 146 def title @title end |
#value ⇒ Object (readonly)
The toggle’s collected value
148 149 150 |
# File 'lib/stripe/resources/terminal/reader.rb', line 148 def value @value end |
Class Method Details
.field_remappings ⇒ Object
154 155 156 |
# File 'lib/stripe/resources/terminal/reader.rb', line 154 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
150 151 152 |
# File 'lib/stripe/resources/terminal/reader.rb', line 150 def self.inner_class_types @inner_class_types = {} end |