Class: Stripe::Terminal::Reader::Action::SetReaderDisplay::Cart::LineItem
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Terminal::Reader::Action::SetReaderDisplay::Cart::LineItem
- Defined in:
- lib/stripe/resources/terminal/reader.rb
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#amount ⇒ Object
readonly
The amount of the line item.
-
#description ⇒ Object
readonly
Description of the line item.
-
#quantity ⇒ Object
readonly
The quantity of the line item.
Attributes inherited from StripeObject
Method Summary
Methods inherited from StripeObject
#==, #[], #[]=, 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
#amount ⇒ Object (readonly)
The amount of the line item. A positive integer in the [smallest currency unit](stripe.com/docs/currencies#zero-decimal).
82 83 84 |
# File 'lib/stripe/resources/terminal/reader.rb', line 82 def amount @amount end |
#description ⇒ Object (readonly)
Description of the line item.
84 85 86 |
# File 'lib/stripe/resources/terminal/reader.rb', line 84 def description @description end |
#quantity ⇒ Object (readonly)
The quantity of the line item.
86 87 88 |
# File 'lib/stripe/resources/terminal/reader.rb', line 86 def quantity @quantity end |