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, #_get_union_variant_class, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, field_encodings, #hash, #initialize, inner_class_union_variant_types, #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.
354 355 356 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 354 def description @description end |
#quantity ⇒ Object (readonly)
The quantity of the item.
356 357 358 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 356 def quantity @quantity end |
#total ⇒ Object (readonly)
The total for this line item in cents.
358 359 360 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 358 def total @total end |
#unit_cost ⇒ Object (readonly)
The unit cost of the item in cents.
360 361 362 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 360 def unit_cost @unit_cost end |
Class Method Details
.field_remappings ⇒ Object
366 367 368 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 366 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
362 363 364 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 362 def self.inner_class_types @inner_class_types = {} end |