Module: Uomi::Invoiceable

Defined in:
lib/uomi/invoiceable.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



6
7
8
# File 'lib/uomi/invoiceable.rb', line 6

def amount
  @amount
end

#invoice_idObject

Returns the value of attribute invoice_id.



6
7
8
# File 'lib/uomi/invoiceable.rb', line 6

def invoice_id
  @invoice_id
end

#invoicedObject

Returns the value of attribute invoiced.



6
7
8
# File 'lib/uomi/invoiceable.rb', line 6

def invoiced
  @invoiced
end

#line_item_type_idObject

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

#taxObject

Returns the value of attribute tax.



6
7
8
# File 'lib/uomi/invoiceable.rb', line 6

def tax
  @tax
end

Instance Method Details

#descriptionObject



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_uninvoicedObject



18
19
# File 'lib/uomi/invoiceable.rb', line 18

def mark_uninvoiced
end