Class: Stripe::Charge::Level3::LineItem

Inherits:
StripeObject show all
Defined in:
lib/stripe/resources/charge.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

#discount_amountObject (readonly)

Attribute for field discount_amount



58
59
60
# File 'lib/stripe/resources/charge.rb', line 58

def discount_amount
  @discount_amount
end

#product_codeObject (readonly)

Attribute for field product_code



60
61
62
# File 'lib/stripe/resources/charge.rb', line 60

def product_code
  @product_code
end

#product_descriptionObject (readonly)

Attribute for field product_description



62
63
64
# File 'lib/stripe/resources/charge.rb', line 62

def product_description
  @product_description
end

#quantityObject (readonly)

Attribute for field quantity



64
65
66
# File 'lib/stripe/resources/charge.rb', line 64

def quantity
  @quantity
end

#tax_amountObject (readonly)

Attribute for field tax_amount



66
67
68
# File 'lib/stripe/resources/charge.rb', line 66

def tax_amount
  @tax_amount
end

#unit_costObject (readonly)

Attribute for field unit_cost



68
69
70
# File 'lib/stripe/resources/charge.rb', line 68

def unit_cost
  @unit_cost
end