PayExInfo.php 2.1 KB
<?php


namespace Lackoxygen\Customs\Request;

use Lackoxygen\Customs\Request\Struct\PayExchangeInfoHead;
use Lackoxygen\Customs\Request\Struct\PayExchangeInfoItem;

class PayExInfo extends Request
{
    /**
     * @return mixed
     */
    public function getSessionID()
    {
        return $this->mGet(__FUNCTION__);
    }

    /**
     * @param string 海关发起请求时,平台接收的会话ID。
     */
    public function setSessionID(): void
    {
        $this->mSet(__FUNCTION__, func_get_arg(0));
    }

    /**
     * @return mixed
     */
    public function getPayExchangeInfoHead()
    {
        return $this->mGet(__FUNCTION__);
    }

    /**
     * @param mixed $payExchangeInfoHead 支付原始数据表头
     */
    public function setPayExchangeInfoHead(PayExchangeInfoHead $payExchangeInfoHead): void
    {
        $this->mSet(__FUNCTION__, $payExchangeInfoHead);
    }

    /**
     * @return mixed
     */
    public function getPayExchangeInfoLists()
    {
        return $this->mGet(__FUNCTION__);
    }


    /**
     * @param PayExchangeInfoItem $payExchangeInfoItem 支付原始数据表体
     */
    public function pushPayExchangeInfoLists(PayExchangeInfoItem $payExchangeInfoItem): void
    {
        $this->mPush(__FUNCTION__, $payExchangeInfoItem);
    }

    /**
     * @return mixed
     */
    public function getServiceTime()
    {
        return $this->mGet(__FUNCTION__);
    }

    /**
     * @param string 调用时的系统时间
     */
    public function setServiceTime(): void
    {
        $this->mSet(__FUNCTION__, (string)func_get_arg(0));
    }

    /**
     * @return mixed
     */
    public function getCertNo()
    {
        return $this->mGet(__FUNCTION__);
    }

    /**
     * @param string 证书编号
     */
    public function setCertNo(): void
    {
        $this->mSet(__FUNCTION__, (string)func_get_arg(0));
    }

    /**
     * @return mixed
     */
    public function getSignValue()
    {
        return $this->mGet(__FUNCTION__);
    }

    /**
     * @param string 签名结果值
     */
    public function setSignValue(): void
    {
        $this->mSet(__FUNCTION__, (string)func_get_arg(0));
    }

}