1 | <?php declare(strict_types = 1); |
||
10 | class CheckoutResponse |
||
11 | { |
||
12 | |||
13 | /** |
||
14 | * @var string |
||
15 | */ |
||
16 | private $payId; |
||
17 | |||
18 | /** |
||
19 | * @var DateTimeImmutable |
||
20 | */ |
||
21 | private $responseDateTime; |
||
22 | |||
23 | /** |
||
24 | * @var ResultCode |
||
25 | */ |
||
26 | private $resultCode; |
||
27 | |||
28 | /** |
||
29 | * @var string |
||
30 | */ |
||
31 | private $resultMessage; |
||
32 | |||
33 | /** |
||
34 | * @var PaymentStatus|null |
||
35 | */ |
||
36 | private $paymentStatus; |
||
37 | |||
38 | /** @var mixed[]|null */ |
||
39 | private $lightboxParams; |
||
40 | |||
41 | /** |
||
42 | * @param string $payId |
||
43 | * @param \DateTimeImmutable $responseDateTime |
||
44 | * @param \SlevomatCsobGateway\Call\ResultCode $resultCode |
||
45 | * @param string $resultMessage |
||
46 | * @param \SlevomatCsobGateway\Call\PaymentStatus|null $paymentStatus |
||
47 | * @param mixed[]|null $lightboxParams |
||
48 | */ |
||
49 | 2 | public function __construct( |
|
67 | |||
68 | 2 | public function getPayId(): string |
|
72 | |||
73 | 2 | public function getResponseDateTime(): DateTimeImmutable |
|
77 | |||
78 | 2 | public function getResultCode(): ResultCode |
|
82 | |||
83 | 2 | public function getResultMessage(): string |
|
87 | |||
88 | 2 | public function getPaymentStatus(): ?PaymentStatus |
|
92 | |||
93 | /** |
||
94 | * @return mixed[]|null |
||
95 | */ |
||
96 | 2 | public function getLightboxParams(): ?array |
|
100 | |||
101 | } |
||
102 |