| Total Complexity | 4 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 10 | final class AliasInsertResponse extends Response |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string|null |
||
| 14 | * @SerializedName("Token") |
||
| 15 | * @Type("string") |
||
| 16 | */ |
||
| 17 | private $token; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var \DateTime|null |
||
| 21 | * @SerializedName("Expiration") |
||
| 22 | * @Type("string") |
||
| 23 | */ |
||
| 24 | private $expiration; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var bool|null |
||
| 28 | * @SerializedName("RedirectRequired") |
||
| 29 | * @Type("bool") |
||
| 30 | */ |
||
| 31 | private $redirectRequired; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @var Redirect|null |
||
| 35 | * @SerializedName("Redirect") |
||
| 36 | * @Type("Ticketpark\SaferpayJson\Response\Container\Redirect") |
||
| 37 | */ |
||
| 38 | private $redirect; |
||
| 39 | |||
| 40 | public function getToken(): ?string |
||
| 41 | { |
||
| 42 | return $this->token; |
||
| 43 | } |
||
| 44 | |||
| 45 | public function getExpiration(): ?\DateTime |
||
| 46 | { |
||
| 47 | return $this->expiration; |
||
| 48 | } |
||
| 49 | |||
| 50 | public function isRedirectRequired(): ?bool |
||
| 51 | { |
||
| 52 | return $this->redirectRequired; |
||
| 53 | } |
||
| 54 | |||
| 55 | public function getRedirect(): ?Redirect |
||
| 58 | } |
||
| 59 | } |
||
| 60 |