PayExchangeInfoItem.php 1.9 KB
<?php


namespace Lackoxygen\Customs\Request\Struct;

use Lackoxygen\Customs\Utils\Collection;

class PayExchangeInfoItem extends Collection
{
    /**
     * @return mixed
     */
    public function getOrderNo()
    {
        return $this->mGet(__FUNCTION__);
    }

    /**
     * @param string 交易平台向海关申报订单的的订单编号。需返回原始请求内的所有订单
     */
    public function setOrderNo(): void
    {
        $this->mSet(__FUNCTION__, (string)func_get_arg(0));
    }

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

    /**
     * @param GoodsInfoItem $goodsInfoItem
     */
    public function pushGoodsInfo(GoodsInfoItem $goodsInfoItem): void
    {
        $this->mPush(__FUNCTION__, $goodsInfoItem);
    }

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

    /**
     * @param string 交易商品的卖方商户账号。电商平台自营商户应填写自营商户的收款账户;非自营电商应填写非自营商户的收款账户
     */
    public function setRecpAccount(): void
    {
        $this->mSet(__FUNCTION__, (string)func_get_arg(0));
    }

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

    /**
     * @param string 应填写收款企业代码(境内企业为统一社会信用代码;境外企业可不填写)
     */
    public function setRecpCode(): void
    {
        $this->mSet(__FUNCTION__, (string)func_get_arg(0));
    }

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

    /**
     * @param string 应填写收款企业名称
     */
    public function setRecpName(): void
    {
        $this->mSet(__FUNCTION__, (string)func_get_arg(0));
    }

}