src/Response/CaptureReservation.php 1 location
|
@@ 41-47 (lines=7) @@
|
38 |
|
$this->result = (string)$this->xmlDoc->Body->Result; |
39 |
|
$this->captureResult = (string)$this->xmlDoc->Body->CaptureResult; |
40 |
|
|
41 |
|
if (isset($this->xmlDoc->Body->Transactions) && |
42 |
|
isset($this->xmlDoc->Body->Transactions->Transaction) && |
43 |
|
!empty($this->xmlDoc->Body->Transactions->Transaction)) { |
44 |
|
foreach ($this->xmlDoc->Body->Transactions->Transaction as $transactionXml) { |
45 |
|
$this->transactions[] = new Transaction($this->getResponse(), $transactionXml); |
46 |
|
} |
47 |
|
} |
48 |
|
} |
49 |
|
|
50 |
|
/** |
src/Response/GetTerminals.php 1 location
|
@@ 23-29 (lines=7) @@
|
20 |
|
$this->terminals = []; |
21 |
|
$this->result = (string)$this->xmlDoc->Body->Result; |
22 |
|
|
23 |
|
if (isset($this->xmlDoc->Body->Terminals) && |
24 |
|
isset($this->xmlDoc->Body->Terminals->Terminal) && |
25 |
|
!empty($this->xmlDoc->Body->Terminals->Terminal)) { |
26 |
|
foreach ($this->xmlDoc->Body->Terminals->Terminal as $terminalXml) { |
27 |
|
$this->terminals[] = new Terminal($this->getResponse(), $terminalXml); |
28 |
|
} |
29 |
|
} |
30 |
|
} |
31 |
|
|
32 |
|
/** |