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