SyncAliexpressServiceInterface.php 943 Bytes
Newer Older
Bob Lee Swagger's avatar
Bob Lee Swagger committed
1 2 3 4 5 6 7 8 9 10 11 12 13
<?php
/**
 * Created by PhpStorm.
 * User: qiudongfang
 * Date: ${DATA}
 * Time: 下午2:57
 */

namespace Meibuyu\Rpc\Service\Interfaces\SyncDataService;

interface SyncAliexpressServiceInterface
{
    /**
Bob Lee Swagger's avatar
Bob Lee Swagger committed
14
     * @param integer $siteId
Bob Lee Swagger's avatar
Bob Lee Swagger committed
15
     * @param integer $status
Bob Lee Swagger's avatar
Bob Lee Swagger committed
16
     * @param array $orderIds
Bob Lee Swagger's avatar
Bob Lee Swagger committed
17 18
     * @return mixed
     */
Bob Lee Swagger's avatar
Bob Lee Swagger committed
19
    public function syncOrders($siteId, $status, $orderIds);
Bob Lee Swagger's avatar
Bob Lee Swagger committed
20

21 22 23 24 25 26 27 28
    /**
     * @param integer $siteId
     * @param array $orderIds
     * @param integer $status
     * @return mixed
     */
    public function updateOrderStatus($siteId, $orderIds, $status);

Bob Lee Swagger's avatar
Bob Lee Swagger committed
29
    /**
Bob Lee Swagger's avatar
Bob Lee Swagger committed
30
     * @param integer $siteId
Bob Lee Swagger's avatar
Bob Lee Swagger committed
31
     * @param array $productIds
Bob Lee Swagger's avatar
Bob Lee Swagger committed
32 33
     * @return mixed
     */
Bob Lee Swagger's avatar
Bob Lee Swagger committed
34
    public function syncProducts($siteId, $productIds);
35 36 37 38 39 40 41 42

    /**
     * @param integer $siteId
     * @param array $productIds
     * @param integer $status
     * @return mixed
     */
    public function updateProductStatus($siteId, $productIds, $status);
Bob Lee Swagger's avatar
Bob Lee Swagger committed
43
}