2021-12-20 11:41:41 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace datasets;
|
|
|
|
|
2022-01-10 12:53:00 +03:00
|
|
|
/**
|
|
|
|
* PHP version 5.6
|
|
|
|
*
|
|
|
|
* Class DataInventoriesRetailCrm - Data set for WC_Retailcrm_Inventories.
|
|
|
|
*
|
|
|
|
* @category Integration
|
|
|
|
* @author RetailCRM <integration@retailcrm.ru>
|
|
|
|
* @license http://retailcrm.ru Proprietary
|
|
|
|
* @link http://retailcrm.ru
|
|
|
|
* @see http://help.retailcrm.ru
|
|
|
|
*/
|
2021-12-20 11:41:41 +03:00
|
|
|
class DataInventoriesRetailCrm {
|
|
|
|
public static function getResponseData()
|
|
|
|
{
|
|
|
|
return array(
|
|
|
|
'success' => true,
|
|
|
|
'pagination' => array(
|
|
|
|
'limit' => 250,
|
|
|
|
'totalCount' => 1,
|
|
|
|
'currentPage' => 1,
|
|
|
|
'totalPageCount' => 1
|
|
|
|
),
|
|
|
|
'offers' => array(
|
|
|
|
array(
|
|
|
|
'id' => 1,
|
|
|
|
'xmlId' => 'xmlId',
|
|
|
|
'quantity' => 10
|
|
|
|
)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|