| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function execute($request) |
||
| 18 | { |
||
| 19 | RequestNotSupportedException::assertSupports($this, $request); |
||
| 20 | |||
| 21 | /** @var PaymentInterface $payment */ |
||
| 22 | $payment = $request->getSource(); |
||
| 23 | |||
| 24 | $details = $payment->getDetails(); |
||
| 25 | $details['pgwOrderId'] = $payment->getNumber(); |
||
| 26 | $details['pgwAmount'] = $payment->getTotalAmount(); |
||
| 27 | $details['pgwEmail'] = $payment->getClientEmail(); |
||
| 28 | |||
| 29 | $request->setResult($details); |
||
| 30 | } |
||
| 43 |