Module: Uomi::Invoiceable
- Defined in:
- lib/uomi/invoiceable.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#invoice_id ⇒ Object
Returns the value of attribute invoice_id.
-
#invoiced ⇒ Object
Returns the value of attribute invoiced.
-
#line_item_type_id ⇒ Object
Returns the value of attribute line_item_type_id.
-
#tax ⇒ Object
Returns the value of attribute tax.
Instance Method Summary collapse
- #description ⇒ Object
- #handle_credit(amount) ⇒ Object
- #mark_invoiced(invoice) ⇒ Object
- #mark_uninvoiced ⇒ Object
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
6 7 8 |
# File 'lib/uomi/invoiceable.rb', line 6 def amount @amount end |
#invoice_id ⇒ Object
Returns the value of attribute invoice_id.
6 7 8 |
# File 'lib/uomi/invoiceable.rb', line 6 def invoice_id @invoice_id end |
#invoiced ⇒ Object
Returns the value of attribute invoiced.
6 7 8 |
# File 'lib/uomi/invoiceable.rb', line 6 def invoiced @invoiced end |
#line_item_type_id ⇒ Object
Returns the value of attribute line_item_type_id.
6 7 8 |
# File 'lib/uomi/invoiceable.rb', line 6 def line_item_type_id @line_item_type_id end |
#tax ⇒ Object
Returns the value of attribute tax.
6 7 8 |
# File 'lib/uomi/invoiceable.rb', line 6 def tax @tax end |
Instance Method Details
#description ⇒ Object
8 9 10 |
# File 'lib/uomi/invoiceable.rb', line 8 def description "Invoiceable Item" end |
#handle_credit(amount) ⇒ Object
12 13 |
# File 'lib/uomi/invoiceable.rb', line 12 def handle_credit(amount) end |
#mark_invoiced(invoice) ⇒ Object
15 16 |
# File 'lib/uomi/invoiceable.rb', line 15 def mark_invoiced(invoice) end |
#mark_uninvoiced ⇒ Object
18 19 |
# File 'lib/uomi/invoiceable.rb', line 18 def mark_uninvoiced end |