Billcom v0.1.1 Billcom.ChartOfAccount View Source
Link to this section Summary
Functions
Billcom.ChartOfAccount.create/2
for bill.com api
Billcom.ChartOfAccount.delete/2
for bill.com api
Billcom.ChartOfAccount.list/2
for bill.com api
Billcom.ChartOfAccount.read/2
for bill.com api
Billcom.ChartOfAccount.undelete/2
for bill.com api
Billcom.ChartOfAccount.update/2
for bill.com api
Link to this section Functions
Specs
Billcom.ChartOfAccount.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 ChartOfAccount
failure:
{:error, val}
Where val
hold information about failure reason.
Specs
Billcom.ChartOfAccount.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 ChartOfAccount
failure:
{:error, val}
Where val
hold information about failure reason.
Specs
Billcom.ChartOfAccount.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 ChartOfAccount object list
failure:
{:error, val}
Where val
hold information about failure reason.
Specs
Billcom.ChartOfAccount.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 ChartOfAccount
failure:
{:error, val}
Where val
hold information about failure reason.
Specs
Billcom.ChartOfAccount.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 ChartOfAccount
failure:
{:error, val}
Where val
hold information about failure reason.
Specs
Billcom.ChartOfAccount.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 ChartOfAccount
failure:
{:error, val}
Where val
hold information about failure reason.