2efa527817
Loyalty API
61 lines
1.1 KiB
PHP
61 lines
1.1 KiB
PHP
<?php
|
|
|
|
/**
|
|
* PHP version 5.4
|
|
*
|
|
* API client v5
|
|
*
|
|
* @category RetailCrm
|
|
* @package RetailCrm
|
|
*/
|
|
|
|
namespace RetailCrm\Client;
|
|
|
|
use RetailCrm\Methods\V5;
|
|
|
|
/**
|
|
* PHP version 5.4
|
|
*
|
|
* API client v5 class
|
|
*
|
|
* @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
|
|
* @param bool $debug debug mode
|
|
*/
|
|
public function __construct($url, $apiKey, $version, $site, $debug = false)
|
|
{
|
|
parent::__construct($url, $apiKey, $version, $site, $debug);
|
|
}
|
|
|
|
use V5\Customers;
|
|
use V5\CustomersCorporate;
|
|
use V5\Costs;
|
|
use V5\CustomFields;
|
|
use V5\Delivery;
|
|
use V5\Files;
|
|
use V5\Module;
|
|
use V5\Notifications;
|
|
use V5\Orders;
|
|
use V5\Packs;
|
|
use V5\References;
|
|
use V5\Segments;
|
|
use V5\Settings;
|
|
use V5\Statistic;
|
|
use V5\Stores;
|
|
use V5\Tasks;
|
|
use V5\Telephony;
|
|
use V5\Users;
|
|
use V5\IntegrationPayments;
|
|
use V5\Loyalty;
|
|
}
|