Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
30 | public function listPayments($userId, $monetaryAccountId) |
||
31 | { |
||
32 | $payments = $this->client->get($this->getResourceEndpoint($userId, $monetaryAccountId)); |
||
33 | foreach ($payments['Response'] as $key => $payment) { |
||
34 | $payments['Response'][$key]['Payment']['amount']['value'] = $this->floatToCents($payment['Payment']['amount']['value']); |
||
35 | } |
||
36 | |||
37 | return $payments; |
||
38 | } |
||
39 | |||
81 |