| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class ReversalRequest extends PurchaseRequest |
||
| 10 | { |
||
| 11 | public function getData() |
||
| 12 | { |
||
| 13 | return [ |
||
| 14 | 'transaction' => [ |
||
| 15 | 'amount' => $this->getAmount(), |
||
| 16 | 'vatAmount' => $this->getVatAmount(), |
||
| 17 | 'description' => $this->getDescription(), |
||
| 18 | 'payeeReference' => $this->getPayeeReference(), |
||
| 19 | ], |
||
| 20 | ]; |
||
| 21 | } |
||
| 22 | |||
| 23 | public function sendData($data) |
||
| 39 | ); |
||
| 40 | } |
||
| 42 |