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?, #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.
266 267 268 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 266 def description @description end |
#quantity ⇒ Object (readonly)
The quantity of the item.
268 269 270 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 268 def quantity @quantity end |
#total ⇒ Object (readonly)
The total for this line item in cents.
270 271 272 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 270 def total @total end |
#unit_cost ⇒ Object (readonly)
The unit cost of the item in cents.
272 273 274 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 272 def unit_cost @unit_cost end |
Class Method Details
.field_remappings ⇒ Object
278 279 280 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 278 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
274 275 276 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 274 def self.inner_class_types @inner_class_types = {} end |