343 lines
5.9 KiB
PHP
343 lines
5.9 KiB
PHP
<?php
|
|
|
|
|
|
namespace Yeepay\Yop\Sdk\Service\MWallet\Model;
|
|
|
|
|
|
class TradeOrderV20Request extends \Yeepay\Yop\Sdk\Model\BaseRequest
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $parentMerchantNo;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $merchantNo;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $orderId;
|
|
/**
|
|
* @var float
|
|
*/
|
|
private $orderAmount;
|
|
/**
|
|
* @var \DateTime
|
|
*/
|
|
private $expiredTime;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $notifyUrl;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $memo;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $goodsName;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $fundProcessType;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $memberNo;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $payerIp;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $payAgreement;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $csUrl;
|
|
|
|
/**
|
|
* Gets parentMerchantNo
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getParentMerchantNo()
|
|
{
|
|
return $this->parentMerchantNo;
|
|
}
|
|
|
|
/**
|
|
* Sets parentMerchantNo
|
|
*
|
|
* @param string $parentMerchantNo
|
|
* @return TradeOrderV20Request
|
|
*/
|
|
public function setParentMerchantNo($parentMerchantNo)
|
|
{
|
|
$this->parentMerchantNo = $parentMerchantNo;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets merchantNo
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getMerchantNo()
|
|
{
|
|
return $this->merchantNo;
|
|
}
|
|
|
|
/**
|
|
* Sets merchantNo
|
|
*
|
|
* @param string $merchantNo
|
|
* @return TradeOrderV20Request
|
|
*/
|
|
public function setMerchantNo($merchantNo)
|
|
{
|
|
$this->merchantNo = $merchantNo;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets orderId
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getOrderId()
|
|
{
|
|
return $this->orderId;
|
|
}
|
|
|
|
/**
|
|
* Sets orderId
|
|
*
|
|
* @param string $orderId
|
|
* @return TradeOrderV20Request
|
|
*/
|
|
public function setOrderId($orderId)
|
|
{
|
|
$this->orderId = $orderId;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets orderAmount
|
|
*
|
|
* @return float
|
|
*/
|
|
public function getOrderAmount()
|
|
{
|
|
return $this->orderAmount;
|
|
}
|
|
|
|
/**
|
|
* Sets orderAmount
|
|
*
|
|
* @param float $orderAmount
|
|
* @return TradeOrderV20Request
|
|
*/
|
|
public function setOrderAmount($orderAmount)
|
|
{
|
|
$this->orderAmount = $orderAmount;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets expiredTime
|
|
*
|
|
* @return \DateTime
|
|
*/
|
|
public function getExpiredTime()
|
|
{
|
|
return $this->expiredTime;
|
|
}
|
|
|
|
/**
|
|
* Sets expiredTime
|
|
*
|
|
* @param \DateTime $expiredTime
|
|
* @return TradeOrderV20Request
|
|
*/
|
|
public function setExpiredTime($expiredTime)
|
|
{
|
|
$this->expiredTime = $expiredTime;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets notifyUrl
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getNotifyUrl()
|
|
{
|
|
return $this->notifyUrl;
|
|
}
|
|
|
|
/**
|
|
* Sets notifyUrl
|
|
*
|
|
* @param string $notifyUrl
|
|
* @return TradeOrderV20Request
|
|
*/
|
|
public function setNotifyUrl($notifyUrl)
|
|
{
|
|
$this->notifyUrl = $notifyUrl;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets memo
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getMemo()
|
|
{
|
|
return $this->memo;
|
|
}
|
|
|
|
/**
|
|
* Sets memo
|
|
*
|
|
* @param string $memo
|
|
* @return TradeOrderV20Request
|
|
*/
|
|
public function setMemo($memo)
|
|
{
|
|
$this->memo = $memo;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets goodsName
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getGoodsName()
|
|
{
|
|
return $this->goodsName;
|
|
}
|
|
|
|
/**
|
|
* Sets goodsName
|
|
*
|
|
* @param string $goodsName
|
|
* @return TradeOrderV20Request
|
|
*/
|
|
public function setGoodsName($goodsName)
|
|
{
|
|
$this->goodsName = $goodsName;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets fundProcessType
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getFundProcessType()
|
|
{
|
|
return $this->fundProcessType;
|
|
}
|
|
|
|
/**
|
|
* Sets fundProcessType
|
|
*
|
|
* @param string $fundProcessType
|
|
* @return TradeOrderV20Request
|
|
*/
|
|
public function setFundProcessType($fundProcessType)
|
|
{
|
|
$this->fundProcessType = $fundProcessType;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets memberNo
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getMemberNo()
|
|
{
|
|
return $this->memberNo;
|
|
}
|
|
|
|
/**
|
|
* Sets memberNo
|
|
*
|
|
* @param string $memberNo
|
|
* @return TradeOrderV20Request
|
|
*/
|
|
public function setMemberNo($memberNo)
|
|
{
|
|
$this->memberNo = $memberNo;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets payerIp
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getPayerIp()
|
|
{
|
|
return $this->payerIp;
|
|
}
|
|
|
|
/**
|
|
* Sets payerIp
|
|
*
|
|
* @param string $payerIp
|
|
* @return TradeOrderV20Request
|
|
*/
|
|
public function setPayerIp($payerIp)
|
|
{
|
|
$this->payerIp = $payerIp;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets payAgreement
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getPayAgreement()
|
|
{
|
|
return $this->payAgreement;
|
|
}
|
|
|
|
/**
|
|
* Sets payAgreement
|
|
*
|
|
* @param string $payAgreement
|
|
* @return TradeOrderV20Request
|
|
*/
|
|
public function setPayAgreement($payAgreement)
|
|
{
|
|
$this->payAgreement = $payAgreement;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets csUrl
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getCsUrl()
|
|
{
|
|
return $this->csUrl;
|
|
}
|
|
|
|
/**
|
|
* Sets csUrl
|
|
*
|
|
* @param string $csUrl
|
|
* @return TradeOrderV20Request
|
|
*/
|
|
public function setCsUrl($csUrl)
|
|
{
|
|
$this->csUrl = $csUrl;
|
|
return $this;
|
|
}
|
|
|
|
public static function getOperationId()
|
|
{
|
|
return 'trade_order_v2_0';
|
|
}
|
|
|
|
|
|
}
|