443 lines
7.7 KiB
PHP
443 lines
7.7 KiB
PHP
<?php
|
|
|
|
|
|
namespace Yeepay\Yop\Sdk\Service\Netpay\Model;
|
|
|
|
|
|
class OrderSdkPayOrderRequest 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 $cardType;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $bankAccountType;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $bankCode;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $terminalType;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $payerIp;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $csUrl;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $businessInfo;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $redirectUrl;
|
|
|
|
/**
|
|
* Gets parentMerchantNo
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getParentMerchantNo()
|
|
{
|
|
return $this->parentMerchantNo;
|
|
}
|
|
|
|
/**
|
|
* Sets parentMerchantNo
|
|
*
|
|
* @param string $parentMerchantNo
|
|
* @return OrderSdkPayOrderRequest
|
|
*/
|
|
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 OrderSdkPayOrderRequest
|
|
*/
|
|
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 OrderSdkPayOrderRequest
|
|
*/
|
|
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 OrderSdkPayOrderRequest
|
|
*/
|
|
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 OrderSdkPayOrderRequest
|
|
*/
|
|
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 OrderSdkPayOrderRequest
|
|
*/
|
|
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 OrderSdkPayOrderRequest
|
|
*/
|
|
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 OrderSdkPayOrderRequest
|
|
*/
|
|
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 OrderSdkPayOrderRequest
|
|
*/
|
|
public function setFundProcessType($fundProcessType)
|
|
{
|
|
$this->fundProcessType = $fundProcessType;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets cardType
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getCardType()
|
|
{
|
|
return $this->cardType;
|
|
}
|
|
|
|
/**
|
|
* Sets cardType
|
|
*
|
|
* @param string $cardType
|
|
* @return OrderSdkPayOrderRequest
|
|
*/
|
|
public function setCardType($cardType)
|
|
{
|
|
$this->cardType = $cardType;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets bankAccountType
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getBankAccountType()
|
|
{
|
|
return $this->bankAccountType;
|
|
}
|
|
|
|
/**
|
|
* Sets bankAccountType
|
|
*
|
|
* @param string $bankAccountType
|
|
* @return OrderSdkPayOrderRequest
|
|
*/
|
|
public function setBankAccountType($bankAccountType)
|
|
{
|
|
$this->bankAccountType = $bankAccountType;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets bankCode
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getBankCode()
|
|
{
|
|
return $this->bankCode;
|
|
}
|
|
|
|
/**
|
|
* Sets bankCode
|
|
*
|
|
* @param string $bankCode
|
|
* @return OrderSdkPayOrderRequest
|
|
*/
|
|
public function setBankCode($bankCode)
|
|
{
|
|
$this->bankCode = $bankCode;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets terminalType
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getTerminalType()
|
|
{
|
|
return $this->terminalType;
|
|
}
|
|
|
|
/**
|
|
* Sets terminalType
|
|
*
|
|
* @param string $terminalType
|
|
* @return OrderSdkPayOrderRequest
|
|
*/
|
|
public function setTerminalType($terminalType)
|
|
{
|
|
$this->terminalType = $terminalType;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets payerIp
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getPayerIp()
|
|
{
|
|
return $this->payerIp;
|
|
}
|
|
|
|
/**
|
|
* Sets payerIp
|
|
*
|
|
* @param string $payerIp
|
|
* @return OrderSdkPayOrderRequest
|
|
*/
|
|
public function setPayerIp($payerIp)
|
|
{
|
|
$this->payerIp = $payerIp;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets csUrl
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getCsUrl()
|
|
{
|
|
return $this->csUrl;
|
|
}
|
|
|
|
/**
|
|
* Sets csUrl
|
|
*
|
|
* @param string $csUrl
|
|
* @return OrderSdkPayOrderRequest
|
|
*/
|
|
public function setCsUrl($csUrl)
|
|
{
|
|
$this->csUrl = $csUrl;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets businessInfo
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getBusinessInfo()
|
|
{
|
|
return $this->businessInfo;
|
|
}
|
|
|
|
/**
|
|
* Sets businessInfo
|
|
*
|
|
* @param string $businessInfo
|
|
* @return OrderSdkPayOrderRequest
|
|
*/
|
|
public function setBusinessInfo($businessInfo)
|
|
{
|
|
$this->businessInfo = $businessInfo;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets redirectUrl
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getRedirectUrl()
|
|
{
|
|
return $this->redirectUrl;
|
|
}
|
|
|
|
/**
|
|
* Sets redirectUrl
|
|
*
|
|
* @param string $redirectUrl
|
|
* @return OrderSdkPayOrderRequest
|
|
*/
|
|
public function setRedirectUrl($redirectUrl)
|
|
{
|
|
$this->redirectUrl = $redirectUrl;
|
|
return $this;
|
|
}
|
|
|
|
public static function getOperationId()
|
|
{
|
|
return 'orderSdkPayOrder';
|
|
}
|
|
|
|
|
|
}
|