增加聚合支付托管下单
This commit is contained in:
@@ -0,0 +1,632 @@
|
||||
<?php
|
||||
/**
|
||||
* TransferWechatQueryQueryWechatTransferRespDTOResult
|
||||
*
|
||||
* PHP version 5
|
||||
*
|
||||
* @category Class
|
||||
* @package Yeepay\Yop\Sdk\
|
||||
* @author Swagger Codegen team
|
||||
* @link https://github.com/swagger-api/swagger-codegen
|
||||
*/
|
||||
|
||||
/**
|
||||
* 账户
|
||||
*
|
||||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
||||
*
|
||||
* OpenAPI spec version: 1.0
|
||||
*
|
||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
* Swagger Codegen version: 3.0.13
|
||||
*/
|
||||
|
||||
/**
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
namespace Yeepay\Yop\Sdk\Service\Account\Model;
|
||||
|
||||
use \ArrayAccess;
|
||||
use Yeepay\Yop\Sdk\Model\ModelInterface;
|
||||
use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
|
||||
|
||||
/**
|
||||
* TransferWechatQueryQueryWechatTransferRespDTOResult Class Doc Comment
|
||||
*
|
||||
* @category Class
|
||||
* @package Yeepay\Yop\Sdk\
|
||||
* @author Swagger Codegen team
|
||||
* @link https://github.com/swagger-api/swagger-codegen
|
||||
*/
|
||||
class TransferWechatQueryQueryWechatTransferRespDTOResult implements ModelInterface, ArrayAccess
|
||||
{
|
||||
const DISCRIMINATOR = null;
|
||||
|
||||
/**
|
||||
* The original name of the model.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected static $swaggerModelName = 'TransferWechatQueryQueryWechatTransferRespDTOResult';
|
||||
|
||||
/**
|
||||
* Array of property to type mappings. Used for (de)serialization
|
||||
*
|
||||
* @var string[]
|
||||
*/
|
||||
protected static $swaggerTypes = [
|
||||
'returnCode' => 'string',
|
||||
'returnMsg' => 'string',
|
||||
'status' => 'string',
|
||||
'requestNo' => 'string',
|
||||
'merchantNo' => 'string',
|
||||
'amount' => 'float',
|
||||
'orderNo' => 'string',
|
||||
'openId' => 'string',
|
||||
'userName' => 'string',
|
||||
'remark' => 'string',
|
||||
'finishTime' => 'string',
|
||||
'bankOrderNo' => 'string'
|
||||
];
|
||||
|
||||
/**
|
||||
* Array of property to format mappings. Used for (de)serialization
|
||||
*
|
||||
* @var string[]
|
||||
*/
|
||||
protected static $swaggerFormats = [
|
||||
'returnCode' => null,
|
||||
'returnMsg' => null,
|
||||
'status' => null,
|
||||
'requestNo' => null,
|
||||
'merchantNo' => null,
|
||||
'amount' => null,
|
||||
'orderNo' => null,
|
||||
'openId' => null,
|
||||
'userName' => null,
|
||||
'remark' => null,
|
||||
'finishTime' => null,
|
||||
'bankOrderNo' => null
|
||||
];
|
||||
|
||||
/**
|
||||
* Array of property to type mappings. Used for (de)serialization
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public static function swaggerTypes()
|
||||
{
|
||||
return self::$swaggerTypes;
|
||||
}
|
||||
|
||||
/**
|
||||
* Array of property to format mappings. Used for (de)serialization
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public static function swaggerFormats()
|
||||
{
|
||||
return self::$swaggerFormats;
|
||||
}
|
||||
|
||||
/**
|
||||
* Array of attributes where the key is the local name,
|
||||
* and the value is the original name
|
||||
*
|
||||
* @var string[]
|
||||
*/
|
||||
protected static $attributeMap = [
|
||||
'returnCode' => 'returnCode',
|
||||
'returnMsg' => 'returnMsg',
|
||||
'status' => 'status',
|
||||
'requestNo' => 'requestNo',
|
||||
'merchantNo' => 'merchantNo',
|
||||
'amount' => 'amount',
|
||||
'orderNo' => 'orderNo',
|
||||
'openId' => 'openId',
|
||||
'userName' => 'userName',
|
||||
'remark' => 'remark',
|
||||
'finishTime' => 'finishTime',
|
||||
'bankOrderNo' => 'bankOrderNo'
|
||||
];
|
||||
|
||||
/**
|
||||
* Array of attributes to setter functions (for deserialization of responses)
|
||||
*
|
||||
* @var string[]
|
||||
*/
|
||||
protected static $setters = [
|
||||
'returnCode' => 'setReturnCode',
|
||||
'returnMsg' => 'setReturnMsg',
|
||||
'status' => 'setStatus',
|
||||
'requestNo' => 'setRequestNo',
|
||||
'merchantNo' => 'setMerchantNo',
|
||||
'amount' => 'setAmount',
|
||||
'orderNo' => 'setOrderNo',
|
||||
'openId' => 'setOpenId',
|
||||
'userName' => 'setUserName',
|
||||
'remark' => 'setRemark',
|
||||
'finishTime' => 'setFinishTime',
|
||||
'bankOrderNo' => 'setBankOrderNo'
|
||||
];
|
||||
|
||||
/**
|
||||
* Array of attributes to getter functions (for serialization of requests)
|
||||
*
|
||||
* @var string[]
|
||||
*/
|
||||
protected static $getters = [
|
||||
'returnCode' => 'getReturnCode',
|
||||
'returnMsg' => 'getReturnMsg',
|
||||
'status' => 'getStatus',
|
||||
'requestNo' => 'getRequestNo',
|
||||
'merchantNo' => 'getMerchantNo',
|
||||
'amount' => 'getAmount',
|
||||
'orderNo' => 'getOrderNo',
|
||||
'openId' => 'getOpenId',
|
||||
'userName' => 'getUserName',
|
||||
'remark' => 'getRemark',
|
||||
'finishTime' => 'getFinishTime',
|
||||
'bankOrderNo' => 'getBankOrderNo'
|
||||
];
|
||||
|
||||
/**
|
||||
* Array of attributes where the key is the local name,
|
||||
* and the value is the original name
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public static function attributeMap()
|
||||
{
|
||||
return self::$attributeMap;
|
||||
}
|
||||
|
||||
/**
|
||||
* Array of attributes to setter functions (for deserialization of responses)
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public static function setters()
|
||||
{
|
||||
return self::$setters;
|
||||
}
|
||||
|
||||
/**
|
||||
* Array of attributes to getter functions (for serialization of requests)
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public static function getters()
|
||||
{
|
||||
return self::$getters;
|
||||
}
|
||||
|
||||
/**
|
||||
* The original name of the model.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getModelName()
|
||||
{
|
||||
return self::$swaggerModelName;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Associative array for storing property values
|
||||
*
|
||||
* @var mixed[]
|
||||
*/
|
||||
protected $container = [];
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param mixed[] $data Associated array of property values
|
||||
* initializing the model
|
||||
*/
|
||||
public function __construct(array $data = null)
|
||||
{
|
||||
$this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
|
||||
$this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
|
||||
$this->container['status'] = isset($data['status']) ? $data['status'] : null;
|
||||
$this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
|
||||
$this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
|
||||
$this->container['amount'] = isset($data['amount']) ? $data['amount'] : null;
|
||||
$this->container['orderNo'] = isset($data['orderNo']) ? $data['orderNo'] : null;
|
||||
$this->container['openId'] = isset($data['openId']) ? $data['openId'] : null;
|
||||
$this->container['userName'] = isset($data['userName']) ? $data['userName'] : null;
|
||||
$this->container['remark'] = isset($data['remark']) ? $data['remark'] : null;
|
||||
$this->container['finishTime'] = isset($data['finishTime']) ? $data['finishTime'] : null;
|
||||
$this->container['bankOrderNo'] = isset($data['bankOrderNo']) ? $data['bankOrderNo'] : null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Show all the invalid properties with reasons.
|
||||
*
|
||||
* @return array invalid properties with reasons
|
||||
*/
|
||||
public function listInvalidProperties()
|
||||
{
|
||||
$invalidProperties = [];
|
||||
|
||||
return $invalidProperties;
|
||||
}
|
||||
|
||||
/**
|
||||
* Validate all the properties in the model
|
||||
* return true if all passed
|
||||
*
|
||||
* @return bool True if all properties are valid
|
||||
*/
|
||||
public function valid()
|
||||
{
|
||||
return count($this->listInvalidProperties()) === 0;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets returnCode
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getReturnCode()
|
||||
{
|
||||
return $this->container['returnCode'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets returnCode
|
||||
*
|
||||
* @param string $returnCode 返回码
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReturnCode($returnCode)
|
||||
{
|
||||
$this->container['returnCode'] = $returnCode;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets returnMsg
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getReturnMsg()
|
||||
{
|
||||
return $this->container['returnMsg'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets returnMsg
|
||||
*
|
||||
* @param string $returnMsg 返回信息
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReturnMsg($returnMsg)
|
||||
{
|
||||
$this->container['returnMsg'] = $returnMsg;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets status
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->container['status'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets status
|
||||
*
|
||||
* @param string $status 转账状态
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setStatus($status)
|
||||
{
|
||||
$this->container['status'] = $status;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets requestNo
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getRequestNo()
|
||||
{
|
||||
return $this->container['requestNo'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets requestNo
|
||||
*
|
||||
* @param string $requestNo 商户请求号
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRequestNo($requestNo)
|
||||
{
|
||||
$this->container['requestNo'] = $requestNo;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets merchantNo
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getMerchantNo()
|
||||
{
|
||||
return $this->container['merchantNo'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets merchantNo
|
||||
*
|
||||
* @param string $merchantNo 商户编号
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setMerchantNo($merchantNo)
|
||||
{
|
||||
$this->container['merchantNo'] = $merchantNo;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets amount
|
||||
*
|
||||
* @return float
|
||||
*/
|
||||
public function getAmount()
|
||||
{
|
||||
return $this->container['amount'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets amount
|
||||
*
|
||||
* @param float $amount 转账金额
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAmount($amount)
|
||||
{
|
||||
$this->container['amount'] = $amount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets orderNo
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getOrderNo()
|
||||
{
|
||||
return $this->container['orderNo'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets orderNo
|
||||
*
|
||||
* @param string $orderNo 订单号
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOrderNo($orderNo)
|
||||
{
|
||||
$this->container['orderNo'] = $orderNo;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets openId
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getOpenId()
|
||||
{
|
||||
return $this->container['openId'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets openId
|
||||
*
|
||||
* @param string $openId openId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOpenId($openId)
|
||||
{
|
||||
$this->container['openId'] = $openId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets userName
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getUserName()
|
||||
{
|
||||
return $this->container['userName'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets userName
|
||||
*
|
||||
* @param string $userName 收款用户姓名
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setUserName($userName)
|
||||
{
|
||||
$this->container['userName'] = $userName;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets remark
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getRemark()
|
||||
{
|
||||
return $this->container['remark'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets remark
|
||||
*
|
||||
* @param string $remark 转账备注
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRemark($remark)
|
||||
{
|
||||
$this->container['remark'] = $remark;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets finishTime
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getFinishTime()
|
||||
{
|
||||
return $this->container['finishTime'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets finishTime
|
||||
*
|
||||
* @param string $finishTime 完成时间
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setFinishTime($finishTime)
|
||||
{
|
||||
$this->container['finishTime'] = $finishTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets bankOrderNo
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getBankOrderNo()
|
||||
{
|
||||
return $this->container['bankOrderNo'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets bankOrderNo
|
||||
*
|
||||
* @param string $bankOrderNo 微信侧订单号
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBankOrderNo($bankOrderNo)
|
||||
{
|
||||
$this->container['bankOrderNo'] = $bankOrderNo;
|
||||
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Returns true if offset exists. False otherwise.
|
||||
*
|
||||
* @param integer $offset Offset
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function offsetExists($offset)
|
||||
{
|
||||
return isset($this->container[$offset]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets offset.
|
||||
*
|
||||
* @param integer $offset Offset
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function offsetGet($offset)
|
||||
{
|
||||
return isset($this->container[$offset]) ? $this->container[$offset] : null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets value based on offset.
|
||||
*
|
||||
* @param integer $offset Offset
|
||||
* @param mixed $value Value to be set
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function offsetSet($offset, $value)
|
||||
{
|
||||
if (is_null($offset)) {
|
||||
$this->container[] = $value;
|
||||
} else {
|
||||
$this->container[$offset] = $value;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Unsets offset.
|
||||
*
|
||||
* @param integer $offset Offset
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function offsetUnset($offset)
|
||||
{
|
||||
unset($this->container[$offset]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the string presentation of the object
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function __toString()
|
||||
{
|
||||
if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
|
||||
return json_encode(
|
||||
ObjectSerializer::sanitizeForSerialization($this),
|
||||
JSON_PRETTY_PRINT
|
||||
);
|
||||
}
|
||||
|
||||
return json_encode(ObjectSerializer::sanitizeForSerialization($this));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user