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