Class: Stripe::Issuing::Transaction::PurchaseDetails::Receipt
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Issuing::Transaction::PurchaseDetails::Receipt
- Defined in:
- lib/stripe/resources/issuing/transaction.rb
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
The description of the item.
-
#quantity ⇒ Object
readonly
The quantity of the item.
-
#total ⇒ Object
readonly
The total for this line item in cents.
-
#unit_cost ⇒ Object
readonly
The unit cost of the item in cents.
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
#description ⇒ Object (readonly)
The description of the item. The maximum length of this field is 26 characters.
196 197 198 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 196 def description @description end |
#quantity ⇒ Object (readonly)
The quantity of the item.
199 200 201 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 199 def quantity @quantity end |
#total ⇒ Object (readonly)
The total for this line item in cents.
202 203 204 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 202 def total @total end |
#unit_cost ⇒ Object (readonly)
The unit cost of the item in cents.
205 206 207 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 205 def unit_cost @unit_cost end |