618 lines
11 KiB
PHP
618 lines
11 KiB
PHP
<?php
|
|
|
|
|
|
namespace Yeepay\Yop\Sdk\Service\Aggpay\Model;
|
|
|
|
|
|
class PayLinkRequest extends \Yeepay\Yop\Sdk\Model\BaseRequest
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $parentMerchantNo;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $merchantNo;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $orderId;
|
|
/**
|
|
* @var float
|
|
*/
|
|
private $orderAmount;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $expiredTime;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $notifyUrl;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $memo;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $goodsName;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $fundProcessType;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $scene;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $appId;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $channelSpecifiedInfo;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $channelPromotionInfo;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $identityInfo;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $limitCredit;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $csUrl;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $ypPromotionInfo;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $businessInfo;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $token;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $ypAccountBookNo;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $productInfo;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $divideDetail;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $divideNotifyUrl;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $feeSubsidyInfo;
|
|
|
|
/**
|
|
* Gets parentMerchantNo
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getParentMerchantNo()
|
|
{
|
|
return $this->parentMerchantNo;
|
|
}
|
|
|
|
/**
|
|
* Sets parentMerchantNo
|
|
*
|
|
* @param string $parentMerchantNo
|
|
* @return PayLinkRequest
|
|
*/
|
|
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 PayLinkRequest
|
|
*/
|
|
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 PayLinkRequest
|
|
*/
|
|
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 PayLinkRequest
|
|
*/
|
|
public function setOrderAmount($orderAmount)
|
|
{
|
|
$this->orderAmount = $orderAmount;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets expiredTime
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getExpiredTime()
|
|
{
|
|
return $this->expiredTime;
|
|
}
|
|
|
|
/**
|
|
* Sets expiredTime
|
|
*
|
|
* @param string $expiredTime
|
|
* @return PayLinkRequest
|
|
*/
|
|
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 PayLinkRequest
|
|
*/
|
|
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 PayLinkRequest
|
|
*/
|
|
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 PayLinkRequest
|
|
*/
|
|
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 PayLinkRequest
|
|
*/
|
|
public function setFundProcessType($fundProcessType)
|
|
{
|
|
$this->fundProcessType = $fundProcessType;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets scene
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getScene()
|
|
{
|
|
return $this->scene;
|
|
}
|
|
|
|
/**
|
|
* Sets scene
|
|
*
|
|
* @param string $scene
|
|
* @return PayLinkRequest
|
|
*/
|
|
public function setScene($scene)
|
|
{
|
|
$this->scene = $scene;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets appId
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getAppId()
|
|
{
|
|
return $this->appId;
|
|
}
|
|
|
|
/**
|
|
* Sets appId
|
|
*
|
|
* @param string $appId
|
|
* @return PayLinkRequest
|
|
*/
|
|
public function setAppId($appId)
|
|
{
|
|
$this->appId = $appId;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets channelSpecifiedInfo
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getChannelSpecifiedInfo()
|
|
{
|
|
return $this->channelSpecifiedInfo;
|
|
}
|
|
|
|
/**
|
|
* Sets channelSpecifiedInfo
|
|
*
|
|
* @param string $channelSpecifiedInfo
|
|
* @return PayLinkRequest
|
|
*/
|
|
public function setChannelSpecifiedInfo($channelSpecifiedInfo)
|
|
{
|
|
$this->channelSpecifiedInfo = $channelSpecifiedInfo;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets channelPromotionInfo
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getChannelPromotionInfo()
|
|
{
|
|
return $this->channelPromotionInfo;
|
|
}
|
|
|
|
/**
|
|
* Sets channelPromotionInfo
|
|
*
|
|
* @param string $channelPromotionInfo
|
|
* @return PayLinkRequest
|
|
*/
|
|
public function setChannelPromotionInfo($channelPromotionInfo)
|
|
{
|
|
$this->channelPromotionInfo = $channelPromotionInfo;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets identityInfo
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getIdentityInfo()
|
|
{
|
|
return $this->identityInfo;
|
|
}
|
|
|
|
/**
|
|
* Sets identityInfo
|
|
*
|
|
* @param string $identityInfo
|
|
* @return PayLinkRequest
|
|
*/
|
|
public function setIdentityInfo($identityInfo)
|
|
{
|
|
$this->identityInfo = $identityInfo;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets limitCredit
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getLimitCredit()
|
|
{
|
|
return $this->limitCredit;
|
|
}
|
|
|
|
/**
|
|
* Sets limitCredit
|
|
*
|
|
* @param string $limitCredit
|
|
* @return PayLinkRequest
|
|
*/
|
|
public function setLimitCredit($limitCredit)
|
|
{
|
|
$this->limitCredit = $limitCredit;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets csUrl
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getCsUrl()
|
|
{
|
|
return $this->csUrl;
|
|
}
|
|
|
|
/**
|
|
* Sets csUrl
|
|
*
|
|
* @param string $csUrl
|
|
* @return PayLinkRequest
|
|
*/
|
|
public function setCsUrl($csUrl)
|
|
{
|
|
$this->csUrl = $csUrl;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets ypPromotionInfo
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getYpPromotionInfo()
|
|
{
|
|
return $this->ypPromotionInfo;
|
|
}
|
|
|
|
/**
|
|
* Sets ypPromotionInfo
|
|
*
|
|
* @param string $ypPromotionInfo
|
|
* @return PayLinkRequest
|
|
*/
|
|
public function setYpPromotionInfo($ypPromotionInfo)
|
|
{
|
|
$this->ypPromotionInfo = $ypPromotionInfo;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets businessInfo
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getBusinessInfo()
|
|
{
|
|
return $this->businessInfo;
|
|
}
|
|
|
|
/**
|
|
* Sets businessInfo
|
|
*
|
|
* @param string $businessInfo
|
|
* @return PayLinkRequest
|
|
*/
|
|
public function setBusinessInfo($businessInfo)
|
|
{
|
|
$this->businessInfo = $businessInfo;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets token
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getToken()
|
|
{
|
|
return $this->token;
|
|
}
|
|
|
|
/**
|
|
* Sets token
|
|
*
|
|
* @param string $token
|
|
* @return PayLinkRequest
|
|
*/
|
|
public function setToken($token)
|
|
{
|
|
$this->token = $token;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets ypAccountBookNo
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getYpAccountBookNo()
|
|
{
|
|
return $this->ypAccountBookNo;
|
|
}
|
|
|
|
/**
|
|
* Sets ypAccountBookNo
|
|
*
|
|
* @param string $ypAccountBookNo
|
|
* @return PayLinkRequest
|
|
*/
|
|
public function setYpAccountBookNo($ypAccountBookNo)
|
|
{
|
|
$this->ypAccountBookNo = $ypAccountBookNo;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets productInfo
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getProductInfo()
|
|
{
|
|
return $this->productInfo;
|
|
}
|
|
|
|
/**
|
|
* Sets productInfo
|
|
*
|
|
* @param string $productInfo
|
|
* @return PayLinkRequest
|
|
*/
|
|
public function setProductInfo($productInfo)
|
|
{
|
|
$this->productInfo = $productInfo;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets divideDetail
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getDivideDetail()
|
|
{
|
|
return $this->divideDetail;
|
|
}
|
|
|
|
/**
|
|
* Sets divideDetail
|
|
*
|
|
* @param string $divideDetail
|
|
* @return PayLinkRequest
|
|
*/
|
|
public function setDivideDetail($divideDetail)
|
|
{
|
|
$this->divideDetail = $divideDetail;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets divideNotifyUrl
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getDivideNotifyUrl()
|
|
{
|
|
return $this->divideNotifyUrl;
|
|
}
|
|
|
|
/**
|
|
* Sets divideNotifyUrl
|
|
*
|
|
* @param string $divideNotifyUrl
|
|
* @return PayLinkRequest
|
|
*/
|
|
public function setDivideNotifyUrl($divideNotifyUrl)
|
|
{
|
|
$this->divideNotifyUrl = $divideNotifyUrl;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets feeSubsidyInfo
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getFeeSubsidyInfo()
|
|
{
|
|
return $this->feeSubsidyInfo;
|
|
}
|
|
|
|
/**
|
|
* Sets feeSubsidyInfo
|
|
*
|
|
* @param string $feeSubsidyInfo
|
|
* @return PayLinkRequest
|
|
*/
|
|
public function setFeeSubsidyInfo($feeSubsidyInfo)
|
|
{
|
|
$this->feeSubsidyInfo = $feeSubsidyInfo;
|
|
return $this;
|
|
}
|
|
|
|
public static function getOperationId()
|
|
{
|
|
return 'payLink';
|
|
}
|
|
|
|
|
|
}
|