QueryClient
class QueryClient extends AbstractClient
Constants
| PROFILE_ENV_NAME |
Profile environment name |
| DEFAULT_MAX_TOTAL_COUNT |
|
Methods
__construct(array $params = array())
Initializes the class with the given parameters.
from AbstractClient
int
getMaxTotalCount()
No description
setMaxTotalCount(int $maxTotalCount)
No description
executeQuery(ReadByQuery $query, int $maxTotalCount = self::DEFAULT_MAX_TOTAL_COUNT, array $params = array())
No description
Details
in AbstractClient at line line 71
__construct(array $params = array())
Initializes the class with the given parameters.
The constructor accepts the following options:
profile_name(string, default=string "default") Profile name to useprofile_file(string) Profile file to load fromsender_id(string) Intacct sender IDsender_password(string) Intacct sender passwordsession_id(string) Intacct session IDendpoint_url(string) Endpoint URLcompany_id(string) Intacct company IDuser_id(string) Intacct user IDuser_password(string) Intacct user passwordmax_retries(int, default=int(5)) Max number of retriesno_retry_server_error_codes(int[], default=array(524)) HTTP server error codes to abort retrying if one occursverify_ssl(bool, default=bool(true)) Verify SSL certificate of responselogger(Psr\Log\LoggerInterface)log_formatter(Intacct\Logging\MessageFormatter) Log formatterlog_level(int, default=int(400)) Log levelmock_handler(GuzzleHttp\Handler\MockHandler) Mock handler for unit tests
in AbstractClient at line line 139
string
generateRandomControlId()
Generate a version 4 (random) UUID