更新
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\UserCollect;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 查询手机号码绑定状态请求
|
||||
* Class GetUserCollectPhoneStatusRequest
|
||||
*/
|
||||
class GetUserCollectPhoneStatusRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 平台企业 ID
|
||||
* @var string
|
||||
*/
|
||||
public $dealer_id;
|
||||
/**
|
||||
* 综合服务主体 ID
|
||||
* @var string
|
||||
*/
|
||||
public $broker_id;
|
||||
/**
|
||||
* 平台企业用户 ID
|
||||
* @var string
|
||||
*/
|
||||
public $dealer_user_id;
|
||||
/**
|
||||
* 姓名
|
||||
* @var string
|
||||
*/
|
||||
public $real_name;
|
||||
/**
|
||||
* 证件号码
|
||||
* @var string
|
||||
*/
|
||||
public $id_card;
|
||||
/**
|
||||
* 证件类型编码
|
||||
* @var int32
|
||||
*/
|
||||
public $certificate_type;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\UserCollect;
|
||||
|
||||
use Yzh\Model\BaseResponse;
|
||||
use Yzh\Model\ResponseInterface;
|
||||
|
||||
/**
|
||||
* 查询手机号码绑定状态返回
|
||||
* Class GetUserCollectPhoneStatusResponse
|
||||
*/
|
||||
class GetUserCollectPhoneStatusResponse extends BaseResponse implements ResponseInterface
|
||||
{
|
||||
/**
|
||||
* 获取数据对象
|
||||
* @return GetUserCollectPhoneStatusResponseData
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置数据对象
|
||||
* @param array $data
|
||||
* @return self
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
$this->data = new GetUserCollectPhoneStatusResponseData($data);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\UserCollect;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
use Yzh\Model\ResponseDataInterface;
|
||||
|
||||
/**
|
||||
* 查询手机号码绑定状态返回
|
||||
* Class GetUserCollectPhoneStatusResponseData
|
||||
*/
|
||||
class GetUserCollectPhoneStatusResponseData extends BaseModel implements ResponseDataInterface
|
||||
{
|
||||
/**
|
||||
* 手机号码收集 Token
|
||||
* @var string
|
||||
*/
|
||||
protected $token;
|
||||
/**
|
||||
* 绑定状态
|
||||
* @var int32
|
||||
*/
|
||||
protected $status;
|
||||
|
||||
/**
|
||||
* 手机号码收集 Token
|
||||
* @var string $token
|
||||
*/
|
||||
public function setToken($token)
|
||||
{
|
||||
$this->token = $token;
|
||||
}
|
||||
|
||||
/**
|
||||
* 手机号码收集 Token
|
||||
* @return string
|
||||
*/
|
||||
public function getToken()
|
||||
{
|
||||
return $this->token;
|
||||
}
|
||||
|
||||
/**
|
||||
* 绑定状态
|
||||
* @var int32 $status
|
||||
*/
|
||||
public function setStatus($status)
|
||||
{
|
||||
$this->status = $status;
|
||||
}
|
||||
|
||||
/**
|
||||
* 绑定状态
|
||||
* @return int32
|
||||
*/
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\UserCollect;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 获取收集手机号码页面请求
|
||||
* Class GetUserCollectPhoneUrlRequest
|
||||
*/
|
||||
class GetUserCollectPhoneUrlRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 手机号码收集 Token
|
||||
* @var string
|
||||
*/
|
||||
public $token;
|
||||
/**
|
||||
* 主题颜色
|
||||
* @var string
|
||||
*/
|
||||
public $color;
|
||||
/**
|
||||
* 回调地址
|
||||
* @var string
|
||||
*/
|
||||
public $url;
|
||||
/**
|
||||
* 跳转 URL
|
||||
* @var string
|
||||
*/
|
||||
public $redirect_url;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\UserCollect;
|
||||
|
||||
use Yzh\Model\BaseResponse;
|
||||
use Yzh\Model\ResponseInterface;
|
||||
|
||||
/**
|
||||
* 获取收集手机号码页面返回
|
||||
* Class GetUserCollectPhoneUrlResponse
|
||||
*/
|
||||
class GetUserCollectPhoneUrlResponse extends BaseResponse implements ResponseInterface
|
||||
{
|
||||
/**
|
||||
* 获取数据对象
|
||||
* @return GetUserCollectPhoneUrlResponseData
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置数据对象
|
||||
* @param array $data
|
||||
* @return self
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
$this->data = new GetUserCollectPhoneUrlResponseData($data);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\UserCollect;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
use Yzh\Model\ResponseDataInterface;
|
||||
|
||||
/**
|
||||
* 获取收集手机号码页面返回
|
||||
* Class GetUserCollectPhoneUrlResponseData
|
||||
*/
|
||||
class GetUserCollectPhoneUrlResponseData extends BaseModel implements ResponseDataInterface
|
||||
{
|
||||
/**
|
||||
* 收集手机号码页面 URL
|
||||
* @var string
|
||||
*/
|
||||
protected $url;
|
||||
|
||||
/**
|
||||
* 收集手机号码页面 URL
|
||||
* @var string $url
|
||||
*/
|
||||
public function setUrl($url)
|
||||
{
|
||||
$this->url = $url;
|
||||
}
|
||||
|
||||
/**
|
||||
* 收集手机号码页面 URL
|
||||
* @return string
|
||||
*/
|
||||
public function getUrl()
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\UserCollect;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 收集手机号码结果回调通知
|
||||
* Class NotifyUserCollectPhoneRequest
|
||||
*/
|
||||
class NotifyUserCollectPhoneRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 平台企业用户 ID
|
||||
* @var string
|
||||
*/
|
||||
public $dealer_user_id;
|
||||
/**
|
||||
* 手机号码绑定状态
|
||||
* @var int32
|
||||
*/
|
||||
public $status;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user