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