Class: ChargeBee::Estimate::LineItem

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

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

construct, #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/estimate.rb', line 5

def amount
  @amount
end

#date_fromObject

Returns the value of attribute date_from.



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

def date_from
  @date_from
end

#date_toObject

Returns the value of attribute date_to.



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

def date_to
  @date_to
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#entity_idObject

Returns the value of attribute entity_id.



5
6
7
# File 'lib/chargebee/models/estimate.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/estimate.rb', line 5

def entity_type
  @entity_type
end

#quantityObject

Returns the value of attribute quantity.



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

def quantity
  @quantity
end

#taxObject

Returns the value of attribute tax.



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

def tax
  @tax
end

#tax_rateObject

Returns the value of attribute tax_rate.



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

def tax_rate
  @tax_rate
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end

#unit_amountObject

Returns the value of attribute unit_amount.



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

def unit_amount
  @unit_amount
end