Skip to content

Commit e12e23a

Browse files
committed
Support ekyc.
1 parent e3ed310 commit e12e23a

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

ChangeLog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2022-08-16 Version: 1.0.5
2+
- Support ekyc.
3+
14
2022-08-15 Version: 1.0.4
25
- Support ekyc.
36

src/Models/InitializeResponseBody/result.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ class result extends Model
1111
/**
1212
* @var string
1313
*/
14-
public $transactionId;
14+
public $clientCfg;
1515

1616
/**
1717
* @var string
1818
*/
19-
public $clientCfg;
19+
public $transactionId;
2020
protected $_name = [
21+
'clientCfg' => 'ClientCfg',
2122
'transactionId' => 'TransactionId',
22-
'clientCfg' => 'clientCfg',
2323
];
2424

2525
public function validate()
@@ -29,12 +29,12 @@ public function validate()
2929
public function toMap()
3030
{
3131
$res = [];
32+
if (null !== $this->clientCfg) {
33+
$res['ClientCfg'] = $this->clientCfg;
34+
}
3235
if (null !== $this->transactionId) {
3336
$res['TransactionId'] = $this->transactionId;
3437
}
35-
if (null !== $this->clientCfg) {
36-
$res['clientCfg'] = $this->clientCfg;
37-
}
3838

3939
return $res;
4040
}
@@ -47,12 +47,12 @@ public function toMap()
4747
public static function fromMap($map = [])
4848
{
4949
$model = new self();
50+
if (isset($map['ClientCfg'])) {
51+
$model->clientCfg = $map['ClientCfg'];
52+
}
5053
if (isset($map['TransactionId'])) {
5154
$model->transactionId = $map['TransactionId'];
5255
}
53-
if (isset($map['clientCfg'])) {
54-
$model->clientCfg = $map['clientCfg'];
55-
}
5656

5757
return $model;
5858
}

0 commit comments

Comments
 (0)