| Total Complexity | 2 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types = 1); |
||
| 8 | class InvalidPaymentException extends RequestException |
||
| 9 | { |
||
| 10 | |||
| 11 | /** @var ProcessPaymentRequest */ |
||
| 12 | private $request; |
||
| 13 | |||
| 14 | public function __construct(ProcessPaymentRequest $request, Response $response, string $payId) |
||
| 15 | { |
||
| 16 | parent::__construct(sprintf('PayId %s is invalid or expired.', $payId), $response); |
||
| 17 | $this->request = $request; |
||
| 18 | } |
||
| 19 | |||
| 20 | public function getRequest(): ProcessPaymentRequest |
||
| 23 | } |
||
| 24 | |||
| 26 |