| 1 | <?php  | 
            ||
| 4 | class AccountLinking  | 
            ||
| 5 | { | 
            ||
| 6 | |||
| 7 | /**  | 
            ||
| 8 | * @var string  | 
            ||
| 9 | */  | 
            ||
| 10 | protected $status;  | 
            ||
| 11 | |||
| 12 | /**  | 
            ||
| 13 | * @var string  | 
            ||
| 14 | */  | 
            ||
| 15 | protected $authorizationCode;  | 
            ||
| 16 | |||
| 17 | /**  | 
            ||
| 18 | * AccountLinking constructor.  | 
            ||
| 19 | *  | 
            ||
| 20 | * @param string $status  | 
            ||
| 21 | * @param string|null $authorizationCode  | 
            ||
| 22 | */  | 
            ||
| 23 | public function __construct(string $status, string $authorizationCode = null)  | 
            ||
| 28 | |||
| 29 | /**  | 
            ||
| 30 | * @return string  | 
            ||
| 31 | */  | 
            ||
| 32 | public function getStatus(): string  | 
            ||
| 36 | |||
| 37 | /**  | 
            ||
| 38 | * @return string  | 
            ||
| 39 | */  | 
            ||
| 40 | public function getAuthorizationCode(): string  | 
            ||
| 44 | |||
| 45 | /**  | 
            ||
| 46 | * @param array $payload  | 
            ||
| 47 | * @return static  | 
            ||
| 48 | */  | 
            ||
| 49 | public static function create(array $payload)  | 
            ||
| 55 | }  | 
            ||
| 56 |