Class: BillysBilling::Line

Inherits:
Base
  • Object
show all
Defined in:
lib/billys_billing/line.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#attrs

Method Summary

Methods inherited from Base

#[], #initialize, lazy_attr_reader

Methods included from Association

#has_many, #has_one

Constructor Details

This class inherits a constructor from BillysBilling::Base

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



3
4
5
# File 'lib/billys_billing/line.rb', line 3

def amount
  @amount
end

#descriptionObject

Returns the value of attribute description.



3
4
5
# File 'lib/billys_billing/line.rb', line 3

def description
  @description
end

#discount_modeObject

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_textObject

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_valueObject

Returns the value of attribute discount_value.



3
4
5
# File 'lib/billys_billing/line.rb', line 3

def discount_value
  @discount_value
end

#idObject

Returns the value of attribute id.



3
4
5
# File 'lib/billys_billing/line.rb', line 3

def id
  @id
end

#quantityObject

Returns the value of attribute quantity.



3
4
5
# File 'lib/billys_billing/line.rb', line 3

def quantity
  @quantity
end

#unit_priceObject

Returns the value of attribute unit_price.



3
4
5
# File 'lib/billys_billing/line.rb', line 3

def unit_price
  @unit_price
end

#vatObject

Returns the value of attribute vat.



3
4
5
# File 'lib/billys_billing/line.rb', line 3

def vat
  @vat
end

#vat_modelObject

Returns the value of attribute vat_model.



3
4
5
# File 'lib/billys_billing/line.rb', line 3

def vat_model
  @vat_model
end