1 | <?php |
||
7 | class AccountLinking |
||
8 | { |
||
9 | /** |
||
10 | * @var string |
||
11 | */ |
||
12 | protected $status; |
||
13 | |||
14 | /** |
||
15 | * @var string|null |
||
16 | */ |
||
17 | protected $authorizationCode; |
||
18 | |||
19 | /** |
||
20 | * AccountLinking constructor. |
||
21 | */ |
||
22 | 1 | public function __construct(string $status, ?string $authorizationCode = null) |
|
27 | |||
28 | 1 | public function getStatus(): string |
|
32 | |||
33 | 1 | public function hasAuthorizationCode(): bool |
|
37 | |||
38 | 1 | public function getAuthorizationCode(): ?string |
|
42 | |||
43 | /** |
||
44 | * @return \Kerox\Messenger\Model\Callback\AccountLinking |
||
45 | */ |
||
46 | 1 | public static function create(array $callbackData): self |
|
52 | } |
||
53 |