|
@@ 73-80 (lines=8) @@
|
| 70 |
|
|
| 71 |
|
|
| 72 |
|
$balance = $domXpath->query('//pay:Value[@Type=\'AvailableBalance\']'); |
| 73 |
|
if ($balance->length > 0) { |
| 74 |
|
$analyzeResponse->response->Success->VirtualCard->Amount = |
| 75 |
|
$balance->item(0)->getAttribute('Amount'); |
| 76 |
|
$analyzeResponse->response->Success->VirtualCard->DecimalPlaces = |
| 77 |
|
$balance->item(0)->getAttribute('DecimalPlaces'); |
| 78 |
|
$analyzeResponse->response->Success->VirtualCard->CurrencyCode = |
| 79 |
|
$balance->item(0)->getAttribute('CurrencyCode'); |
| 80 |
|
} |
| 81 |
|
|
| 82 |
|
$balance = $domXpath->query('//pay:Value[@Type=\'OnCard\']'); |
| 83 |
|
if ($balance->length > 0) { |
|
@@ 83-90 (lines=8) @@
|
| 80 |
|
} |
| 81 |
|
|
| 82 |
|
$balance = $domXpath->query('//pay:Value[@Type=\'OnCard\']'); |
| 83 |
|
if ($balance->length > 0) { |
| 84 |
|
$analyzeResponse->response->Success->VirtualCard->Amount = |
| 85 |
|
$balance->item(0)->getAttribute('Amount'); |
| 86 |
|
$analyzeResponse->response->Success->VirtualCard->DecimalPlaces = |
| 87 |
|
$balance->item(0)->getAttribute('DecimalPlaces'); |
| 88 |
|
$analyzeResponse->response->Success->VirtualCard->CurrencyCode = |
| 89 |
|
$balance->item(0)->getAttribute('CurrencyCode'); |
| 90 |
|
} |
| 91 |
|
|
| 92 |
|
return $analyzeResponse; |
| 93 |
|
} |