Billcom v0.1.0 Billcom.Vendor View Source

Link to this section Summary

Functions

Vendor.create for bill.com api

Vendor.delete for bill.com api

Vendor.read for bill.com api

Vendor.undelete for bill.com api

Vendor.update for bill.com api

Link to this section Functions

Link to this function

create(connection, data)

View Source

Specs

create(map(), map()) :: any()

Vendor.create for bill.com api

Parameters:

conn - a connection strucure (see Billcom.login/0) data - data object to send for the object

return:

success - {:ok, val} fail - {:error, val}

Link to this function

delete(connection, data)

View Source

Specs

delete(map(), map()) :: any()

Vendor.delete for bill.com api

Parameters:

conn - a connection strucure (see Billcom.login/0) data - data object to send for the object

return:

success - {:ok, val} fail - {:error, val}

Specs

read(map(), map()) :: any()

Vendor.read for bill.com api

Parameters:

conn - a connection strucure (see Billcom.login/0) data - data object to send for the object

return:

success - {:ok, val} fail - {:error, val}

Link to this function

undelete(connection, data)

View Source

Specs

undelete(map(), map()) :: any()

Vendor.undelete for bill.com api

Parameters:

conn - a connection strucure (see Billcom.login/0) data - data object to send for the object

return:

success - {:ok, val} fail - {:error, val}

Link to this function

update(connection, data)

View Source

Specs

update(map(), map()) :: any()

Vendor.update for bill.com api

Parameters:

conn - a connection strucure (see Billcom.login/0) data - data object to send for the object

return:

success - {:ok, val} fail - {:error, val}