diff --git a/composer.json b/composer.json index aad1734..7303063 100644 --- a/composer.json +++ b/composer.json @@ -14,6 +14,9 @@ "php": ">=5.3.0", "ext-curl": "*" }, + "require-dev" : { + "evert/phpdoc-md": "~0.0.7" + }, "support": { "email": "support@intarocrm.ru" }, diff --git a/docs/ApiIndex.md b/docs/ApiIndex.md new file mode 100644 index 0000000..37c82b3 --- /dev/null +++ b/docs/ApiIndex.md @@ -0,0 +1,13 @@ +API Index +========= + +* RetailCrm + * [ApiClient](RetailCrm-ApiClient.md) + * RetailCrm\Exception + * [CurlException](RetailCrm-Exception-CurlException.md) + * [InvalidJsonException](RetailCrm-Exception-InvalidJsonException.md) + * RetailCrm\Http + * [Client](RetailCrm-Http-Client.md) + * RetailCrm\Response + * [ApiResponse](RetailCrm-Response-ApiResponse.md) + diff --git a/docs/RetailCrm-ApiClient.md b/docs/RetailCrm-ApiClient.md new file mode 100644 index 0000000..7094ddd --- /dev/null +++ b/docs/RetailCrm-ApiClient.md @@ -0,0 +1,329 @@ +RetailCrm\ApiClient +=============== + +retailCRM API client class + + + + +* Class name: ApiClient +* Namespace: RetailCrm + + + +Constants +---------- + + +### VERSION + +``` +const VERSION = 'v3' +``` + + + + + +Properties +---------- + + +### $client + +``` +protected mixed $client +``` + + + + + +* Visibility: **protected** + + +Methods +------- + + +### \RetailCrm\ApiClient::__construct() + +``` +void RetailCrm\ApiClient::\RetailCrm\ApiClient::__construct()(string $url, string $apiKey) +``` + +Client creating + + + +* Visibility: **public** + +#### Arguments + +* $url **string** +* $apiKey **string** + + + +### \RetailCrm\ApiClient::ordersCreate() + +``` +\RetailCrm\Response\ApiResponse RetailCrm\ApiClient::\RetailCrm\ApiClient::ordersCreate()(array $order) +``` + +Create a order + + + +* Visibility: **public** + +#### Arguments + +* $order **array** + + + +### \RetailCrm\ApiClient::ordersEdit() + +``` +\RetailCrm\Response\ApiResponse RetailCrm\ApiClient::\RetailCrm\ApiClient::ordersEdit()(array $order, $by) +``` + +Edit a order + + + +* Visibility: **public** + +#### Arguments + +* $order **array** +* $by **mixed** + + + +### \RetailCrm\ApiClient::ordersUpload() + +``` +\RetailCrm\Response\ApiResponse RetailCrm\ApiClient::\RetailCrm\ApiClient::ordersUpload()(array $orders) +``` + +Upload array of the orders + + + +* Visibility: **public** + +#### Arguments + +* $orders **array** + + + +### \RetailCrm\ApiClient::ordersGet() + +``` +\RetailCrm\Response\ApiResponse RetailCrm\ApiClient::\RetailCrm\ApiClient::ordersGet()(string $id, string $by) +``` + +Get order by id or externalId + + + +* Visibility: **public** + +#### Arguments + +* $id **string** +* $by **string** - <p>(default: 'externalId')</p> + + + +### \RetailCrm\ApiClient::ordersHistory() + +``` +\RetailCrm\Response\ApiResponse RetailCrm\ApiClient::\RetailCrm\ApiClient::ordersHistory()(\DateTime $startDate, \DateTime $endDate, integer $limit, integer $offset) +``` + +Returns a orders history + + + +* Visibility: **public** + +#### Arguments + +* $startDate **DateTime** - <p>(default: null)</p> +* $endDate **DateTime** - <p>(default: null)</p> +* $limit **integer** - <p>(default: 100)</p> +* $offset **integer** - <p>(default: 0)</p> + + + +### \RetailCrm\ApiClient::ordersList() + +``` +\RetailCrm\Response\ApiResponse RetailCrm\ApiClient::\RetailCrm\ApiClient::ordersList()(array $filter, integer $page, integer $limit) +``` + +Returns filtered orders list + + + +* Visibility: **public** + +#### Arguments + +* $filter **array** - <p>(default: array())</p> +* $page **integer** - <p>(default: null)</p> +* $limit **integer** - <p>(default: null)</p> + + + +### \RetailCrm\ApiClient::ordersFixExternalIds() + +``` +\RetailCrm\Response\ApiResponse RetailCrm\ApiClient::\RetailCrm\ApiClient::ordersFixExternalIds()(array $ids) +``` + +Save order IDs' (id and externalId) association in the CRM + + + +* Visibility: **public** + +#### Arguments + +* $ids **array** + + + +### \RetailCrm\ApiClient::customersCreate() + +``` +\RetailCrm\Response\ApiResponse RetailCrm\ApiClient::\RetailCrm\ApiClient::customersCreate()(array $customer) +``` + +Create a customer + + + +* Visibility: **public** + +#### Arguments + +* $customer **array** + + + +### \RetailCrm\ApiClient::customersEdit() + +``` +\RetailCrm\Response\ApiResponse RetailCrm\ApiClient::\RetailCrm\ApiClient::customersEdit()(array $customer, $by) +``` + +Edit a customer + + + +* Visibility: **public** + +#### Arguments + +* $customer **array** +* $by **mixed** + + + +### \RetailCrm\ApiClient::customersUpload() + +``` +\RetailCrm\Response\ApiResponse RetailCrm\ApiClient::\RetailCrm\ApiClient::customersUpload()(array $customers) +``` + +Upload array of the customers + + + +* Visibility: **public** + +#### Arguments + +* $customers **array** + + + +### \RetailCrm\ApiClient::customersGet() + +``` +\RetailCrm\Response\ApiResponse RetailCrm\ApiClient::\RetailCrm\ApiClient::customersGet()(string $id, string $by) +``` + +Get customer by id or externalId + + + +* Visibility: **public** + +#### Arguments + +* $id **string** +* $by **string** - <p>(default: 'externalId')</p> + + + +### \RetailCrm\ApiClient::customersList() + +``` +\RetailCrm\Response\ApiResponse RetailCrm\ApiClient::\RetailCrm\ApiClient::customersList()(array $filter, integer $page, integer $limit) +``` + +Returns filtered customers list + + + +* Visibility: **public** + +#### Arguments + +* $filter **array** - <p>(default: array())</p> +* $page **integer** - <p>(default: null)</p> +* $limit **integer** - <p>(default: null)</p> + + + +### \RetailCrm\ApiClient::customersFixExternalIds() + +``` +\RetailCrm\Response\ApiResponse RetailCrm\ApiClient::\RetailCrm\ApiClient::customersFixExternalIds()(array $ids) +``` + +Save customer IDs' (id and externalId) association in the CRM + + + +* Visibility: **public** + +#### Arguments + +* $ids **array** + + + +### \RetailCrm\ApiClient::checkIdParameter() + +``` +boolean RetailCrm\ApiClient::\RetailCrm\ApiClient::checkIdParameter()(string $by) +``` + +Check ID parameter + + + +* Visibility: **protected** + +#### Arguments + +* $by **string** + + diff --git a/docs/RetailCrm-Exception-CurlException.md b/docs/RetailCrm-Exception-CurlException.md new file mode 100644 index 0000000..5bdff30 --- /dev/null +++ b/docs/RetailCrm-Exception-CurlException.md @@ -0,0 +1,19 @@ +RetailCrm\Exception\CurlException +=============== + + + + + + +* Class name: CurlException +* Namespace: RetailCrm\Exception +* Parent class: RuntimeException + + + + + + + + diff --git a/docs/RetailCrm-Exception-InvalidJsonException.md b/docs/RetailCrm-Exception-InvalidJsonException.md new file mode 100644 index 0000000..cf03b0d --- /dev/null +++ b/docs/RetailCrm-Exception-InvalidJsonException.md @@ -0,0 +1,19 @@ +RetailCrm\Exception\InvalidJsonException +=============== + + + + + + +* Class name: InvalidJsonException +* Namespace: RetailCrm\Exception +* Parent class: DomainException + + + + + + + + diff --git a/docs/RetailCrm-Http-Client.md b/docs/RetailCrm-Http-Client.md new file mode 100644 index 0000000..bc70f2c --- /dev/null +++ b/docs/RetailCrm-Http-Client.md @@ -0,0 +1,110 @@ +RetailCrm\Http\Client +=============== + +HTTP client + + + + +* Class name: Client +* Namespace: RetailCrm\Http + + + +Constants +---------- + + +### METHOD_GET + +``` +const METHOD_GET = 'GET' +``` + + + + + +### METHOD_POST + +``` +const METHOD_POST = 'POST' +``` + + + + + +Properties +---------- + + +### $url + +``` +protected mixed $url +``` + + + + + +* Visibility: **protected** + + +### $defaultParameters + +``` +protected mixed $defaultParameters +``` + + + + + +* Visibility: **protected** + + +Methods +------- + + +### \RetailCrm\Http\Client::__construct() + +``` +mixed RetailCrm\Http\Client::\RetailCrm\Http\Client::__construct()($url, array $defaultParameters) +``` + + + + + +* Visibility: **public** + +#### Arguments + +* $url **mixed** +* $defaultParameters **array** + + + +### \RetailCrm\Http\Client::makeRequest() + +``` +\RetailCrm\Response\ApiResponse RetailCrm\Http\Client::\RetailCrm\Http\Client::makeRequest()(string $path, string $method, array $parameters, $timeout) +``` + +Make HTTP request + + + +* Visibility: **public** + +#### Arguments + +* $path **string** +* $method **string** - <p>(default: 'GET')</p> +* $parameters **array** - <p>(default: array())</p> +* $timeout **mixed** + + diff --git a/docs/RetailCrm-Response-ApiResponse.md b/docs/RetailCrm-Response-ApiResponse.md new file mode 100644 index 0000000..24e768f --- /dev/null +++ b/docs/RetailCrm-Response-ApiResponse.md @@ -0,0 +1,205 @@ +RetailCrm\Response\ApiResponse +=============== + +Response from retailCRM API + + + + +* Class name: ApiResponse +* Namespace: RetailCrm\Response +* This class implements: ArrayAccess + + + + +Properties +---------- + + +### $statusCode + +``` +protected mixed $statusCode +``` + + + + + +* Visibility: **protected** + + +### $response + +``` +protected mixed $response +``` + + + + + +* Visibility: **protected** + + +Methods +------- + + +### \RetailCrm\Response\ApiResponse::__construct() + +``` +mixed RetailCrm\Response\ApiResponse::\RetailCrm\Response\ApiResponse::__construct()($statusCode, $responseBody) +``` + + + + + +* Visibility: **public** + +#### Arguments + +* $statusCode **mixed** +* $responseBody **mixed** + + + +### \RetailCrm\Response\ApiResponse::getStatusCode() + +``` +integer RetailCrm\Response\ApiResponse::\RetailCrm\Response\ApiResponse::getStatusCode()() +``` + +Return HTTP response status code + + + +* Visibility: **public** + + + +### \RetailCrm\Response\ApiResponse::isSuccessful() + +``` +boolean RetailCrm\Response\ApiResponse::\RetailCrm\Response\ApiResponse::isSuccessful()() +``` + +HTTP request was successful + + + +* Visibility: **public** + + + +### \RetailCrm\Response\ApiResponse::__call() + +``` +mixed RetailCrm\Response\ApiResponse::\RetailCrm\Response\ApiResponse::__call()(string $name, $arguments) +``` + +Allow to access for the property throw class method + + + +* Visibility: **public** + +#### Arguments + +* $name **string** +* $arguments **mixed** + + + +### \RetailCrm\Response\ApiResponse::__get() + +``` +mixed RetailCrm\Response\ApiResponse::\RetailCrm\Response\ApiResponse::__get()(string $name) +``` + +Allow to access for the property throw object property + + + +* Visibility: **public** + +#### Arguments + +* $name **string** + + + +### \RetailCrm\Response\ApiResponse::offsetSet() + +``` +mixed RetailCrm\Response\ApiResponse::\RetailCrm\Response\ApiResponse::offsetSet()($offset, $value) +``` + + + + + +* Visibility: **public** + +#### Arguments + +* $offset **mixed** +* $value **mixed** + + + +### \RetailCrm\Response\ApiResponse::offsetUnset() + +``` +mixed RetailCrm\Response\ApiResponse::\RetailCrm\Response\ApiResponse::offsetUnset()($offset) +``` + + + + + +* Visibility: **public** + +#### Arguments + +* $offset **mixed** + + + +### \RetailCrm\Response\ApiResponse::offsetExists() + +``` +mixed RetailCrm\Response\ApiResponse::\RetailCrm\Response\ApiResponse::offsetExists()($offset) +``` + + + + + +* Visibility: **public** + +#### Arguments + +* $offset **mixed** + + + +### \RetailCrm\Response\ApiResponse::offsetGet() + +``` +mixed RetailCrm\Response\ApiResponse::\RetailCrm\Response\ApiResponse::offsetGet()($offset) +``` + + + + + +* Visibility: **public** + +#### Arguments + +* $offset **mixed** + + diff --git a/docs/structure.xml b/docs/structure.xml new file mode 100644 index 0000000..e11e4aa --- /dev/null +++ b/docs/structure.xml @@ -0,0 +1,812 @@ + + + + + + + + + + \RetailCrm\Http\Client + \RetailCrm\Response\ApiResponse + + + ApiClient + \RetailCrm\ApiClient + + retailCRM API client class + + + + + VERSION + \RetailCrm\ApiClient::VERSION + 'v3' + + + + + + + $client + \RetailCrm\ApiClient::client + + + + + + + + __construct + \RetailCrm\ApiClient::__construct() + + Client creating + + + string + + + string + + + void + + + + $url + + string + + + $apiKey + + string + + + + ordersCreate + \RetailCrm\ApiClient::ordersCreate() + + Create a order + + + array + + + \RetailCrm\Response\ApiResponse + + + + $order + + array + + + + ordersEdit + \RetailCrm\ApiClient::ordersEdit() + + Edit a order + + + array + + + \RetailCrm\Response\ApiResponse + + + + $order + + array + + + $by + 'externalId' + + + + + ordersUpload + \RetailCrm\ApiClient::ordersUpload() + + Upload array of the orders + + + array + + + \RetailCrm\Response\ApiResponse + + + + $orders + + array + + + + ordersGet + \RetailCrm\ApiClient::ordersGet() + + Get order by id or externalId + + + string + + + string + + + \RetailCrm\Response\ApiResponse + + + + $id + + string + + + $by + 'externalId' + string + + + + ordersHistory + \RetailCrm\ApiClient::ordersHistory() + + Returns a orders history + + + \DateTime + + + \DateTime + + + integer + + + integer + + + \RetailCrm\Response\ApiResponse + + + + $startDate + null + \DateTime + + + $endDate + null + \DateTime + + + $limit + 100 + integer + + + $offset + 0 + integer + + + + ordersList + \RetailCrm\ApiClient::ordersList() + + Returns filtered orders list + + + array + + + integer + + + integer + + + \RetailCrm\Response\ApiResponse + + + + $filter + array() + array + + + $page + null + integer + + + $limit + null + integer + + + + ordersFixExternalIds + \RetailCrm\ApiClient::ordersFixExternalIds() + + Save order IDs' (id and externalId) association in the CRM + + + array + + + \RetailCrm\Response\ApiResponse + + + + $ids + + array + + + + customersCreate + \RetailCrm\ApiClient::customersCreate() + + Create a customer + + + array + + + \RetailCrm\Response\ApiResponse + + + + $customer + + array + + + + customersEdit + \RetailCrm\ApiClient::customersEdit() + + Edit a customer + + + array + + + \RetailCrm\Response\ApiResponse + + + + $customer + + array + + + $by + 'externalId' + + + + + customersUpload + \RetailCrm\ApiClient::customersUpload() + + Upload array of the customers + + + array + + + \RetailCrm\Response\ApiResponse + + + + $customers + + array + + + + customersGet + \RetailCrm\ApiClient::customersGet() + + Get customer by id or externalId + + + string + + + string + + + \RetailCrm\Response\ApiResponse + + + + $id + + string + + + $by + 'externalId' + string + + + + customersList + \RetailCrm\ApiClient::customersList() + + Returns filtered customers list + + + array + + + integer + + + integer + + + \RetailCrm\Response\ApiResponse + + + + $filter + array() + array + + + $page + null + integer + + + $limit + null + integer + + + + customersFixExternalIds + \RetailCrm\ApiClient::customersFixExternalIds() + + Save customer IDs' (id and externalId) association in the CRM + + + array + + + \RetailCrm\Response\ApiResponse + + + + $ids + + array + + + + checkIdParameter + \RetailCrm\ApiClient::checkIdParameter() + + Check ID parameter + + + string + + + boolean + + + + $by + + string + + + + + No summary was found for this file + Argument $url is missing from the Docblock of __construct + Argument $order is missing from the Docblock of ordersCreate + Argument $order is missing from the Docblock of ordersEdit + Argument $by is missing from the Docblock of ordersEdit + Argument $orders is missing from the Docblock of ordersUpload + Argument $id is missing from the Docblock of ordersGet + Argument $startDate is missing from the Docblock of ordersHistory + Argument $filter is missing from the Docblock of ordersList + Argument $ids is missing from the Docblock of ordersFixExternalIds + Argument $customer is missing from the Docblock of customersCreate + Argument $customer is missing from the Docblock of customersEdit + Argument $by is missing from the Docblock of customersEdit + Argument $customers is missing from the Docblock of customersUpload + Argument $id is missing from the Docblock of customersGet + Argument $filter is missing from the Docblock of customersList + Argument $ids is missing from the Docblock of customersFixExternalIds + Argument $by is missing from the Docblock of checkIdParameter + No summary for property $client + + eJztWW1P40YQ/p5fsRdxsoMSAuq30NBS4A7UUlCgJ1XHidvYa9ieY/u8ayCt+O+dfbWdEOPE0UFP9Rdi77w/s7Ozw48/JbdJqxXhCWEJ9ggaEY5peJBOdlutjBXer445T64OQkoivjuzNALmOGLkaj+h5jfw9zc3W2gToVQRjk7R/vkJ8qQI+IMZg+V+S/5CwKqEt/5pIXg8EMLRh6PRxcnZ72iInLsfHJAplpI05sTjxEcbnrZHfpf6xLOJDrSSlGBOoxv92az+nOAUTxBiPIVFtJGl4aIlnNBfydSugitZGqG7mPr6W1+ZlI1D6qEgizxO4whdX0v708zjrhDfNZI6kly5KB4aINfpO+jNELFsDByaHH6FJJIvHdRDO1200+kU+MQjFtEWhKYPkTEfH1ut0vpQkyEHDABFW4iRMBgMdGR3C+T8lrLensZniCJyr+OobcJpiqeuoxxx0HDPOtVR+h/ncRAAEIRRnPokXQCDlGuMKBLaeBfyqjLskpkppa4SqwQ+FfY3jP5N4sDVFLPR5bdpfC+DcHUS3eGQ+vvpTTaBcBw9eCQR+lznXHhAOEnRZynlM5pkkLYAPqR8xMBxH3PsdJ7ERztXintvb4K/kBH5mhHG3XZfedSXiUzaXQ3IYHB6dHl8dnh9fnZxaYApWe9IRgnSXyyOrknkxT5xi9EQz2LkjnzKvzFuQmUJNdg146nY++QBQhzh8MR3XiWSBsJb4n058a0oF8zvFHaYtJUyRrg29SMQfFrJXpZAfeKB65wJORqKosUghaD2W9ZGiTFny5EB7TTOxjZUkYID8NbuEwBvbfnZLdOOdbUZT7s1MvePJIyxr0MSBzIQyvDaecyaJbKyoJTK7Pm8ZetJXDaXufOBaF6QMuni0oCzBYizTh1k3xOuHEBQFqgPv1FeGarPeAWuPbWfXgaprk8CnIV88ETRWTkf3osNT/065axmJVkCKVA8D9P7I4tSYXctjvxI6mPmQGAI9PI4nS4I+tUhnFaXdEKER4zjlIsPheBGWRh2KrlI5NfhgSJoU2wjpBM4tHKOne3taoY4CKAYFzi2GyJ9rMLi5q4U3B9KF7oFP62XZkm7MBSmd619Q2NXIU9sVWewrJCcPWpy1XOdY8790bFUzifRLdrX3l4QpxPMXefP3qTno+MBHcxUjpI27UulLk2jNOmXZfXIEFVqkRRShwtwd3RUFwpUUa6UqEiKItWXFcuoYzan3kbO0xu0YMKzOzOgIdAR32zQECTXOe8UX2EL6Fyq3jgJvmm2NcscK+2138BDc8ZqL+xO6GoT5/ZVrne5vWROaqVo/ipWTBZFo3Jc/V6UesIauPoNlbWVQgVBMf/E+/Ni17FXVsjrBvl8ge90l4JODqFdcOGcx5FfOOg7CDMWexTLXNCd7sHotE62U79ha/eOPhxZS5hJPxBb2d+J9ZWau1PCb2M/b+FnWzuOQoLhSxwRES4gpGnz5i6gDz0T7x7Yvo42T4SgTo9nJwYeeBpP6l0+Z2iXxtbwz4wOzOdKbC1R0+7dCFr7DMF6t8IYwfDOA1oOTjWoepjwIpAWpwrm49KDhZcFeYXxgtGzhgnDgRb1rYYMebrKOUPJk5VGDTVyeO0DB+vEMrm+8tlkBZQnD/ZzrdxuPn+wkipHEJZqLSVt+UFErn9hPtQfRxiO/8xEwrr4MkOJHLi1ziXs7cfK/64vQNbL/+9Ar/AOlBeYhtcgW1xe103I+vd9X4byUtXkPlRx2tS+Eom6Cx7lnlefLFAxZ6Edx3FYxtT+Dz2H9anyPlsmcBjG98R/F6e/TG2hKJ4dXeRQvxh11ZVG14pUtFRlKY2a0xKjjPcHHGa6Jw3gNM6TpT2ethFlKIo5klK30L4yQ7wC5uAMQW8ZNLBzUkuNoHVsAq0H4ChcnvWpRFzdC/M0Iwb5x38BdwOakQ== + + + + + + + + + \RuntimeException + CurlException + \RetailCrm\Exception\CurlException + + + + + + + + No summary was found for this file + No summary for class "" + + eJyzsS/IKODiykvMTS0uSExOVQhKLUnMzHEuyo1xrUhOLSjJzM+z5uJKzkksLlZwLi3KgYsqpFaUpOalFCvEBJXmlWTmpsJluKq5agF9TCAz + + + + + + + + + \DomainException + InvalidJsonException + \RetailCrm\Exception\InvalidJsonException + + + + + + + + No summary was found for this file + No summary for class "" + + eJyzsS/IKODiykvMTS0uSExOVQhKLUnMzHEuyo1xrUhOLSjJzM+z5uJKzkksLlbwzCtLzMlM8SrOz4NLKqRWlKTmpRQrxLjk5yZmIiS4qrlqAUhQInI= + + + + + + + + \RetailCrm\Exception\CurlException + \RetailCrm\Response\ApiResponse + + + Client + \RetailCrm\Http\Client + + HTTP client + + + + + METHOD_GET + \RetailCrm\Http\Client::METHOD_GET + 'GET' + + + + + + + METHOD_POST + \RetailCrm\Http\Client::METHOD_POST + 'POST' + + + + + + + $url + \RetailCrm\Http\Client::url + + + + + + + + $defaultParameters + \RetailCrm\Http\Client::defaultParameters + + + + + + + + __construct + \RetailCrm\Http\Client::__construct() + + + + + + $url + + + + + $defaultParameters + array() + array + + + + makeRequest + \RetailCrm\Http\Client::makeRequest() + + Make HTTP request + + + string + + + string + + + array + + + \RetailCrm\Response\ApiResponse + + + + $path + + string + + + $method + + string + + + $parameters + array() + array + + + $timeout + 30 + + + + + + No summary was found for this file + Argument $url is missing from the Docblock of __construct + Argument $defaultParameters is missing from the Docblock of __construct + No summary for method "" + Argument $path is missing from the Docblock of makeRequest + Argument $timeout is missing from the Docblock of makeRequest + No summary for property $url + No summary for property $defaultParameters + + eJydVm1v2zYQ/u5fcSvSSgq0eMO+xc06z5EXA45lyMqGAgEEhqJiYpKoktTSbNh/71FvlmSnKUoYkMS7e+7tOdLvPxT7YjLJScZUQSiDgGnC04XM7m+0LmaTSan6m95nygrNRX6/KGXafc1GagGiiVyx+3nB23fEmp6fT+AcbsJwCzTlLNf4OZ3QlCgFi3rjvwngomih4dYLb/zr6A8vhCuw8GHNjqVbf1eJzRPllUIhhWZUsxjOMMzZeC9mCSlTvSUS89ZMqtasfEg5haTMqckKoqjyJEuqbQPkApGSPJ8AwAAqke04FVKdhVk8ATshKZbn6uoKEIwXQjVo1h5rrC6nU8txeiZm6b0UT5CzJ7hf5f+QlMdz+VhmWKGu6LY1365A0T3LCEj2qeSSqaq4uypZQUVqObMO9v9J93qm91z9+CsGgYEfStQTncrwVN16wFV3zTqHW/I3q9ts4mJKN4JW/lthIKAqR/7YOC6I3n9VAX3uRQx2E8ZlTQlnbFP3qAPtEjjYDVplLCXTpcyhx9ZGND3JiwzTC+rE7Cpstw2uY0hxghqopXnGRKlx75efxkw5I2kqnlh8WyEd7BRLk8vLwyy4MNgxvO912fDtB55HtW0X1gj8u/imCmyGTuyBoVlWjQpv3qo3wBXkQkOFcQHz2i1kTVJEMnirLPcIo430SMCzIhUxsy2cl+M8BurOC2w/bkaUMfnI7JfI7vZtnNkASu/NKBwG6KLeHHZg3LNq+FsCv3sHiv/LRGL3vYw7Uru6wJPtg4VOzFERPZQ8jSMknny2hxGeSpuaSCnGGPGca7unVW0qpkWBBKZI38VdsPa3YYQPt/b8LdrL+Wrtb7wg8AMXlvP1zutZTadfMfTXa/+vtb+Yhyt/48LPzszoV73FIyPGk4xq9XoAgRfeBZswmG92Sy/ocJpxRrIKIMhEyclDyl6HC1e3nn+HA2ajqdNNaw1qPhSY4SUJFh0HWH1TrrvdOvrTC1bLj1vPxFhdBn1OHfGlvtEOhBkz40VXxtAFvK9Yrw+vWixX3vp6N6b8KULJ5nD8XcTPLbXYZ0YNZs/kTGmiS7XAqW21HpnmeSIOzlebpR+ZGyJa+NfeYMSYlLno4M3HGB83hexpCDnSqAQ0FYo1gkGxaw8vn4CDvzZ27c1t4jpdmYZwxrh3h9i9QrjD6jntzYm/L1gtwjI= + + + + + + + + \RetailCrm\Exception\InvalidJsonException + + + \ArrayAccess + ApiResponse + \RetailCrm\Response\ApiResponse + + Response from retailCRM API + + + + + $statusCode + \RetailCrm\Response\ApiResponse::statusCode + + + + + + + + $response + \RetailCrm\Response\ApiResponse::response + + + + + + + + __construct + \RetailCrm\Response\ApiResponse::__construct() + + + + + + $statusCode + + + + + $responseBody + null + + + + + getStatusCode + \RetailCrm\Response\ApiResponse::getStatusCode() + + Return HTTP response status code + + + integer + + + + + isSuccessful + \RetailCrm\Response\ApiResponse::isSuccessful() + + HTTP request was successful + + + boolean + + + + + __call + \RetailCrm\Response\ApiResponse::__call() + + Allow to access for the property throw class method + + + string + + + mixed + + + + $name + + string + + + $arguments + + + + + + __get + \RetailCrm\Response\ApiResponse::__get() + + Allow to access for the property throw object property + + + string + + + mixed + + + + $name + + string + + + + offsetSet + \RetailCrm\Response\ApiResponse::offsetSet() + + + + + + $offset + + + + + $value + + + + + + offsetUnset + \RetailCrm\Response\ApiResponse::offsetUnset() + + + + + + $offset + + + + + + offsetExists + \RetailCrm\Response\ApiResponse::offsetExists() + + + + + + $offset + + + + + + offsetGet + \RetailCrm\Response\ApiResponse::offsetGet() + + + + + + $offset + + + + + + + No summary was found for this file + Argument $statusCode is missing from the Docblock of __construct + Argument $responseBody is missing from the Docblock of __construct + No summary for method "" + Argument $name is missing from the Docblock of __call + Argument $arguments is missing from the Docblock of __call + Argument $name is missing from the Docblock of __get + Argument $offset is missing from the Docblock of offsetSet + Argument $value is missing from the Docblock of offsetSet + No summary for method "" + Argument $offset is missing from the Docblock of offsetUnset + No summary for method "" + Argument $offset is missing from the Docblock of offsetExists + No summary for method "" + Argument $offset is missing from the Docblock of offsetGet + No summary for method "" + No summary for property $statusCode + No summary for property $response + + eJy1VF1P2zAUfc+vuOsqSFBHmcYbsK2gagOJglr2tKLKTdzWKLEz2wGqif++a+ezadMxqvkpse/HOfeee0+/xIvYcTiJqIqJT2FINWHhhYzGQ7wRXNETx0lU9aH/7NNYM8HHl/yRhCy4UoIXl2jePThw4ADyADCTIgKZ+g+voXd7ic9dxw+JUtCLWWHIojikEeVawbgnJVn2fJ8q5fx2AE+3C9/v7m4xUmauNNGJAl8E1BrEUmjqaxpAO326wBfEkzkXfphW+EBMgrqfLEnbl2QaMh9mCfcNN5hMfHzVMvG1W8nRKR3PRbCEM+BJGHo2RIrdnLZeMPXhc+mGdi7j2tsA1xw2A/cdjWK9dFfCe14lqA1cMDuDB+zFJKCmJqteHUDY1KvEL3KU/nt7cDW6GUz6w+HNcDK4GfTh3RmibFMphczDY9/0xN643hoYc/RCiifg9Ak2KcRdszenlZlaAMA4BqFGKmXbpsjiEPoWieEH71NYrc7GgOnj2hNWoPr7slqPrEeVglYkUfpUPK3YzTGC14nkfxEpFOZfZWqPEsiuuhtFN6d6VOjDrasqC7ImrpMGkBm6XwlVGp6IApXYIZslYQO+qRDhVoBMjYoYr8YHp3B8dNSEsheGqCAtgNjAMMOeG0HgqMZU6mUmsXSFRFQvRFBHHxNJIsD6S8bn0DYrrs4sYs802EoNB56EoWu9ccqJnCd2P9VZ4nrBzfCI0Gy7RERvC6QCVOW/XAc5lwHGRqEhUC2QNZWuSqb4l2f91IGPOGaHsHp97NV3BVOK4l5alfDPlTz3a/Nazmq+znsZyXJgW9e2wjBu2dzjFnChsScJD1pedS4aut6AZcfmi+kDbu3i9j/1f25KapzrLd9Wcv72Uhe62b3YfK3IdXpiNkP8I0Mh/USNI7BkjWwF+jkJUjlc4GSUwPfvMDt2TLNHhugNZmL6SIN97xUYfnBVonhrdjOr/5y5/8yUVk2p8x29uc+pz/1r0nxrprdNSXmGnbWUBtpBTRmSnOrLH9NZDJM= + + + + + + + + + +