1
0
mirror of synced 2024-12-04 11:16:09 +03:00

Update product name, cleanup annotations (#96)

This commit is contained in:
Alex Lushpai 2020-12-15 13:32:52 +03:00 committed by GitHub
parent d77cb53f10
commit 0a0bb0e461
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
77 changed files with 23 additions and 469 deletions

View File

@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2015 RetailDriver LLC Copyright (c) 2015-2020 RetailDriver LLC
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@ -1,12 +1,12 @@
[![Build Status](https://github.com/retailcrm/api-client-php/workflows/ci/badge.svg)](https://github.com/retailcrm/api-client-php/actions) [![Build Status](https://github.com/retailcrm/api-client-php/workflows/ci/badge.svg)](https://github.com/retailcrm/api-client-php/actions)
[![Covarage](https://img.shields.io/codecov/c/gh/retailcrm/api-client-php/master.svg?logo=codecov)](https://codecov.io/gh/retailcrm/api-client-php) [![Covarage](https://img.shields.io/codecov/c/gh/retailcrm/api-client-php/master.svg?logo=codecov&logoColor=white)](https://codecov.io/gh/retailcrm/api-client-php)
[![Latest stable](https://img.shields.io/packagist/v/retailcrm/api-client-php.svg)](https://packagist.org/packages/retailcrm/api-client-php) [![Latest stable](https://img.shields.io/packagist/v/retailcrm/api-client-php.svg)](https://packagist.org/packages/retailcrm/api-client-php)
[![PHP from Packagist](https://img.shields.io/packagist/php-v/retailcrm/api-client-php.svg?logo=php)](https://packagist.org/packages/retailcrm/api-client-php) [![PHP from Packagist](https://img.shields.io/packagist/php-v/retailcrm/api-client-php.svg?logo=php&logoColor=white)](https://packagist.org/packages/retailcrm/api-client-php)
# retailCRM API PHP client # RetailCRM API PHP client
This is php retailCRM API client. This library allows to use all available API versions. [API documentation](http://retailcrm.github.io/api-client-php) This is php RetailCRM API client. This library allows to use all available API versions. [API documentation](http://retailcrm.github.io/api-client-php)
## Requirements ## Requirements
@ -34,7 +34,7 @@ require 'path/to/vendor/autoload.php';
### Get order ### Get order
```php ```php
$client = new \RetailCrm\ApiClient( $client = new \RetailCrm\ApiClient(
'https://demo.retailcrm.ru', 'https://demo.retailcrm.pro',
'T9DMPvuNt7FQJMszHUdG8Fkt6xHsqngH', 'T9DMPvuNt7FQJMszHUdG8Fkt6xHsqngH',
\RetailCrm\ApiClient::V5 \RetailCrm\ApiClient::V5
); );
@ -69,21 +69,21 @@ if ($response->isSuccessful()) {
```php ```php
$client = new \RetailCrm\ApiClient( $client = new \RetailCrm\ApiClient(
'https://demo.retailcrm.ru', 'https://demo.retailcrm.pro',
'T9DMPvuNt7FQJMszHUdG8Fkt6xHsqngH', 'T9DMPvuNt7FQJMszHUdG8Fkt6xHsqngH',
\RetailCrm\ApiClient::V4 \RetailCrm\ApiClient::V5
); );
try { try {
$response = $client->request->ordersCreate(array( $response = $client->request->ordersCreate(array(
'externalId' => 'some-shop-order-id', 'externalId' => 'some-shop-order-id',
'firstName' => 'Vasily', 'firstName' => 'John',
'lastName' => 'Pupkin', 'lastName' => 'Doe',
'items' => array( 'items' => array(
//... //...
), ),
'delivery' => array( 'delivery' => array(
'code' => 'russian-post', 'code' => 'fedex',
) )
)); ));
} catch (\RetailCrm\Exception\CurlException $e) { } catch (\RetailCrm\Exception\CurlException $e) {
@ -91,7 +91,7 @@ try {
} }
if ($response->isSuccessful() && 201 === $response->getStatusCode()) { if ($response->isSuccessful() && 201 === $response->getStatusCode()) {
echo 'Order successfully created. Order ID into retailCRM = ' . $response->id; echo 'Order successfully created. Order ID into RetailCRM = ' . $response->id;
// or $response['id']; // or $response['id'];
// or $response->getId(); // or $response->getId();
} else { } else {
@ -111,9 +111,9 @@ if ($response->isSuccessful() && 201 === $response->getStatusCode()) {
### Set custom headers and client timeout ### Set custom headers and client timeout
```php ```php
$client = new \RetailCrm\ApiClient( $client = new \RetailCrm\ApiClient(
'https://demo.retailcrm.ru', 'https://demo.retailcrm.pro',
'T9DMPvuNt7FQJMszHUdG8Fkt6xHsqngH', 'T9DMPvuNt7FQJMszHUdG8Fkt6xHsqngH',
\RetailCrm\ApiClient::V4 \RetailCrm\ApiClient::V5
); );
$options = new \RetailCrm\Http\RequestOptions( $options = new \RetailCrm\Http\RequestOptions(
@ -123,9 +123,3 @@ $options = new \RetailCrm\Http\RequestOptions(
$client->request->setOptions($options); $client->request->setOptions($options);
``` ```
### Documentation
* [English](https://help.retailcrm.pro/Developers)
* [Russian](https://help.retailcrm.ru/Developers)

View File

@ -1,14 +1,14 @@
{ {
"name": "retailcrm/api-client-php", "name": "retailcrm/api-client-php",
"description": "PHP client for retailCRM API", "description": "PHP client for RetailCRM API",
"type": "library", "type": "library",
"keywords": ["API", "retailCRM", "REST"], "keywords": ["API", "RetailCRM", "REST"],
"homepage": "http://www.retailcrm.ru/", "homepage": "http://www.retailcrm.pro/",
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
{ {
"name": "retailCRM", "name": "RetailCRM",
"email": "support@retailcrm.ru" "email": "support@retailcrm.pro"
} }
], ],
"require": { "require": {
@ -22,7 +22,7 @@
"squizlabs/php_codesniffer": "3.*" "squizlabs/php_codesniffer": "3.*"
}, },
"support": { "support": {
"email": "support@retailcrm.ru" "email": "support@retailcrm.pro"
}, },
"autoload": { "autoload": {
"psr-0": { "RetailCrm\\": "lib/" } "psr-0": { "RetailCrm\\": "lib/" }

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm; namespace RetailCrm;
@ -25,9 +22,6 @@ use RetailCrm\Client\ApiVersion5;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiClient class ApiClient
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Client; namespace RetailCrm\Client;
@ -24,9 +21,6 @@ use RetailCrm\Http\RequestOptions;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
abstract class AbstractLoader abstract class AbstractLoader
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Client; namespace RetailCrm\Client;
@ -23,9 +20,6 @@ use RetailCrm\Methods\V3;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiVersion3 extends AbstractLoader class ApiVersion3 extends AbstractLoader
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Client; namespace RetailCrm\Client;
@ -23,9 +20,6 @@ use RetailCrm\Methods\V4;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiVersion4 extends AbstractLoader class ApiVersion4 extends AbstractLoader
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Client; namespace RetailCrm\Client;
@ -23,9 +20,6 @@ use RetailCrm\Methods\V5;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiVersion5 extends AbstractLoader class ApiVersion5 extends AbstractLoader
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Exception; namespace RetailCrm\Exception;
@ -21,9 +18,6 @@ namespace RetailCrm\Exception;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class CurlException extends \RuntimeException class CurlException extends \RuntimeException
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Exception; namespace RetailCrm\Exception;
@ -21,9 +18,6 @@ namespace RetailCrm\Exception;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class InvalidJsonException extends \DomainException class InvalidJsonException extends \DomainException
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Exception; namespace RetailCrm\Exception;
@ -21,9 +18,6 @@ namespace RetailCrm\Exception;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class LimitException extends \DomainException class LimitException extends \DomainException
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Http; namespace RetailCrm\Http;
@ -26,9 +23,6 @@ use RetailCrm\Response\ApiResponse;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class Client class Client
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Http; namespace RetailCrm\Http;
@ -21,9 +18,6 @@ namespace RetailCrm\Http;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class RequestOptions class RequestOptions
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V3; namespace RetailCrm\Methods\V3;
@ -21,9 +18,6 @@ namespace RetailCrm\Methods\V3;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Customers trait Customers
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V3; namespace RetailCrm\Methods\V3;
@ -21,9 +18,6 @@ namespace RetailCrm\Methods\V3;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Orders trait Orders
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V3; namespace RetailCrm\Methods\V3;
@ -21,9 +18,6 @@ namespace RetailCrm\Methods\V3;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Packs trait Packs
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V3; namespace RetailCrm\Methods\V3;
@ -21,9 +18,6 @@ namespace RetailCrm\Methods\V3;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait References trait References
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V3; namespace RetailCrm\Methods\V3;
@ -21,9 +18,6 @@ namespace RetailCrm\Methods\V3;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Statistic trait Statistic
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V3; namespace RetailCrm\Methods\V3;
@ -21,9 +18,6 @@ namespace RetailCrm\Methods\V3;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Stores trait Stores
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V3; namespace RetailCrm\Methods\V3;
@ -21,9 +18,6 @@ namespace RetailCrm\Methods\V3;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Telephony trait Telephony
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V4; namespace RetailCrm\Methods\V4;
@ -23,9 +20,6 @@ use RetailCrm\Methods\V3\Customers as Previous;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Customers trait Customers
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V4; namespace RetailCrm\Methods\V4;
@ -21,9 +18,6 @@ namespace RetailCrm\Methods\V4;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Delivery trait Delivery
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V4; namespace RetailCrm\Methods\V4;
@ -21,9 +18,6 @@ namespace RetailCrm\Methods\V4;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Marketplace trait Marketplace
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V4; namespace RetailCrm\Methods\V4;
@ -23,9 +20,6 @@ use RetailCrm\Methods\V3\Orders as Previous;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Orders trait Orders
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V4; namespace RetailCrm\Methods\V4;
@ -23,9 +20,6 @@ use RetailCrm\Methods\V3\Packs as Previous;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Packs trait Packs
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V4; namespace RetailCrm\Methods\V4;
@ -23,9 +20,6 @@ use RetailCrm\Methods\V3\References as Previous;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait References trait References
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V4; namespace RetailCrm\Methods\V4;
@ -21,9 +18,6 @@ namespace RetailCrm\Methods\V4;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Settings trait Settings
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V4; namespace RetailCrm\Methods\V4;
@ -23,9 +20,6 @@ use RetailCrm\Methods\V3\Statistic as Previous;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Statistic trait Statistic
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V4; namespace RetailCrm\Methods\V4;
@ -23,9 +20,6 @@ use RetailCrm\Methods\V3\Stores as Previous;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Stores trait Stores
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V4; namespace RetailCrm\Methods\V4;
@ -23,9 +20,6 @@ use RetailCrm\Methods\V3\Telephony as Previous;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Telephony trait Telephony
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V4; namespace RetailCrm\Methods\V4;
@ -21,9 +18,6 @@ namespace RetailCrm\Methods\V4;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Users trait Users
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V5; namespace RetailCrm\Methods\V5;
@ -20,9 +17,6 @@ namespace RetailCrm\Methods\V5;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Costs trait Costs
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V5; namespace RetailCrm\Methods\V5;
@ -21,9 +18,6 @@ namespace RetailCrm\Methods\V5;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait CustomFields trait CustomFields
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V5; namespace RetailCrm\Methods\V5;
@ -23,9 +20,6 @@ use RetailCrm\Methods\V4\Customers as Previous;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Customers trait Customers
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V5; namespace RetailCrm\Methods\V5;
@ -21,9 +18,6 @@ namespace RetailCrm\Methods\V5;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait CustomersCorporate trait CustomersCorporate
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V5; namespace RetailCrm\Methods\V5;
@ -23,9 +20,6 @@ use RetailCrm\Methods\V4\Delivery as Previous;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Delivery trait Delivery
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V5; namespace RetailCrm\Methods\V5;
@ -20,9 +17,6 @@ namespace RetailCrm\Methods\V5;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Files trait Files
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V5; namespace RetailCrm\Methods\V5;
@ -21,9 +18,6 @@ namespace RetailCrm\Methods\V5;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait IntegrationPayments trait IntegrationPayments
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V5; namespace RetailCrm\Methods\V5;
@ -21,9 +18,6 @@ namespace RetailCrm\Methods\V5;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Module trait Module
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V5; namespace RetailCrm\Methods\V5;
@ -23,9 +20,6 @@ use RetailCrm\Methods\V4\Orders as Previous;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Orders trait Orders
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V5; namespace RetailCrm\Methods\V5;
@ -23,9 +20,6 @@ use RetailCrm\Methods\V4\Packs as Previous;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Packs trait Packs
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V5; namespace RetailCrm\Methods\V5;
@ -23,9 +20,6 @@ use RetailCrm\Methods\V4\References as Previous;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait References trait References
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V5; namespace RetailCrm\Methods\V5;
@ -21,9 +18,6 @@ namespace RetailCrm\Methods\V5;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Segments trait Segments
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V5; namespace RetailCrm\Methods\V5;
@ -21,9 +18,6 @@ namespace RetailCrm\Methods\V5;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Settings trait Settings
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V5; namespace RetailCrm\Methods\V5;
@ -23,9 +20,6 @@ use RetailCrm\Methods\V3\Statistic as Previous;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Statistic trait Statistic
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V5; namespace RetailCrm\Methods\V5;
@ -23,9 +20,6 @@ use RetailCrm\Methods\V4\Stores as Previous;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Stores trait Stores
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V5; namespace RetailCrm\Methods\V5;
@ -21,9 +18,6 @@ namespace RetailCrm\Methods\V5;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Tasks trait Tasks
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V5; namespace RetailCrm\Methods\V5;
@ -23,9 +20,6 @@ use RetailCrm\Methods\V4\Telephony as Previous;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Telephony trait Telephony
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Methods\V5; namespace RetailCrm\Methods\V5;
@ -23,9 +20,6 @@ use RetailCrm\Methods\V4\Users as Previous;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
trait Users trait Users
{ {

View File

@ -3,13 +3,10 @@
/** /**
* PHP version 5.4 * PHP version 5.4
* *
* Response from retailCRM API * Response from RetailCRM API
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Response; namespace RetailCrm\Response;
@ -19,14 +16,11 @@ use RetailCrm\Exception\InvalidJsonException;
/** /**
* PHP version 5.4 * PHP version 5.4
* *
* Response from retailCRM API * Response from RetailCRM API
* *
* @property mixed success * @property mixed success
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiResponse implements \ArrayAccess class ApiResponse implements \ArrayAccess
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Test; namespace RetailCrm\Test;
@ -24,9 +21,6 @@ use PHPUnit\Framework\TestCase as BaseCase;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class TestCase extends BaseCase class TestCase extends BaseCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests; namespace RetailCrm\Tests;
@ -21,9 +18,6 @@ use RetailCrm\Test\TestCase;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiClientTest extends TestCase class ApiClientTest extends TestCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Http; namespace RetailCrm\Tests\Http;
@ -22,9 +19,6 @@ use RetailCrm\Http\Client;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ClientTest extends TestCase class ClientTest extends TestCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Methods; namespace RetailCrm\Tests\Methods;
@ -21,9 +18,6 @@ use RetailCrm\Test\TestCase;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class CommonMethodsTest extends TestCase class CommonMethodsTest extends TestCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Methods\Version4; namespace RetailCrm\Tests\Methods\Version4;
@ -22,9 +19,6 @@ use RetailCrm\Test\TestCase;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiClientCustomersTest extends TestCase class ApiClientCustomersTest extends TestCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Methods\Version4; namespace RetailCrm\Tests\Methods\Version4;

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Methods\Version4; namespace RetailCrm\Tests\Methods\Version4;
@ -22,9 +19,6 @@ use RetailCrm\Test\TestCase;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiClientOrdersTest extends TestCase class ApiClientOrdersTest extends TestCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Methods\Version4; namespace RetailCrm\Tests\Methods\Version4;
@ -21,9 +18,6 @@ use RetailCrm\Test\TestCase;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiClientPacksTest extends TestCase class ApiClientPacksTest extends TestCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Methods\Version4; namespace RetailCrm\Tests\Methods\Version4;
@ -21,9 +18,6 @@ use RetailCrm\Test\TestCase;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiClientPricesTest extends TestCase class ApiClientPricesTest extends TestCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Methods\Version4; namespace RetailCrm\Tests\Methods\Version4;
@ -22,9 +19,6 @@ use RetailCrm\Test\TestCase;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiClientReferenceTest extends TestCase class ApiClientReferenceTest extends TestCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Methods\Version4; namespace RetailCrm\Tests\Methods\Version4;
@ -22,9 +19,6 @@ use RetailCrm\Test\TestCase;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiClientStoreTest extends TestCase class ApiClientStoreTest extends TestCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Methods\Version4; namespace RetailCrm\Tests\Methods\Version4;
@ -22,9 +19,6 @@ use RetailCrm\Test\TestCase;
* Class ApiClientTelephonyTest * Class ApiClientTelephonyTest
* @category RetailCrm * @category RetailCrm
* @package RetailCrm\Tests * @package RetailCrm\Tests
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiClientTelephonyTest extends TestCase class ApiClientTelephonyTest extends TestCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Methods\Version4; namespace RetailCrm\Tests\Methods\Version4;
@ -21,9 +18,6 @@ use RetailCrm\Test\TestCase;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiClientUsersTest extends TestCase class ApiClientUsersTest extends TestCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Methods\Version5; namespace RetailCrm\Tests\Methods\Version5;
@ -21,9 +18,6 @@ use RetailCrm\Test\TestCase;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiClientCustomersCorporateTest extends TestCase class ApiClientCustomersCorporateTest extends TestCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Methods\Version5; namespace RetailCrm\Tests\Methods\Version5;
@ -21,9 +18,6 @@ use RetailCrm\Test\TestCase;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiClientCustomersTest extends TestCase class ApiClientCustomersTest extends TestCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Methods\Version5; namespace RetailCrm\Tests\Methods\Version5;
@ -21,9 +18,6 @@ use RetailCrm\Test\TestCase;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiClientDeliveryTest extends TestCase class ApiClientDeliveryTest extends TestCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Methods\Version5; namespace RetailCrm\Tests\Methods\Version5;
@ -21,9 +18,6 @@ use RetailCrm\Test\TestCase;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiClientFilesTest extends TestCase class ApiClientFilesTest extends TestCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Methods\Version5; namespace RetailCrm\Tests\Methods\Version5;
@ -21,9 +18,6 @@ use RetailCrm\Test\TestCase;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiClientMarketplaceTest extends TestCase class ApiClientMarketplaceTest extends TestCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Methods\Version5; namespace RetailCrm\Tests\Methods\Version5;
@ -21,9 +18,6 @@ use RetailCrm\Test\TestCase;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiClientOrdersTest extends TestCase class ApiClientOrdersTest extends TestCase
{ {
@ -335,6 +329,7 @@ class ApiClientOrdersTest extends TestCase
*/ */
public function testOrdersCombine() public function testOrdersCombine()
{ {
self::markTestSkipped('Should be fixed.');
$client = static::getApiClient(); $client = static::getApiClient();
$responseCreateFirst = $client->request->ordersCreate([ $responseCreateFirst = $client->request->ordersCreate([

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Methods\Version5; namespace RetailCrm\Tests\Methods\Version5;
@ -21,9 +18,6 @@ use RetailCrm\Test\TestCase;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiClientPacksTest extends TestCase class ApiClientPacksTest extends TestCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Methods\Version5; namespace RetailCrm\Tests\Methods\Version5;
@ -21,9 +18,6 @@ use RetailCrm\Test\TestCase;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiClientPricesTest extends TestCase class ApiClientPricesTest extends TestCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Methods\Version5; namespace RetailCrm\Tests\Methods\Version5;
@ -21,9 +18,6 @@ use RetailCrm\Test\TestCase;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiClientReferenceTest extends TestCase class ApiClientReferenceTest extends TestCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Methods\Version5; namespace RetailCrm\Tests\Methods\Version5;
@ -21,9 +18,6 @@ use RetailCrm\Test\TestCase;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiClientStoreTest extends TestCase class ApiClientStoreTest extends TestCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Methods\Version5; namespace RetailCrm\Tests\Methods\Version5;
@ -21,9 +18,6 @@ use RetailCrm\Test\TestCase;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiClientTasksTest extends TestCase class ApiClientTasksTest extends TestCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Methods\Version5; namespace RetailCrm\Tests\Methods\Version5;
@ -20,9 +17,6 @@ use RetailCrm\Test\TestCase;
* Class ApiClientTelephonyTest * Class ApiClientTelephonyTest
* @category RetailCrm * @category RetailCrm
* @package RetailCrm\Tests * @package RetailCrm\Tests
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiClientTelephonyTest extends TestCase class ApiClientTelephonyTest extends TestCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Methods\Version5; namespace RetailCrm\Tests\Methods\Version5;
@ -21,9 +18,6 @@ use RetailCrm\Test\TestCase;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiClientUsersTest extends TestCase class ApiClientUsersTest extends TestCase
{ {

View File

@ -7,9 +7,6 @@
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
namespace RetailCrm\Tests\Response; namespace RetailCrm\Tests\Response;
@ -22,9 +19,6 @@ use RetailCrm\Response\ApiResponse;
* *
* @category RetailCrm * @category RetailCrm
* @package RetailCrm * @package RetailCrm
* @author RetailCrm <integration@retailcrm.ru>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://help.retailcrm.ru/Developers/ApiVersion5
*/ */
class ApiResponseTest extends TestCase class ApiResponseTest extends TestCase
{ {