1
0
mirror of synced 2025-01-19 09:21:43 +03:00
woocommerce-module/tests/datasets/data-inventories-retailcrm.php
2022-01-10 12:53:00 +03:00

36 lines
868 B
PHP

<?php
namespace datasets;
/**
* 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
*/
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
)
)
);
}
}