1
|
|
|
<?php |
2
|
|
|
declare(strict_types=1); |
3
|
|
|
|
4
|
|
|
namespace Nelexa\GPlay\Model\Builder; |
5
|
|
|
|
6
|
|
|
use Nelexa\GPlay\Model\GoogleImage; |
7
|
|
|
|
8
|
|
|
class DeveloperBuilder |
9
|
|
|
{ |
10
|
|
|
/** |
11
|
|
|
* @var string|null |
12
|
|
|
*/ |
13
|
|
|
private $id; |
14
|
|
|
/** |
15
|
|
|
* @var string|null |
16
|
|
|
*/ |
17
|
|
|
private $url; |
18
|
|
|
/** |
19
|
|
|
* @var string|null |
20
|
|
|
*/ |
21
|
|
|
private $name; |
22
|
|
|
/** |
23
|
|
|
* @var string|null |
24
|
|
|
*/ |
25
|
|
|
private $description; |
26
|
|
|
/** |
27
|
|
|
* @var string|null |
28
|
|
|
*/ |
29
|
|
|
private $website; |
30
|
|
|
/** |
31
|
|
|
* @var GoogleImage|null |
32
|
|
|
*/ |
33
|
|
|
private $icon; |
34
|
|
|
/** |
35
|
|
|
* @var GoogleImage|null |
36
|
|
|
*/ |
37
|
|
|
private $headerImage; |
38
|
|
|
/** |
39
|
|
|
* @var string|null |
40
|
|
|
*/ |
41
|
|
|
private $email; |
42
|
|
|
/** |
43
|
|
|
* @var string|null |
44
|
|
|
*/ |
45
|
|
|
private $address; |
46
|
|
|
|
47
|
|
|
/** |
48
|
|
|
* @return string|null |
49
|
|
|
*/ |
50
|
|
|
public function getId(): ?string |
51
|
|
|
{ |
52
|
|
|
return $this->id; |
53
|
|
|
} |
54
|
|
|
|
55
|
|
|
/** |
56
|
|
|
* @param string|null $id |
57
|
|
|
* @return DeveloperBuilder |
58
|
|
|
*/ |
59
|
|
|
public function setId(?string $id): DeveloperBuilder |
60
|
|
|
{ |
61
|
|
|
$this->id = $id; |
62
|
|
|
return $this; |
63
|
|
|
} |
64
|
|
|
|
65
|
|
|
/** |
66
|
|
|
* @return string|null |
67
|
|
|
*/ |
68
|
|
|
public function getUrl(): ?string |
69
|
|
|
{ |
70
|
|
|
return $this->url; |
71
|
|
|
} |
72
|
|
|
|
73
|
|
|
/** |
74
|
|
|
* @param string|null $url |
75
|
|
|
* @return DeveloperBuilder |
76
|
|
|
*/ |
77
|
|
|
public function setUrl(?string $url): DeveloperBuilder |
78
|
|
|
{ |
79
|
|
|
$this->url = $url; |
80
|
|
|
return $this; |
81
|
|
|
} |
82
|
|
|
|
83
|
|
|
/** |
84
|
|
|
* @return string|null |
85
|
|
|
*/ |
86
|
|
|
public function getName(): ?string |
87
|
|
|
{ |
88
|
|
|
return $this->name; |
89
|
|
|
} |
90
|
|
|
|
91
|
|
|
/** |
92
|
|
|
* @param string|null $name |
93
|
|
|
* @return DeveloperBuilder |
94
|
|
|
*/ |
95
|
|
|
public function setName(?string $name): DeveloperBuilder |
96
|
|
|
{ |
97
|
|
|
$this->name = $name; |
98
|
|
|
return $this; |
99
|
|
|
} |
100
|
|
|
|
101
|
|
|
/** |
102
|
|
|
* @return string|null |
103
|
|
|
*/ |
104
|
|
|
public function getDescription(): ?string |
105
|
|
|
{ |
106
|
|
|
return $this->description; |
107
|
|
|
} |
108
|
|
|
|
109
|
|
|
/** |
110
|
|
|
* @param string|null $description |
111
|
|
|
* @return DeveloperBuilder |
112
|
|
|
*/ |
113
|
|
|
public function setDescription(?string $description): DeveloperBuilder |
114
|
|
|
{ |
115
|
|
|
$this->description = $description; |
116
|
|
|
return $this; |
117
|
|
|
} |
118
|
|
|
|
119
|
|
|
/** |
120
|
|
|
* @return string|null |
121
|
|
|
*/ |
122
|
|
|
public function getWebsite(): ?string |
123
|
|
|
{ |
124
|
|
|
return $this->website; |
125
|
|
|
} |
126
|
|
|
|
127
|
|
|
/** |
128
|
|
|
* @param string|null $website |
129
|
|
|
* @return DeveloperBuilder |
130
|
|
|
*/ |
131
|
|
|
public function setWebsite(?string $website): DeveloperBuilder |
132
|
|
|
{ |
133
|
|
|
$this->website = $website; |
134
|
|
|
return $this; |
135
|
|
|
} |
136
|
|
|
|
137
|
|
|
/** |
138
|
|
|
* @return GoogleImage|null |
139
|
|
|
*/ |
140
|
|
|
public function getIcon(): ?GoogleImage |
141
|
|
|
{ |
142
|
|
|
return $this->icon; |
143
|
|
|
} |
144
|
|
|
|
145
|
|
|
/** |
146
|
|
|
* @param GoogleImage|null $icon |
147
|
|
|
* @return DeveloperBuilder |
148
|
|
|
*/ |
149
|
|
|
public function setIcon(?GoogleImage $icon): DeveloperBuilder |
150
|
|
|
{ |
151
|
|
|
$this->icon = $icon; |
152
|
|
|
return $this; |
153
|
|
|
} |
154
|
|
|
|
155
|
|
|
/** |
156
|
|
|
* @return GoogleImage|null |
157
|
|
|
*/ |
158
|
|
|
public function getHeaderImage(): ?GoogleImage |
159
|
|
|
{ |
160
|
|
|
return $this->headerImage; |
161
|
|
|
} |
162
|
|
|
|
163
|
|
|
/** |
164
|
|
|
* @param GoogleImage|null $headerImage |
165
|
|
|
* @return DeveloperBuilder |
166
|
|
|
*/ |
167
|
|
|
public function setHeaderImage(?GoogleImage $headerImage): DeveloperBuilder |
168
|
|
|
{ |
169
|
|
|
$this->headerImage = $headerImage; |
170
|
|
|
return $this; |
171
|
|
|
} |
172
|
|
|
|
173
|
|
|
/** |
174
|
|
|
* @return string|null |
175
|
|
|
*/ |
176
|
|
|
public function getEmail(): ?string |
177
|
|
|
{ |
178
|
|
|
return $this->email; |
179
|
|
|
} |
180
|
|
|
|
181
|
|
|
/** |
182
|
|
|
* @param string|null $email |
183
|
|
|
* @return DeveloperBuilder |
184
|
|
|
*/ |
185
|
|
|
public function setEmail(?string $email): DeveloperBuilder |
186
|
|
|
{ |
187
|
|
|
$this->email = $email; |
188
|
|
|
return $this; |
189
|
|
|
} |
190
|
|
|
|
191
|
|
|
/** |
192
|
|
|
* @return string|null |
193
|
|
|
*/ |
194
|
|
|
public function getAddress(): ?string |
195
|
|
|
{ |
196
|
|
|
return $this->address; |
197
|
|
|
} |
198
|
|
|
|
199
|
|
|
/** |
200
|
|
|
* @param string|null $address |
201
|
|
|
* @return DeveloperBuilder |
202
|
|
|
*/ |
203
|
|
|
public function setAddress(?string $address): DeveloperBuilder |
204
|
|
|
{ |
205
|
|
|
$this->address = $address; |
206
|
|
|
return $this; |
207
|
|
|
} |
208
|
|
|
} |
209
|
|
|
|