Files
xstore/inc/Hura8/Interfaces/iClientERP.php
2025-10-04 11:46:59 +07:00

38 lines
789 B
PHP

<?php
/**
* Created by Glee Ltd.
* Description: interface to work with our clients
*/
namespace Hura8\Interfaces;
interface iClientERP
{
public function createOrder(array $order_info) ;
/**
* get log data
*/
public function getLog($type, $limit = 50);
/**
* log data
*/
public function log($type, array $data);
/**
* @description: clean any existing data before populate new ones
*/
public function cleanExistingData();
// get summary of products in the system
public function getProductSummary();
// save product from erp to tmp tables
public function saveProductToWeb(array $erp_product_list);
// start sync tmp tables to actual tables
public function syncProductToWeb(array $options = []);
}