1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
declare(strict_types=1); |
4
|
|
|
|
5
|
|
|
namespace AcquiroPay\Models\Entities; |
6
|
|
|
|
7
|
|
|
class Site extends Entity |
8
|
|
|
{ |
9
|
|
|
/** |
10
|
|
|
* @var string |
11
|
|
|
*/ |
12
|
|
|
private $status; |
13
|
|
|
|
14
|
|
|
/** |
15
|
|
|
* @var string |
16
|
|
|
*/ |
17
|
|
|
private $type; |
18
|
|
|
|
19
|
|
|
/** |
20
|
|
|
* @var string |
21
|
|
|
*/ |
22
|
|
|
private $url; |
23
|
|
|
|
24
|
|
|
/** |
25
|
|
|
* @var string |
26
|
|
|
*/ |
27
|
|
|
private $shortName; |
28
|
|
|
|
29
|
|
|
/** |
30
|
|
|
* @var int |
31
|
|
|
*/ |
32
|
|
|
private $designId; |
33
|
|
|
|
34
|
|
|
/** |
35
|
|
|
* @var int |
36
|
|
|
*/ |
37
|
|
|
private $antifraudId; |
38
|
|
|
|
39
|
|
|
/** |
40
|
|
|
* @var string |
41
|
|
|
*/ |
42
|
|
|
private $offerCountry; |
43
|
|
|
|
44
|
|
|
/** |
45
|
|
|
* @var string |
46
|
|
|
*/ |
47
|
|
|
private $xFrameOption; |
48
|
|
|
|
49
|
|
|
/** |
50
|
|
|
* @var string |
51
|
|
|
*/ |
52
|
|
|
private $urlAlias; |
53
|
|
|
|
54
|
|
|
/** |
55
|
|
|
* @var int |
56
|
|
|
*/ |
57
|
|
|
private $tariffId; |
58
|
|
|
|
59
|
|
|
/** |
60
|
|
|
* @var Tariff |
61
|
|
|
*/ |
62
|
|
|
private $tariff; |
63
|
|
|
|
64
|
|
|
/** |
65
|
|
|
* @var int |
66
|
|
|
*/ |
67
|
|
|
private $showLanguage; |
68
|
|
|
|
69
|
|
|
/** |
70
|
|
|
* @var string |
71
|
|
|
*/ |
72
|
|
|
private $siteLanguage; |
73
|
|
|
|
74
|
|
|
/** |
75
|
|
|
* @var int|null |
76
|
|
|
*/ |
77
|
|
|
private $merchantId; |
78
|
|
|
|
79
|
|
|
/** |
80
|
|
|
* @return int |
81
|
|
|
*/ |
82
|
|
|
public function getShowLanguage(): ?int |
83
|
|
|
{ |
84
|
|
|
return $this->showLanguage; |
85
|
|
|
} |
86
|
|
|
|
87
|
|
|
/** |
88
|
|
|
* @param int $showLanguage |
89
|
|
|
*/ |
90
|
|
|
public function setShowLanguage(?int $showLanguage) |
91
|
|
|
{ |
92
|
|
|
$this->showLanguage = $showLanguage; |
93
|
|
|
} |
94
|
|
|
|
95
|
|
|
/** |
96
|
|
|
* @return string |
97
|
|
|
*/ |
98
|
|
|
public function getSiteLanguage(): ?string |
99
|
|
|
{ |
100
|
|
|
return $this->siteLanguage; |
101
|
|
|
} |
102
|
|
|
|
103
|
|
|
/** |
104
|
|
|
* @param string $siteLanguage |
105
|
|
|
*/ |
106
|
|
|
public function setSiteLanguage(?string $siteLanguage) |
107
|
|
|
{ |
108
|
|
|
$this->siteLanguage = $siteLanguage; |
109
|
|
|
} |
110
|
|
|
|
111
|
|
|
/** |
112
|
|
|
* @return int|null |
113
|
|
|
*/ |
114
|
|
|
public function getMerchantId(): ?int |
115
|
|
|
{ |
116
|
|
|
return $this->merchantId; |
117
|
|
|
} |
118
|
|
|
|
119
|
|
|
/** |
120
|
|
|
* @param int|null $merchantId |
121
|
|
|
*/ |
122
|
|
|
public function setMerchantId(?int $merchantId) |
123
|
|
|
{ |
124
|
|
|
$this->merchantId = $merchantId; |
125
|
|
|
} |
126
|
|
|
|
127
|
|
|
/** |
128
|
|
|
* @return string |
129
|
|
|
*/ |
130
|
|
|
public function getStatus(): ?string |
131
|
|
|
{ |
132
|
|
|
return $this->status; |
133
|
|
|
} |
134
|
|
|
|
135
|
|
|
/** |
136
|
|
|
* @param string $status |
137
|
|
|
*/ |
138
|
|
|
public function setStatus(?string $status) |
139
|
|
|
{ |
140
|
|
|
$this->status = $status; |
141
|
|
|
} |
142
|
|
|
|
143
|
|
|
/** |
144
|
|
|
* @return string |
145
|
|
|
*/ |
146
|
|
|
public function getType(): ?string |
147
|
|
|
{ |
148
|
|
|
return $this->type; |
149
|
|
|
} |
150
|
|
|
|
151
|
|
|
/** |
152
|
|
|
* @param string $type |
153
|
|
|
*/ |
154
|
|
|
public function setType(?string $type) |
155
|
|
|
{ |
156
|
|
|
$this->type = $type; |
157
|
|
|
} |
158
|
|
|
|
159
|
|
|
/** |
160
|
|
|
* @return string |
161
|
|
|
*/ |
162
|
|
|
public function getUrl(): ?string |
163
|
|
|
{ |
164
|
|
|
return $this->url; |
165
|
|
|
} |
166
|
|
|
|
167
|
|
|
/** |
168
|
|
|
* @param string $url |
169
|
|
|
*/ |
170
|
|
|
public function setUrl(?string $url) |
171
|
|
|
{ |
172
|
|
|
$this->url = $url; |
173
|
|
|
} |
174
|
|
|
|
175
|
|
|
/** |
176
|
|
|
* @return string |
177
|
|
|
*/ |
178
|
|
|
public function getShortName(): ?string |
179
|
|
|
{ |
180
|
|
|
return $this->shortName; |
181
|
|
|
} |
182
|
|
|
|
183
|
|
|
/** |
184
|
|
|
* @param string $shortName |
185
|
|
|
*/ |
186
|
|
|
public function setShortName(?string $shortName) |
187
|
|
|
{ |
188
|
|
|
$this->shortName = $shortName; |
189
|
|
|
} |
190
|
|
|
|
191
|
|
|
/** |
192
|
|
|
* @return int |
193
|
|
|
*/ |
194
|
|
|
public function getDesignId(): ?int |
195
|
|
|
{ |
196
|
|
|
return $this->designId; |
197
|
|
|
} |
198
|
|
|
|
199
|
|
|
/** |
200
|
|
|
* @param int $designId |
201
|
|
|
*/ |
202
|
|
|
public function setDesignId(?int $designId) |
203
|
|
|
{ |
204
|
|
|
$this->designId = $designId; |
205
|
|
|
} |
206
|
|
|
|
207
|
|
|
/** |
208
|
|
|
* @return int |
209
|
|
|
*/ |
210
|
|
|
public function getAntifraudId(): ?int |
211
|
|
|
{ |
212
|
|
|
return $this->antifraudId; |
213
|
|
|
} |
214
|
|
|
|
215
|
|
|
/** |
216
|
|
|
* @param int $antifraudId |
217
|
|
|
*/ |
218
|
|
|
public function setAntifraudId(?int $antifraudId) |
219
|
|
|
{ |
220
|
|
|
$this->antifraudId = $antifraudId; |
221
|
|
|
} |
222
|
|
|
|
223
|
|
|
/** |
224
|
|
|
* @return string |
225
|
|
|
*/ |
226
|
|
|
public function getOfferCountry(): ?string |
227
|
|
|
{ |
228
|
|
|
return $this->offerCountry; |
229
|
|
|
} |
230
|
|
|
|
231
|
|
|
/** |
232
|
|
|
* @param string $offerCountry |
233
|
|
|
*/ |
234
|
|
|
public function setOfferCountry(?string $offerCountry) |
235
|
|
|
{ |
236
|
|
|
$this->offerCountry = $offerCountry; |
237
|
|
|
} |
238
|
|
|
|
239
|
|
|
/** |
240
|
|
|
* @return int |
241
|
|
|
*/ |
242
|
|
|
public function getTariffId(): ?int |
243
|
|
|
{ |
244
|
|
|
return $this->tariffId; |
245
|
|
|
} |
246
|
|
|
|
247
|
|
|
/** |
248
|
|
|
* @param int $tariffId |
249
|
|
|
*/ |
250
|
|
|
public function setTariffId(?int $tariffId) |
251
|
|
|
{ |
252
|
|
|
$this->tariffId = $tariffId; |
253
|
|
|
} |
254
|
|
|
|
255
|
|
|
/** |
256
|
|
|
* @return string |
257
|
|
|
*/ |
258
|
|
|
public function getXFrameOption(): ?string |
259
|
|
|
{ |
260
|
|
|
return $this->xFrameOption; |
261
|
|
|
} |
262
|
|
|
|
263
|
|
|
/** |
264
|
|
|
* @param string $xFrameOption |
265
|
|
|
*/ |
266
|
|
|
public function setXFrameOption(?string $xFrameOption) |
267
|
|
|
{ |
268
|
|
|
$this->xFrameOption = $xFrameOption; |
269
|
|
|
} |
270
|
|
|
|
271
|
|
|
/** |
272
|
|
|
* @return string |
273
|
|
|
*/ |
274
|
|
|
public function getUrlAlias(): ?string |
275
|
|
|
{ |
276
|
|
|
return $this->urlAlias; |
277
|
|
|
} |
278
|
|
|
|
279
|
|
|
/** |
280
|
|
|
* @param string $urlAlias |
281
|
|
|
*/ |
282
|
|
|
public function setUrlAlias(?string $urlAlias) |
283
|
|
|
{ |
284
|
|
|
$this->urlAlias = $urlAlias; |
285
|
|
|
} |
286
|
|
|
|
287
|
|
|
/** |
288
|
|
|
* @return Tariff |
289
|
|
|
*/ |
290
|
|
|
public function getTariff(): ?Tariff |
291
|
|
|
{ |
292
|
|
|
return $this->tariff; |
293
|
|
|
} |
294
|
|
|
|
295
|
|
|
/** |
296
|
|
|
* @param Tariff $tariff |
297
|
|
|
*/ |
298
|
|
|
public function setTariff(?Tariff $tariff) |
299
|
|
|
{ |
300
|
|
|
$this->tariff = $tariff; |
301
|
|
|
} |
302
|
|
|
} |
303
|
|
|
|