Пример #1
0
 /**
  * Initializes the class with the given parameters.
  *
  * The constructor accepts the following options:
  *
  * - `profile_name` (string, default=string "default") Profile name to use
  * - `profile_file` (string) Profile file to load from
  * - `sender_id` (string) Intacct sender ID
  * - `sender_password` (string) Intacct sender password
  * - `session_id` (string) Intacct session ID
  * - `endpoint_url` (string) Endpoint URL
  * - `company_id` (string) Intacct company ID
  * - `user_id` (string) Intacct user ID
  * - `user_password` (string) Intacct user password
  * - `max_retries` (int, default=int(5)) Max number of retries
  * - `no_retry_server_error_codes` (int[], default=array(524)) HTTP server error codes to abort
  * retrying if one occurs
  * - `verify_ssl` (bool, default=bool(true)) Verify SSL certificate of response
  * - `logger` (Psr\Log\LoggerInterface)
  * - `log_formatter` (Intacct\Logging\MessageFormatter) Log formatter
  * - `log_level` (int, default=int(400)) Log level
  * - `mock_handler` (GuzzleHttp\Handler\MockHandler) Mock handler for unit tests
  *
  * @param array $params Client configuration options
  */
 public function __construct(array $params = [])
 {
     parent::__construct($params);
 }