Class: BillysBilling::Line
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#description ⇒ Object
Returns the value of attribute description.
-
#discount_mode ⇒ Object
Returns the value of attribute discount_mode.
-
#discount_text ⇒ Object
Returns the value of attribute discount_text.
-
#discount_value ⇒ Object
Returns the value of attribute discount_value.
-
#id ⇒ Object
Returns the value of attribute id.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#unit_price ⇒ Object
Returns the value of attribute unit_price.
-
#vat ⇒ Object
Returns the value of attribute vat.
-
#vat_model ⇒ Object
Returns the value of attribute vat_model.
Attributes inherited from Base
Method Summary
Methods inherited from Base
#[], #initialize, lazy_attr_reader
Methods included from Association
Constructor Details
This class inherits a constructor from BillysBilling::Base
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
3 4 5 |
# File 'lib/billys_billing/line.rb', line 3 def amount @amount end |
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/billys_billing/line.rb', line 3 def description @description end |
#discount_mode ⇒ Object
Returns the value of attribute discount_mode.
3 4 5 |
# File 'lib/billys_billing/line.rb', line 3 def discount_mode @discount_mode end |
#discount_text ⇒ Object
Returns the value of attribute discount_text.
3 4 5 |
# File 'lib/billys_billing/line.rb', line 3 def discount_text @discount_text end |
#discount_value ⇒ Object
Returns the value of attribute discount_value.
3 4 5 |
# File 'lib/billys_billing/line.rb', line 3 def discount_value @discount_value end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/billys_billing/line.rb', line 3 def id @id end |
#quantity ⇒ Object
Returns the value of attribute quantity.
3 4 5 |
# File 'lib/billys_billing/line.rb', line 3 def quantity @quantity end |
#unit_price ⇒ Object
Returns the value of attribute unit_price.
3 4 5 |
# File 'lib/billys_billing/line.rb', line 3 def unit_price @unit_price end |
#vat ⇒ Object
Returns the value of attribute vat.
3 4 5 |
# File 'lib/billys_billing/line.rb', line 3 def vat @vat end |
#vat_model ⇒ Object
Returns the value of attribute vat_model.
3 4 5 |
# File 'lib/billys_billing/line.rb', line 3 def vat_model @vat_model end |