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