| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | public function getData() |
||
| 12 | { |
||
| 13 | $data = new SimpleXMLElement('<?xml version="1.0" encoding="UTF-8"?><refunds/>'); |
||
| 14 | |||
| 15 | $data->addChild('project_id', $this->getProjectId()); |
||
| 16 | |||
| 17 | $refund = $data->addChild('refund'); |
||
| 18 | |||
| 19 | $refund->addChild('amount', $this->getAmount()); |
||
| 20 | $refund->addChild('transaction', $this->getTransactionReference()); |
||
| 21 | |||
| 22 | return $data; |
||
| 23 | } |
||
| 24 | |||
| 30 |