1 | <?php |
||
15 | final class BusinessProfile implements CreatableFromArray |
||
16 | { |
||
17 | /** |
||
18 | * @var ?string |
||
19 | */ |
||
20 | private $merchantCategoryCode; |
||
21 | |||
22 | /** |
||
23 | * @var ?string |
||
24 | */ |
||
25 | private $name; |
||
26 | |||
27 | /** |
||
28 | * @var ?string |
||
29 | */ |
||
30 | private $productDescription; |
||
31 | |||
32 | /** |
||
33 | * @var ?Address |
||
34 | */ |
||
35 | private $supportAddress; |
||
36 | |||
37 | /** |
||
38 | * @var ?string |
||
39 | */ |
||
40 | private $supportEmail; |
||
41 | |||
42 | /** |
||
43 | * @var ?string |
||
44 | */ |
||
45 | private $supportPhone; |
||
46 | |||
47 | /** |
||
48 | * @var ?string |
||
49 | */ |
||
50 | private $supportUrl; |
||
51 | |||
52 | /** |
||
53 | * @var ?string |
||
54 | */ |
||
55 | private $url; |
||
56 | |||
57 | 5 | public static function createFromArray(array $data) |
|
71 | |||
72 | 1 | public function getMerchantCategoryCode(): ?string |
|
76 | |||
77 | 1 | public function getName(): ?string |
|
81 | |||
82 | 1 | public function getProductDescription(): ?string |
|
86 | |||
87 | 1 | public function getSupportAddress(): ?Address |
|
91 | |||
92 | 1 | public function getSupportEmail(): ?string |
|
96 | |||
97 | 1 | public function getSupportPhone(): ?string |
|
101 | |||
102 | 1 | public function getSupportUrl(): ?string |
|
106 | |||
107 | 1 | public function getUrl(): ?string |
|
111 | } |
||
112 |