1 | <?php declare(strict_types = 1); |
||
9 | class ExtractResponse |
||
10 | { |
||
11 | |||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | private $payId; |
||
16 | |||
17 | /** |
||
18 | * @var DateTimeImmutable |
||
19 | */ |
||
20 | private $responseDateTime; |
||
21 | |||
22 | /** |
||
23 | * @var ResultCode |
||
24 | */ |
||
25 | private $resultCode; |
||
26 | |||
27 | /** |
||
28 | * @var string |
||
29 | */ |
||
30 | private $resultMessage; |
||
31 | |||
32 | /** |
||
33 | * @var PaymentStatus|null |
||
34 | */ |
||
35 | private $paymentStatus; |
||
36 | |||
37 | /** @var mixed[] */ |
||
38 | private $checkoutParams; |
||
39 | |||
40 | /** |
||
41 | * @param string $payId |
||
42 | * @param \DateTimeImmutable $responseDateTime |
||
43 | * @param \SlevomatCsobGateway\Call\ResultCode $resultCode |
||
44 | * @param string $resultMessage |
||
45 | * @param null|\SlevomatCsobGateway\Call\PaymentStatus $paymentStatus |
||
46 | * @param mixed[] $checkoutParams |
||
47 | */ |
||
48 | 1 | public function __construct( |
|
64 | |||
65 | 1 | public function getPayId(): string |
|
69 | |||
70 | 1 | public function getResponseDateTime(): DateTimeImmutable |
|
74 | |||
75 | 1 | public function getResultCode(): ResultCode |
|
79 | |||
80 | 1 | public function getResultMessage(): string |
|
84 | |||
85 | 1 | public function getPaymentStatus(): ?PaymentStatus |
|
89 | |||
90 | /** |
||
91 | * @return mixed[]|null |
||
92 | */ |
||
93 | 1 | public function getCheckoutParams(): ?array |
|
97 | |||
98 | } |
||
99 |