\Linusx\Empyr\ControllersEmpyrBillingAccounts

Class EmpyrBillingAccounts.

Summary

Methods
Properties
Constants
__construct()
billingAccount()
search()
links()
add()
link()
update()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(array  $data = array()) 

Create new Empyr Billing Account.

Parameters

array $data

Data to set field with.

Throws

\GuzzleHttp\Exception\GuzzleException
\Linusx\Empyr\Exceptions\EmpyrMissingRequiredFields

billingAccount()

billingAccount(integer  $id) : boolean|mixed

Allows lookup up of an individual account by id.

Parameters

integer $id

Billing Account ID to get

Throws

\GuzzleHttp\Exception\GuzzleException

Returns

boolean|mixed

search()

search(array  $options = array()) : boolean|mixed

Allows the searching or listing of accounts.

Parameters

array $options

Throws

\GuzzleHttp\Exception\GuzzleException

Returns

boolean|mixed

links()

links(array  $options = array()) : boolean|mixed

Shows the business links for this account.

Parameters

array $options

Throws

\GuzzleHttp\Exception\GuzzleException
\Linusx\Empyr\Exceptions\EmpyrMissingRequiredFields

Returns

boolean|mixed

add()

add(array  $options = array()) : boolean|mixed

Allows the adding of accounts.

Parameters

array $options

Throws

\GuzzleHttp\Exception\GuzzleException
\Linusx\Empyr\Exceptions\EmpyrMissingRequiredFields

Returns

boolean|mixed

link()

link(array  $options = array()) : boolean|mixed

Allows the linking of accounts with businesses.

Parameters

array $options

Throws

\GuzzleHttp\Exception\GuzzleException
\Linusx\Empyr\Exceptions\EmpyrMissingRequiredFields

Returns

boolean|mixed

update()

update(array  $options = array()) : boolean|mixed

Allows the updating of accounts.

Parameters

array $options

Throws

\GuzzleHttp\Exception\GuzzleException
\Linusx\Empyr\Exceptions\EmpyrMissingRequiredFields

Returns

boolean|mixed