Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
19 | 3 | protected function getCustomFields() |
|
20 | { |
||
21 | return [ |
||
22 | 3 | 'shopperEmail' => $this->getOrder()->getShopper()->getEmail(), |
|
23 | 3 | 'shopperIP' => $this->getOrder()->getShopper()->getIp(), |
|
24 | 3 | 'shopperReference' => $this->getOrder()->getShopper()->getFullName(), |
|
25 | 3 | 'installments' => ['value' => $this->getOrder()->getInstallments()], |
|
26 | 'additionalData' => [ |
||
27 | 3 | 'card.encrypted.json' => $this->getRequest()->getEncryptedData(), |
|
28 | ], |
||
29 | ]; |
||
30 | } |
||
31 | } |
||
32 |