| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | public function toArray() |
||
| 20 | { |
||
| 21 | return [ |
||
| 22 | 'merchantAccount' => $this->getRequest()->getMerchantAccount(), |
||
| 23 | 'modificationAmount' => [ |
||
| 24 | 'value' => $this->getOrder()->getAmountInt(), |
||
| 25 | 'currency' => 'BRL', |
||
| 26 | ], |
||
| 27 | 'originalReference' => $this->getOrder()->get('pspReference'), |
||
| 28 | ]; |
||
| 29 | } |
||
| 30 | } |
||
| 31 |