Class: ChargeBee::Order::OrderLineItem

Inherits:
Model
  • Object
show all
Defined in:
lib/chargebee/models/order.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

construct, #init_dependant, #init_dependant_list, #initialize, #inspect, #load, #method_missing, #to_s, uri_path

Constructor Details

This class inherits a constructor from ChargeBee::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ChargeBee::Model

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



5
6
7
# File 'lib/chargebee/models/order.rb', line 5

def amount
  @amount
end

#amount_adjustedObject

Returns the value of attribute amount_adjusted.



5
6
7
# File 'lib/chargebee/models/order.rb', line 5

def amount_adjusted
  @amount_adjusted
end

#amount_paidObject

Returns the value of attribute amount_paid.



5
6
7
# File 'lib/chargebee/models/order.rb', line 5

def amount_paid
  @amount_paid
end

#descriptionObject

Returns the value of attribute description.



5
6
7
# File 'lib/chargebee/models/order.rb', line 5

def description
  @description
end

#discount_amountObject

Returns the value of attribute discount_amount.



5
6
7
# File 'lib/chargebee/models/order.rb', line 5

def discount_amount
  @discount_amount
end

#entity_idObject

Returns the value of attribute entity_id.



5
6
7
# File 'lib/chargebee/models/order.rb', line 5

def entity_id
  @entity_id
end

#entity_typeObject

Returns the value of attribute entity_type.



5
6
7
# File 'lib/chargebee/models/order.rb', line 5

def entity_type
  @entity_type
end

#fulfillment_amountObject

Returns the value of attribute fulfillment_amount.



5
6
7
# File 'lib/chargebee/models/order.rb', line 5

def fulfillment_amount
  @fulfillment_amount
end

#fulfillment_quantityObject

Returns the value of attribute fulfillment_quantity.



5
6
7
# File 'lib/chargebee/models/order.rb', line 5

def fulfillment_quantity
  @fulfillment_quantity
end

#idObject

Returns the value of attribute id.



5
6
7
# File 'lib/chargebee/models/order.rb', line 5

def id
  @id
end

#invoice_idObject

Returns the value of attribute invoice_id.



5
6
7
# File 'lib/chargebee/models/order.rb', line 5

def invoice_id
  @invoice_id
end

#invoice_line_item_idObject

Returns the value of attribute invoice_line_item_id.



5
6
7
# File 'lib/chargebee/models/order.rb', line 5

def invoice_line_item_id
  @invoice_line_item_id
end

#is_shippableObject

Returns the value of attribute is_shippable.



5
6
7
# File 'lib/chargebee/models/order.rb', line 5

def is_shippable
  @is_shippable
end

#item_level_discount_amountObject

Returns the value of attribute item_level_discount_amount.



5
6
7
# File 'lib/chargebee/models/order.rb', line 5

def item_level_discount_amount
  @item_level_discount_amount
end

#refundable_creditsObject

Returns the value of attribute refundable_credits.



5
6
7
# File 'lib/chargebee/models/order.rb', line 5

def refundable_credits
  @refundable_credits
end

#refundable_credits_issuedObject

Returns the value of attribute refundable_credits_issued.



5
6
7
# File 'lib/chargebee/models/order.rb', line 5

def refundable_credits_issued
  @refundable_credits_issued
end

#skuObject

Returns the value of attribute sku.



5
6
7
# File 'lib/chargebee/models/order.rb', line 5

def sku
  @sku
end

#statusObject

Returns the value of attribute status.



5
6
7
# File 'lib/chargebee/models/order.rb', line 5

def status
  @status
end

#tax_amountObject

Returns the value of attribute tax_amount.



5
6
7
# File 'lib/chargebee/models/order.rb', line 5

def tax_amount
  @tax_amount
end

#unit_priceObject

Returns the value of attribute unit_price.



5
6
7
# File 'lib/chargebee/models/order.rb', line 5

def unit_price
  @unit_price
end