43 lines
774 B
PHP
43 lines
774 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace Yzh\Model\Authentication;
|
||
|
|
|
||
|
|
use Yzh\Model\BaseRequest;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 银行卡四要素验证请求
|
||
|
|
* Class BankCardFourVerifyRequest
|
||
|
|
*/
|
||
|
|
class BankCardFourVerifyRequest extends BaseRequest
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* 银行卡号
|
||
|
|
* @var string
|
||
|
|
*/
|
||
|
|
public $card_no;
|
||
|
|
/**
|
||
|
|
* 身份证号码
|
||
|
|
* @var string
|
||
|
|
*/
|
||
|
|
public $id_card;
|
||
|
|
/**
|
||
|
|
* 姓名
|
||
|
|
* @var string
|
||
|
|
*/
|
||
|
|
public $real_name;
|
||
|
|
/**
|
||
|
|
* 银行预留手机号
|
||
|
|
* @var string
|
||
|
|
*/
|
||
|
|
public $mobile;
|
||
|
|
|
||
|
|
public function __construct($params = array())
|
||
|
|
{
|
||
|
|
foreach (array_keys(get_object_vars($this)) as $property) {
|
||
|
|
if (isset($params[$property])) {
|
||
|
|
$this->{$property} = $params[$property];
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|