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)

Returns the value of attribute discount_amount.



36
37
38
# File 'lib/stripe/resources/charge.rb', line 36

def discount_amount
  @discount_amount
end

#product_codeObject (readonly)

Returns the value of attribute product_code.



36
37
38
# File 'lib/stripe/resources/charge.rb', line 36

def product_code
  @product_code
end

#product_descriptionObject (readonly)

Returns the value of attribute product_description.



36
37
38
# File 'lib/stripe/resources/charge.rb', line 36

def product_description
  @product_description
end

#quantityObject (readonly)

Returns the value of attribute quantity.



36
37
38
# File 'lib/stripe/resources/charge.rb', line 36

def quantity
  @quantity
end

#tax_amountObject (readonly)

Returns the value of attribute tax_amount.



36
37
38
# File 'lib/stripe/resources/charge.rb', line 36

def tax_amount
  @tax_amount
end

#unit_costObject (readonly)

Returns the value of attribute unit_cost.



36
37
38
# File 'lib/stripe/resources/charge.rb', line 36

def unit_cost
  @unit_cost
end