Billcom v0.1.1 Billcom.InvoiceCredit View Source
Link to this section Summary
Functions
Billcom.InvoiceCredit.create/2
for bill.com api
Billcom.InvoiceCredit.delete/2
for bill.com api
Billcom.InvoiceCredit.list/2
for bill.com api
Billcom.InvoiceCredit.read/2
for bill.com api
Billcom.InvoiceCredit.undelete/2
for bill.com api
Billcom.InvoiceCredit.update/2
for bill.com api
Link to this section Functions
Specs
Billcom.InvoiceCredit.create/2
for bill.com api
Parameters:
- conn: a connection strucure (see
Billcom.login!/0
) - data: data object to send for the object
return:
success:
{:ok, data}
Returned data
from create for InvoiceCredit
failure:
{:error, val}
Where val
hold information about failure reason.
Specs
Billcom.InvoiceCredit.delete/2
for bill.com api
Parameters:
- conn: a connection strucure (see
Billcom.login!/0
) - data: data object to send for the object
return:
success:
{:ok, data}
Returned data
from delete for InvoiceCredit
failure:
{:error, val}
Where val
hold information about failure reason.
Specs
Billcom.InvoiceCredit.list/2
for bill.com api
Parameters:
- conn: a connection strucure (see
Billcom.login!/0
) - data: data object to send for the object
return:
success:
{:ok, data}
Where data
is a collection of InvoiceCredit object list
failure:
{:error, val}
Where val
hold information about failure reason.
Specs
Billcom.InvoiceCredit.read/2
for bill.com api
Parameters:
- conn: a connection strucure (see
Billcom.login!/0
) - data: data object to send for the object
return:
success:
{:ok, data}
Returned data
from read for InvoiceCredit
failure:
{:error, val}
Where val
hold information about failure reason.
Specs
Billcom.InvoiceCredit.undelete/2
for bill.com api
Parameters:
- conn: a connection strucure (see
Billcom.login!/0
) - data: data object to send for the object
return:
success:
{:ok, data}
Returned data
from undelete for InvoiceCredit
failure:
{:error, val}
Where val
hold information about failure reason.
Specs
Billcom.InvoiceCredit.update/2
for bill.com api
Parameters:
- conn: a connection strucure (see
Billcom.login!/0
) - data: data object to send for the object
return:
success:
{:ok, data}
Returned data
from update for InvoiceCredit
failure:
{:error, val}
Where val
hold information about failure reason.