|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
|
|
namespace Lackoxygen\Customs\Request\Struct;
|
|
|
|
|
|
|
|
use Lackoxygen\Customs\Utils\Collection;
|
|
|
|
|
|
|
|
class PayExchangeInfoHead extends Collection
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function getGuid()
|
|
|
|
{
|
|
|
|
return $this->mGet(__FUNCTION__);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string 企业系统生成36位唯一序号(英文字母大写)
|
|
|
|
*/
|
|
|
|
public function setGuid(): void
|
|
|
|
{
|
|
|
|
$this->mSet(__FUNCTION__, (string)func_get_arg(0));
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function getInitalRequest()
|
|
|
|
{
|
|
|
|
return $this->mGet(__FUNCTION__);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string 跨境电商平台企业向支付企业发送的原始信息
|
|
|
|
*/
|
|
|
|
public function setInitalRequest(): void
|
|
|
|
{
|
|
|
|
$this->mSet(__FUNCTION__, (string)func_get_arg(0));
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function getInitalResponse()
|
|
|
|
{
|
|
|
|
return $this->mGet(__FUNCTION__);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string 支付企业向跨境电商平台企业反馈的原始信息
|
|
|
|
*/
|
|
|
|
public function setInitalResponse(): void
|
|
|
|
{
|
|
|
|
$this->mSet(__FUNCTION__, (string)func_get_arg(0));
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function getEbpCode()
|
|
|
|
{
|
|
|
|
return $this->mGet(__FUNCTION__);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string 电商平台的海关注册登记编号
|
|
|
|
*/
|
|
|
|
public function setEbpCode(): void
|
|
|
|
{
|
|
|
|
$this->mSet(__FUNCTION__, (string)func_get_arg(0));
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function getPayCode()
|
|
|
|
{
|
|
|
|
return $this->mGet(__FUNCTION__);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string 支付企业的海关注册登记编号
|
|
|
|
*/
|
|
|
|
public function setPayCode(): void
|
|
|
|
{
|
|
|
|
$this->mSet(__FUNCTION__, (string)func_get_arg(0));
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function getPayTransactionId()
|
|
|
|
{
|
|
|
|
return $this->mGet(__FUNCTION__);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string 交易唯一编号(可在央行认可的机构验证)
|
|
|
|
*/
|
|
|
|
public function setPayTransactionId(): void
|
|
|
|
{
|
|
|
|
$this->mSet(__FUNCTION__, (string)func_get_arg(0));
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function getTotalAmount()
|
|
|
|
{
|
|
|
|
return $this->mGet(__FUNCTION__);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param float 实际交易金额
|
|
|
|
*/
|
|
|
|
public function setTotalAmount(): void
|
|
|
|
{
|
|
|
|
$this->mSet(__FUNCTION__, func_get_arg(0));
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function getCurrency()
|
|
|
|
{
|
|
|
|
return $this->mGet(__FUNCTION__);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string 实际交易币制(海关编码
|
|
|
|
*/
|
|
|
|
public function setCurrency(): void
|
|
|
|
{
|
|
|
|
$this->mSet(__FUNCTION__, (string)func_get_arg(0));
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function getVerDept()
|
|
|
|
{
|
|
|
|
return $this->mGet(__FUNCTION__);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string 1-银联 2-网联 3-其他
|
|
|
|
*/
|
|
|
|
public function setVerDept(): void
|
|
|
|
{
|
|
|
|
$this->mSet(__FUNCTION__, (string)func_get_arg(0));
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function getPayType()
|
|
|
|
{
|
|
|
|
return $this->mGet(__FUNCTION__);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string 用户支付的类型。1-APP 2-PC 3-扫码 4-其他
|
|
|
|
*/
|
|
|
|
public function setPayType(): void
|
|
|
|
{
|
|
|
|
$this->mSet(__FUNCTION__, (string)func_get_arg(0));
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function getTradingTime()
|
|
|
|
{
|
|
|
|
return $this->mGet(__FUNCTION__);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string 交易支付时间
|
|
|
|
*/
|
|
|
|
public function setTradingTime(): void
|
|
|
|
{
|
|
|
|
$this->mSet(__FUNCTION__, (string)func_get_arg(0));
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function getNote()
|
|
|
|
{
|
|
|
|
return $this->mGet(__FUNCTION__);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string 备注
|
|
|
|
*/
|
|
|
|
public function setNote(): void
|
|
|
|
{
|
|
|
|
$this->mSet(__FUNCTION__, (string)func_get_arg(0));
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
} |
...
|
...
|
|