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