Methods Summary | ||
---|---|---|
public
|
||
public
|
||
public
|
#
setHttpClient( Http\Client\HttpClient $client )
Set the Http Client used for API requests
This allows the default http client to be swapped out for a HTTPlug compatible
replacement.
|
|
public
|
||
public
|
||
public
|
||
protected
|
||
public
|
||
public
|
Constants Summary | ||
---|---|---|
public
string
|
BASE_URL
API base URL
|
#
'https://accounting.erply.com/api'
|
Properties Summary | ||
---|---|---|
protected
string
|
$token
API token
|
#
NULL
|
protected
Http\Client\HttpClient
|
$httpClient
Http Client
|
#
NULL
|
protected
array
|
$query
Additional query params
|
#
array (
)
|