276 lines
4.4 KiB
PHP
276 lines
4.4 KiB
PHP
<?php
|
|
|
|
namespace Yeepay\Yop\Sdk\Service\Account\Model;
|
|
|
|
use Yeepay\Yop\Sdk\Model\BaseRequest;
|
|
|
|
class RechargeBankOrderRequest extends BaseRequest
|
|
{
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $parentMerchantNo;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $merchantNo;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $requestNo;
|
|
|
|
/**
|
|
* @var float
|
|
*/
|
|
private $amount;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $token;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $bankCode;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $notifyUrl;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $usage;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $remark;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $clientIp;
|
|
|
|
/**
|
|
* Gets parentMerchantNo
|
|
* @return string
|
|
*/
|
|
public function getParentMerchantNo()
|
|
{
|
|
return $this->parentMerchantNo;
|
|
}
|
|
|
|
/**
|
|
* Sets parentMerchantNo
|
|
* @param string $parentMerchantNo
|
|
* @return RechargeBankOrderRequest
|
|
*/
|
|
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 RechargeBankOrderRequest
|
|
*/
|
|
public function setMerchantNo($merchantNo)
|
|
{
|
|
$this->merchantNo = $merchantNo;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Gets requestNo
|
|
* @return string
|
|
*/
|
|
public function getRequestNo()
|
|
{
|
|
return $this->requestNo;
|
|
}
|
|
|
|
/**
|
|
* Sets requestNo
|
|
* @param string $requestNo
|
|
* @return RechargeBankOrderRequest
|
|
*/
|
|
public function setRequestNo($requestNo)
|
|
{
|
|
$this->requestNo = $requestNo;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Gets amount
|
|
* @return float
|
|
*/
|
|
public function getAmount()
|
|
{
|
|
return $this->amount;
|
|
}
|
|
|
|
/**
|
|
* Sets amount
|
|
* @param float $amount
|
|
* @return RechargeBankOrderRequest
|
|
*/
|
|
public function setAmount($amount)
|
|
{
|
|
$this->amount = $amount;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Gets token
|
|
* @return string
|
|
*/
|
|
public function getToken()
|
|
{
|
|
return $this->token;
|
|
}
|
|
|
|
/**
|
|
* Sets token
|
|
* @param string $token
|
|
* @return RechargeBankOrderRequest
|
|
*/
|
|
public function setToken($token)
|
|
{
|
|
$this->token = $token;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Gets bankCode
|
|
* @return string
|
|
*/
|
|
public function getBankCode()
|
|
{
|
|
return $this->bankCode;
|
|
}
|
|
|
|
/**
|
|
* Sets bankCode
|
|
* @param string $bankCode
|
|
* @return RechargeBankOrderRequest
|
|
*/
|
|
public function setBankCode($bankCode)
|
|
{
|
|
$this->bankCode = $bankCode;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Gets notifyUrl
|
|
* @return string
|
|
*/
|
|
public function getNotifyUrl()
|
|
{
|
|
return $this->notifyUrl;
|
|
}
|
|
|
|
/**
|
|
* Sets notifyUrl
|
|
* @param string $notifyUrl
|
|
* @return RechargeBankOrderRequest
|
|
*/
|
|
public function setNotifyUrl($notifyUrl)
|
|
{
|
|
$this->notifyUrl = $notifyUrl;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Gets usage
|
|
* @return string
|
|
*/
|
|
public function getUsage()
|
|
{
|
|
return $this->usage;
|
|
}
|
|
|
|
/**
|
|
* Sets usage
|
|
* @param string $usage
|
|
* @return RechargeBankOrderRequest
|
|
*/
|
|
public function setUsage($usage)
|
|
{
|
|
$this->usage = $usage;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Gets remark
|
|
* @return string
|
|
*/
|
|
public function getRemark()
|
|
{
|
|
return $this->remark;
|
|
}
|
|
|
|
/**
|
|
* Sets remark
|
|
* @param string $remark
|
|
* @return RechargeBankOrderRequest
|
|
*/
|
|
public function setRemark($remark)
|
|
{
|
|
$this->remark = $remark;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Gets clientIp
|
|
* @return string
|
|
*/
|
|
public function getClientIp()
|
|
{
|
|
return $this->clientIp;
|
|
}
|
|
|
|
/**
|
|
* Sets clientIp
|
|
* @param string $clientIp
|
|
* @return RechargeBankOrderRequest
|
|
*/
|
|
public function setClientIp($clientIp)
|
|
{
|
|
$this->clientIp = $clientIp;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public static function getOperationId()
|
|
{
|
|
return 'rechargeBankOrder';
|
|
}
|
|
|
|
}
|