2017-06-22 00:55:08 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* PHP version 5.4
|
|
|
|
*
|
2017-06-22 16:42:42 +03:00
|
|
|
* API client v5
|
2017-06-22 00:55:08 +03:00
|
|
|
*
|
|
|
|
* @category RetailCrm
|
|
|
|
* @package RetailCrm
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace RetailCrm\Client;
|
|
|
|
|
|
|
|
use RetailCrm\Methods\V5;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* PHP version 5.4
|
|
|
|
*
|
2017-06-22 16:42:42 +03:00
|
|
|
* API client v5 class
|
2017-06-22 00:55:08 +03:00
|
|
|
*
|
|
|
|
* @category RetailCrm
|
|
|
|
* @package RetailCrm
|
|
|
|
*/
|
|
|
|
class ApiVersion5 extends AbstractLoader
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Init version based client
|
|
|
|
*
|
|
|
|
* @param string $url api url
|
|
|
|
* @param string $apiKey api key
|
|
|
|
* @param string $version api version
|
|
|
|
* @param string $site site code
|
2019-08-30 14:10:52 +03:00
|
|
|
* @param bool $debug debug mode
|
2017-06-22 00:55:08 +03:00
|
|
|
*/
|
2019-08-30 14:10:52 +03:00
|
|
|
public function __construct($url, $apiKey, $version, $site, $debug = false)
|
2017-06-22 00:55:08 +03:00
|
|
|
{
|
2019-08-30 14:10:52 +03:00
|
|
|
parent::__construct($url, $apiKey, $version, $site, $debug);
|
2017-06-22 00:55:08 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
use V5\Customers;
|
2019-10-15 13:13:25 +03:00
|
|
|
use V5\CustomersCorporate;
|
2018-02-20 17:50:45 +03:00
|
|
|
use V5\Costs;
|
2017-06-22 00:55:08 +03:00
|
|
|
use V5\CustomFields;
|
|
|
|
use V5\Delivery;
|
2019-08-30 14:10:52 +03:00
|
|
|
use V5\Files;
|
2017-11-17 15:02:54 +03:00
|
|
|
use V5\Module;
|
2023-03-09 09:58:39 +03:00
|
|
|
use V5\Notifications;
|
2017-06-22 00:55:08 +03:00
|
|
|
use V5\Orders;
|
|
|
|
use V5\Packs;
|
|
|
|
use V5\References;
|
|
|
|
use V5\Segments;
|
2020-07-14 10:07:01 +03:00
|
|
|
use V5\Settings;
|
2017-06-22 00:55:08 +03:00
|
|
|
use V5\Statistic;
|
|
|
|
use V5\Stores;
|
|
|
|
use V5\Tasks;
|
|
|
|
use V5\Telephony;
|
|
|
|
use V5\Users;
|
2019-07-10 16:25:50 +03:00
|
|
|
use V5\IntegrationPayments;
|
2023-05-05 09:54:42 +03:00
|
|
|
use V5\Loyalty;
|
2017-06-22 00:55:08 +03:00
|
|
|
}
|