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