This commit is contained in:
2024-01-29 10:39:53 +07:00
parent 545c404fdf
commit 72170f373a
143 changed files with 20188 additions and 3 deletions

View File

@@ -0,0 +1,37 @@
<?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 = []);
}