Order.php 5.2 KB
<?php

namespace Lackoxygen\TiktokShop\Passage\Order;

use Lackoxygen\TiktokShop\Passage\Passage;

class Order extends Passage implements OrderInterface
{
    /**
     * @inheritDoc
     */
    public function searchList(array $params)
    {
        $this->builder->method('POST')
            ->service('order.searchList')
            ->path('/order/searchList')
            ->params($params);
    }

    /**
     * @inheritDoc
     */
    public function orderDetail(array $params)
    {
        $this->builder->method('POST')
            ->service('order.orderDetail')
            ->path('/order/orderDetail')
            ->params($params);
    }

    /**
     * @inheritDoc
     */
    public function batchDecrypt(array $params)
    {
        $this->builder->method('POST')
            ->service('order.batchDecrypt')
            ->path('/order/batchDecrypt')
            ->params($params);
    }

    /**
     * @inheritDoc
     */
    public function addOrderRemark(array $params)
    {
        $this->builder->method('POST')
            ->service('order.addOrderRemark')
            ->path('/order/addOrderRemark')
            ->params($params);
    }

    /**
     * @inheritDoc
     */
    public function updatePostAmount(array $params)
    {
        $this->builder->method('POST')
            ->service('order.updatePostAmount')
            ->path('/order/updatePostAmount')
            ->params($params);
    }

    /**
     * @inheritDoc
     */
    public function addressAppliedSwitch(array $params)
    {
        $this->builder->method('POST')
            ->service('order.AddressAppliedSwitch')
            ->path('/order/AddressAppliedSwitch')
            ->params($params);
    }

    /**
     * @inheritDoc
     */
    public function updateOrderAmount(array $params)
    {
        $this->builder
            ->method('POST')
            ->service('order.updateOrderAmount')
            ->path('')
            ->params($params);
    }

    public function addressConfirm(array $params)
    {
        $this->builder
            ->method('POST')
            ->service('order.addressConfirm')
            ->params($params);
    }

    /**
     * @inheritDoc
     */
    public function addressModify(array $params)
    {
        $this->builder
            ->method('POST')
            ->service('order.addressModify')
            ->params($params);
    }

    /**
     * @inheritDoc
     */
    public function addressSwitchConfig(array $params)
    {
        $this->builder
            ->method('POST')
            ->service('order.addresSwitchConfig')
            ->params($params);
    }

    /**
     * @inheritDoc
     */
    public function invoiceList(array $params)
    {
        $this->builder->method('POST')
            ->service('order.invoiceList')
            ->params($params);
    }

    /**
     * @inheritDoc
     */
    public function batchEncrypt(array $params)
    {
        $this->builder
            ->method('POST')
            ->service('order.batchEncrypt')
            ->params($params);
    }

    /**
     * @inheritDoc
     */
    public function batchSensitive(array $params)
    {
        $this->builder
            ->method('POST')
            ->service('order.batchSensitive')
            ->params($params);
    }

    public function invoiceUpload(array $params)
    {
        $this->builder
            ->method('POST')
            ->service('order.stockUp')
            ->params($params);
    }

    /**
     * @inheritDoc
     */
    public function batchSearchIndex(array $params)
    {
        $this->builder
            ->method('POST')
            ->service('order.BatchSearchIndex')
            ->params($params);
    }

    /**
     * @inheritDoc
     */
    public function antispamOrderSend(array $params)
    {
        $this->builder
            ->method('POST')
            ->service('antispam.orderSend')
            ->params($params);
    }

    /**
     * @inheritDoc
     */
    public function antispamOrderQuery(array $params)
    {
        $this->builder
            ->method('POST')
            ->service('antispam.orderQuery')
            ->params($params);
    }

    /**
     * @inheritDoc
     */
    public function getCrossBorderFulfillInfo(array $params)
    {
        $this->builder
            ->method('POST')
            ->service('order.getCrossBorderFulfillInfo')
            ->params($params);
    }

    /**
     * @inheritDoc
     */
    public function getServiceList(array $params)
    {
        $this->builder
            ->method('POST')
            ->service('order.getServiceList')
            ->params($params);
    }

    /**
     * @inheritDoc
     */
    public function addSerialNumber(array $params)
    {
        $this->builder
            ->method('POST')
            ->service('order.addSerialNumber')
            ->params($params);
    }

    /**
     * @inheritDoc
     */
    public function replyService(array $params)
    {
        $this->builder
            ->method('POST')
            ->service('order.replyService')
            ->params($params);
    }

    /**
     * @inheritDoc
     */
    public function serviceDetail(array $params)
    {
        $this->builder
            ->method('POST')
            ->service('order.serviceDetail')
            ->params($params);
    }
}