Billcom v0.1.0 Billcom.Department View Source

Link to this section Summary

Functions

Department.create for bill.com api

Department.delete for bill.com api

Department.read for bill.com api

Department.undelete for bill.com api

Department.update for bill.com api

Link to this section Functions

Link to this function

create(connection, data)

View Source

Specs

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

Department.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()

Department.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()

Department.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()

Department.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()

Department.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}