276 lines
4.4 KiB
PHP
276 lines
4.4 KiB
PHP
<?php
|
|
|
|
namespace Yeepay\Yop\Sdk\Service\Cashier\Model;
|
|
|
|
use Yeepay\Yop\Sdk\Model\BaseRequest;
|
|
|
|
class PayLinkOrderRequest extends BaseRequest
|
|
{
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $parentMerchantNo;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $merchantNo;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $orderId;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $goodsName;
|
|
|
|
/**
|
|
* @var float
|
|
*/
|
|
private $amount;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $expiredTime;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $notifyUrl;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $scene;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $fundProcessType;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $appId;
|
|
|
|
/**
|
|
* Gets parentMerchantNo
|
|
* @return string
|
|
*/
|
|
public function getParentMerchantNo()
|
|
{
|
|
return $this->parentMerchantNo;
|
|
}
|
|
|
|
/**
|
|
* Sets parentMerchantNo
|
|
* @param string $parentMerchantNo
|
|
* @return PayLinkOrderRequest
|
|
*/
|
|
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 PayLinkOrderRequest
|
|
*/
|
|
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 PayLinkOrderRequest
|
|
*/
|
|
public function setOrderId($orderId)
|
|
{
|
|
$this->orderId = $orderId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Gets goodsName
|
|
* @return string
|
|
*/
|
|
public function getGoodsName()
|
|
{
|
|
return $this->goodsName;
|
|
}
|
|
|
|
/**
|
|
* Sets goodsName
|
|
* @param string $goodsName
|
|
* @return PayLinkOrderRequest
|
|
*/
|
|
public function setGoodsName($goodsName)
|
|
{
|
|
$this->goodsName = $goodsName;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Gets amount
|
|
* @return float
|
|
*/
|
|
public function getAmount()
|
|
{
|
|
return $this->amount;
|
|
}
|
|
|
|
/**
|
|
* Sets amount
|
|
* @param float $amount
|
|
* @return PayLinkOrderRequest
|
|
*/
|
|
public function setAmount($amount)
|
|
{
|
|
$this->amount = $amount;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Gets expiredTime
|
|
* @return string
|
|
*/
|
|
public function getExpiredTime()
|
|
{
|
|
return $this->expiredTime;
|
|
}
|
|
|
|
/**
|
|
* Sets expiredTime
|
|
* @param string $expiredTime
|
|
* @return PayLinkOrderRequest
|
|
*/
|
|
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 PayLinkOrderRequest
|
|
*/
|
|
public function setNotifyUrl($notifyUrl)
|
|
{
|
|
$this->notifyUrl = $notifyUrl;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Gets scene
|
|
* @return string
|
|
*/
|
|
public function getScene()
|
|
{
|
|
return $this->scene;
|
|
}
|
|
|
|
/**
|
|
* Sets scene
|
|
* @param string $scene
|
|
* @return PayLinkOrderRequest
|
|
*/
|
|
public function setScene($scene)
|
|
{
|
|
$this->scene = $scene;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Gets fundProcessType
|
|
* @return string
|
|
*/
|
|
public function getFundProcessType()
|
|
{
|
|
return $this->fundProcessType;
|
|
}
|
|
|
|
/**
|
|
* Sets fundProcessType
|
|
* @param string $fundProcessType
|
|
* @return PayLinkOrderRequest
|
|
*/
|
|
public function setFundProcessType($fundProcessType)
|
|
{
|
|
$this->fundProcessType = $fundProcessType;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Gets appId
|
|
* @return string
|
|
*/
|
|
public function getAppId()
|
|
{
|
|
return $this->appId;
|
|
}
|
|
|
|
/**
|
|
* Sets appId
|
|
* @param string $appId
|
|
* @return PayLinkOrderRequest
|
|
*/
|
|
public function setAppId($appId)
|
|
{
|
|
$this->appId = $appId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public static function getOperationId()
|
|
{
|
|
return 'payLinkOrder';
|
|
}
|
|
|
|
}
|