Class: Stripe::Issuing::Transaction::PurchaseDetails::Receipt

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/issuing/transaction.rb

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

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

#descriptionObject (readonly)

The description of the item. The maximum length of this field is 26 characters.



159
160
161
# File 'lib/stripe/resources/issuing/transaction.rb', line 159

def description
  @description
end

#quantityObject (readonly)

The quantity of the item.



161
162
163
# File 'lib/stripe/resources/issuing/transaction.rb', line 161

def quantity
  @quantity
end

#totalObject (readonly)

The total for this line item in cents.



163
164
165
# File 'lib/stripe/resources/issuing/transaction.rb', line 163

def total
  @total
end

#unit_costObject (readonly)

The unit cost of the item in cents.



165
166
167
# File 'lib/stripe/resources/issuing/transaction.rb', line 165

def unit_cost
  @unit_cost
end