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
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?, field_encodings, #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.
321 322 323 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 321 def description @description end |
#quantity ⇒ Object (readonly)
The quantity of the item.
323 324 325 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 323 def quantity @quantity end |
#total ⇒ Object (readonly)
The total for this line item in cents.
325 326 327 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 325 def total @total end |
#unit_cost ⇒ Object (readonly)
The unit cost of the item in cents.
327 328 329 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 327 def unit_cost @unit_cost end |
Class Method Details
.field_remappings ⇒ Object
333 334 335 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 333 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
329 330 331 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 329 def self.inner_class_types @inner_class_types = {} end |