Total Complexity | 4 |
Total Lines | 48 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
8 | final class RegistrationResult |
||
9 | { |
||
10 | /** |
||
11 | * @var bool|null |
||
12 | * @SerializedName("Success") |
||
13 | * @Type("boolean") |
||
14 | */ |
||
15 | private $success; |
||
16 | |||
17 | /** |
||
18 | * @var Alias|null |
||
19 | * @SerializedName("Alias") |
||
20 | * @Type("Ticketpark\SaferpayJson\Response\Container\Alias") |
||
21 | */ |
||
22 | private $alias; |
||
23 | |||
24 | /** |
||
25 | * @var Error|null |
||
26 | * @SerializedName("Error") |
||
27 | * @Type("Ticketpark\SaferpayJson\Response\Container\Error") |
||
28 | */ |
||
29 | private $error; |
||
30 | |||
31 | /** |
||
32 | * @var AuthenticationResult|null |
||
33 | * @SerializedName("AuthenticationResult") |
||
34 | * @Type("Ticketpark\SaferpayJson\Response\Container\AuthenticationResult") |
||
35 | */ |
||
36 | private $authenticationResult; |
||
37 | |||
38 | public function isSuccess(): ?bool |
||
39 | { |
||
40 | return $this->success; |
||
41 | } |
||
42 | |||
43 | public function getAlias(): ?Alias |
||
44 | { |
||
45 | return $this->alias; |
||
46 | } |
||
47 | |||
48 | public function getError(): ?Error |
||
51 | } |
||
52 | |||
53 | public function getAuthenticationResult(): ?AuthenticationResult |
||
56 | } |
||
57 | } |
||
58 |