Class: Stripe::Terminal::Reader::Action::CollectInputs::Input::Toggle

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/terminal/reader.rb

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

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_valueObject (readonly)

The toggle’s default value



142
143
144
# File 'lib/stripe/resources/terminal/reader.rb', line 142

def default_value
  @default_value
end

#descriptionObject (readonly)

The toggle’s description text



144
145
146
# File 'lib/stripe/resources/terminal/reader.rb', line 144

def description
  @description
end

#titleObject (readonly)

The toggle’s title text



146
147
148
# File 'lib/stripe/resources/terminal/reader.rb', line 146

def title
  @title
end

#valueObject (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_remappingsObject



154
155
156
# File 'lib/stripe/resources/terminal/reader.rb', line 154

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



150
151
152
# File 'lib/stripe/resources/terminal/reader.rb', line 150

def self.inner_class_types
  @inner_class_types = {}
end