1 | <?php |
||
14 | final class TaxInfoVerification implements CreatableFromArray |
||
15 | { |
||
16 | const STATUS_UNVERIFIED = 'unverified'; |
||
17 | const STATUS_PENDING = 'pending'; |
||
18 | const STATUS_VERIFIED = 'verified'; |
||
19 | |||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | private $status; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | private $verifiedName; |
||
29 | |||
30 | private function __construct() |
||
33 | |||
34 | public static function createFromArray(array $data): self |
||
42 | |||
43 | public function isUnverified(): bool |
||
47 | |||
48 | public function isPending(): bool |
||
52 | |||
53 | public function isVerified(): bool |
||
57 | |||
58 | public function getStatus(): string |
||
62 | |||
63 | public function getVerifiedName(): ?string |
||
67 | } |
||
68 |