File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed
src/Models/InitializeResponseBody Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 1+ 2022-08-16 Version: 1.0.5
2+ - Support ekyc.
3+
142022-08-15 Version: 1.0.4
25- Support ekyc.
36
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments