File tree 3 files changed +56
-0
lines changed
3 files changed +56
-0
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,11 @@ class Result {
87
87
*/
88
88
protected $ transactionType ;
89
89
90
+ /**
91
+ * @var string
92
+ */
93
+ protected $ transactionSubType ;
94
+
90
95
/**
91
96
* @var string
92
97
*/
@@ -422,6 +427,25 @@ public function setTransactionType($transactionType) {
422
427
return $ this ;
423
428
}
424
429
430
+ /**
431
+ * @return string
432
+ */
433
+ public function getTransactionSubType ()
434
+ {
435
+ return $ this ->transactionSubType ;
436
+ }
437
+
438
+ /**
439
+ * @param string $transactionSubType
440
+ *
441
+ * @return $this
442
+ */
443
+ public function setTransactionSubType ($ transactionSubType )
444
+ {
445
+ $ this ->transactionSubType = $ transactionSubType ;
446
+ return $ this ;
447
+ }
448
+
425
449
/**
426
450
* @return string
427
451
*/
Original file line number Diff line number Diff line change @@ -179,6 +179,10 @@ public function parseStatusResult($jsonString) {
179
179
$ result ->setTransactionSplits ($ splits );
180
180
}
181
181
182
+ if (isset ($ json ['transactionSubType ' ])) {
183
+ $ result ->setTransactionSubType ($ json ['transactionSubType ' ]);
184
+ }
185
+
182
186
return $ result ;
183
187
}
184
188
@@ -296,6 +300,10 @@ public function parseCallback($jsonString){
296
300
$ result ->setCustomerProfileData ($ customerProfileData );
297
301
}
298
302
303
+ if (isset ($ json ['transactionSubType ' ])) {
304
+ $ result ->setTransactionSubType ($ json ['transactionSubType ' ]);
305
+ }
306
+
299
307
return $ result ;
300
308
}
301
309
Original file line number Diff line number Diff line change @@ -86,6 +86,11 @@ class StatusResult {
86
86
*/
87
87
protected $ transactionType ;
88
88
89
+ /**
90
+ * @var string
91
+ */
92
+ protected $ transactionSubType ;
93
+
89
94
/**
90
95
* @var string
91
96
*/
@@ -455,6 +460,25 @@ public function setTransactionType($transactionType) {
455
460
$ this ->transactionType = $ transactionType ;
456
461
}
457
462
463
+ /**
464
+ * @return string
465
+ */
466
+ public function getTransactionSubType ()
467
+ {
468
+ return $ this ->transactionSubType ;
469
+ }
470
+
471
+ /**
472
+ * @param string $transactionSubType
473
+ *
474
+ * @return $this
475
+ */
476
+ public function setTransactionSubType ($ transactionSubType )
477
+ {
478
+ $ this ->transactionSubType = $ transactionSubType ;
479
+ return $ this ;
480
+ }
481
+
458
482
/**
459
483
* @return string
460
484
*/
You can’t perform that action at this time.
0 commit comments