Class: Stripe::Charge::Level3::LineItem
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Charge::Level3::LineItem
- Defined in:
- lib/stripe/resources/charge.rb
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#discount_amount ⇒ Object
readonly
Attribute for field discount_amount.
-
#product_code ⇒ Object
readonly
Attribute for field product_code.
-
#product_description ⇒ Object
readonly
Attribute for field product_description.
-
#quantity ⇒ Object
readonly
Attribute for field quantity.
-
#tax_amount ⇒ Object
readonly
Attribute for field tax_amount.
-
#unit_cost ⇒ Object
readonly
Attribute for field unit_cost.
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
#discount_amount ⇒ Object (readonly)
Attribute for field discount_amount
58 59 60 |
# File 'lib/stripe/resources/charge.rb', line 58 def discount_amount @discount_amount end |
#product_code ⇒ Object (readonly)
Attribute for field product_code
60 61 62 |
# File 'lib/stripe/resources/charge.rb', line 60 def product_code @product_code end |
#product_description ⇒ Object (readonly)
Attribute for field product_description
62 63 64 |
# File 'lib/stripe/resources/charge.rb', line 62 def product_description @product_description end |
#quantity ⇒ Object (readonly)
Attribute for field quantity
64 65 66 |
# File 'lib/stripe/resources/charge.rb', line 64 def quantity @quantity end |
#tax_amount ⇒ Object (readonly)
Attribute for field tax_amount
66 67 68 |
# File 'lib/stripe/resources/charge.rb', line 66 def tax_amount @tax_amount end |
#unit_cost ⇒ Object (readonly)
Attribute for field unit_cost
68 69 70 |
# File 'lib/stripe/resources/charge.rb', line 68 def unit_cost @unit_cost end |