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