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



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

def discount_amount
  @discount_amount
end

#product_codeObject (readonly)

Attribute for field product_code



70
71
72
# File 'lib/stripe/resources/charge.rb', line 70

def product_code
  @product_code
end

#product_descriptionObject (readonly)

Attribute for field product_description



73
74
75
# File 'lib/stripe/resources/charge.rb', line 73

def product_description
  @product_description
end

#quantityObject (readonly)

Attribute for field quantity



76
77
78
# File 'lib/stripe/resources/charge.rb', line 76

def quantity
  @quantity
end

#tax_amountObject (readonly)

Attribute for field tax_amount



79
80
81
# File 'lib/stripe/resources/charge.rb', line 79

def tax_amount
  @tax_amount
end

#unit_costObject (readonly)

Attribute for field unit_cost



82
83
84
# File 'lib/stripe/resources/charge.rb', line 82

def unit_cost
  @unit_cost
end