module FlowAccount::Client::Invoice
Public Instance Methods
create_invoice(params)
click to toggle source
# File lib/flow_account/client/invoice.rb, line 5 def create_invoice(params) post('billing-notes', params) end
invoice(id)
click to toggle source
# File lib/flow_account/client/invoice.rb, line 13 def invoice(id) get("billing-notes/#{id}") end
invoice_link(id, lang=:en)
click to toggle source
# File lib/flow_account/client/invoice.rb, line 21 def invoice_link(id, lang=:en) get("billing-notes/#{id}/#{lang}/share-link") end
invoices(offset=0, limit=10)
click to toggle source
# File lib/flow_account/client/invoice.rb, line 17 def invoices(offset=0, limit=10) get("billing-notes", {offset: offset, limit: limit}) end
update_invoice(id, params)
click to toggle source
# File lib/flow_account/client/invoice.rb, line 9 def update_invoice(id, params) put("billing-notes/#{id}", params) end