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