Completed
Push — master ( 8c051a...b9b966 )
by
unknown
02:12
created

Merchant::getSites()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace AcquiroPay\Models\Entities;
6
7
use DateTime;
8
9
class Merchant extends Entity
10
{
11
    /**
12
     * @var string
13
     */
14
    private $name;
15
16
    /**
17
     * @var string
18
     */
19
    private $siteLanguage;
20
21
    /**
22
     * @var string
23
     */
24
    private $status;
25
26
    /**
27
     * @var string
28
     */
29
    private $type;
30
31
    /**
32
     * @var string
33
     */
34
    private $description;
35
36
    /**
37
     * @var string
38
     */
39
    private $address;
40
41
    /**
42
     * @var string
43
     */
44
    private $contactName;
45
46
    /**
47
     * @var string
48
     */
49
    private $email;
50
51
    /**
52
     * @var string
53
     */
54
    private $phone;
55
56
    /**
57
     * @var string
58
     */
59
    private $fax;
60
61
    /**
62
     * @var DateTime
63
     */
64
    private $registrationDate;
65
66
    /**
67
     * @var string
68
     */
69
    private $merchantDomain;
70
71
    /**
72
     * @var string
73
     */
74
    private $subdomain;
75
76
    /**
77
     * @var int
78
     */
79
    private $agentId;
80
81
    /**
82
     * @var Agent
83
     */
84
    private $agent;
85
86
    /**
87
     * @var int
88
     */
89
    private $tariffId;
90
91
    /**
92
     * @var Tariff
93
     */
94
    private $tariff;
95
96
    /**
97
     * @var string
98
     */
99
    private $userIpAccess;
100
101
    /**
102
     * @var string
103
     */
104
    private $skype;
105
106
    /**
107
     * @var string
108
     */
109
    private $vtIpAccess;
110
111
    /**
112
     * @var Site[]
113
     */
114
    private $sites;
115
116
    /**
117
     * @return string
118
     */
119
    public function getName(): string
120
    {
121
        return $this->name;
122
    }
123
124
    /**
125
     * @param string $name
126
     */
127
    public function setName(string $name)
128
    {
129
        $this->name = $name;
130
    }
131
132
    /**
133
     * @return string
134
     */
135
    public function getSiteLanguage(): ?string
136
    {
137
        return $this->siteLanguage;
138
    }
139
140
    /**
141
     * @param string $siteLanguage
142
     */
143
    public function setSiteLanguage(?string $siteLanguage)
144
    {
145
        $this->siteLanguage = $siteLanguage;
146
    }
147
148
    /**
149
     * @return string
150
     */
151
    public function getStatus(): ?string
152
    {
153
        return $this->status;
154
    }
155
156
    /**
157
     * @param string $status
158
     */
159
    public function setStatus(?string $status)
160
    {
161
        $this->status = $status;
162
    }
163
164
    /**
165
     * @return string
166
     */
167
    public function getType(): ?string
168
    {
169
        return $this->type;
170
    }
171
172
    /**
173
     * @param string $type
174
     */
175
    public function setType(?string $type)
176
    {
177
        $this->type = $type;
178
    }
179
180
    /**
181
     * @return string
182
     */
183
    public function getDescription(): ?string
184
    {
185
        return $this->description;
186
    }
187
188
    /**
189
     * @param string $description
190
     */
191
    public function setDescription(?string $description)
192
    {
193
        $this->description = $description;
194
    }
195
196
    /**
197
     * @return string
198
     */
199
    public function getAddress(): ?string
200
    {
201
        return $this->address;
202
    }
203
204
    /**
205
     * @param string $address
206
     */
207
    public function setAddress(?string $address)
208
    {
209
        $this->address = $address;
210
    }
211
212
    /**
213
     * @return string
214
     */
215
    public function getContactName(): ?string
216
    {
217
        return $this->contactName;
218
    }
219
220
    /**
221
     * @param string $contactName
222
     */
223
    public function setContactName(?string $contactName)
224
    {
225
        $this->contactName = $contactName;
226
    }
227
228
    /**
229
     * @return string
230
     */
231
    public function getEmail(): ?string
232
    {
233
        return $this->email;
234
    }
235
236
    /**
237
     * @param string $email
238
     */
239
    public function setEmail(?string $email)
240
    {
241
        $this->email = $email;
242
    }
243
244
    /**
245
     * @return string
246
     */
247
    public function getPhone(): ?string
248
    {
249
        return $this->phone;
250
    }
251
252
    /**
253
     * @param string $phone
254
     */
255
    public function setPhone(?string $phone)
256
    {
257
        $this->phone = $phone;
258
    }
259
260
    /**
261
     * @return string
262
     */
263
    public function getFax(): ?string
264
    {
265
        return $this->fax;
266
    }
267
268
    /**
269
     * @param string $fax
270
     */
271
    public function setFax(?string $fax)
272
    {
273
        $this->fax = $fax;
274
    }
275
276
    /**
277
     * @return DateTime
278
     */
279
    public function getRegistrationDate(): DateTime
280
    {
281
        return $this->registrationDate;
282
    }
283
284
    /**
285
     * @param DateTime $registrationDate
286
     */
287
    public function setRegistrationDate(DateTime $registrationDate)
288
    {
289
        $this->registrationDate = $registrationDate;
290
    }
291
292
    /**
293
     * @return string
294
     */
295
    public function getMerchantDomain(): ?string
296
    {
297
        return $this->merchantDomain;
298
    }
299
300
    /**
301
     * @param string $merchantDomain
302
     */
303
    public function setMerchantDomain(?string $merchantDomain)
304
    {
305
        $this->merchantDomain = $merchantDomain;
306
    }
307
308
    /**
309
     * @return string
310
     */
311
    public function getSubdomain(): ?string
312
    {
313
        return $this->subdomain;
314
    }
315
316
    /**
317
     * @param string $subdomain
318
     */
319
    public function setSubdomain(?string $subdomain)
320
    {
321
        $this->subdomain = $subdomain;
322
    }
323
324
    /**
325
     * @return int
326
     */
327
    public function getAgentId(): int
328
    {
329
        return $this->agentId;
330
    }
331
332
    /**
333
     * @param int $agentId
334
     */
335
    public function setAgentId(int $agentId)
336
    {
337
        $this->agentId = $agentId;
338
    }
339
340
    /**
341
     * @return Agent
342
     */
343
    public function getAgent(): ?Agent
344
    {
345
        return $this->agent;
346
    }
347
348
    /**
349
     * @param Agent $agent
350
     */
351
    public function setAgent(Agent $agent)
352
    {
353
        $this->agent = $agent;
354
    }
355
356
    /**
357
     * @return int
358
     */
359
    public function getTariffId(): int
360
    {
361
        return $this->tariffId;
362
    }
363
364
    /**
365
     * @param int $tariffId
366
     */
367
    public function setTariffId(int $tariffId)
368
    {
369
        $this->tariffId = $tariffId;
370
    }
371
372
    /**
373
     * @return string
374
     */
375
    public function getUserIpAccess(): ?string
376
    {
377
        return $this->userIpAccess;
378
    }
379
380
    /**
381
     * @param string $userIpAccess
382
     */
383
    public function setUserIpAccess(?string $userIpAccess)
384
    {
385
        $this->userIpAccess = $userIpAccess;
386
    }
387
388
    /**
389
     * @return string
390
     */
391
    public function getVtIpAccess(): ?string
392
    {
393
        return $this->vtIpAccess;
394
    }
395
396
    /**
397
     * @param string $vtIpAccess
398
     */
399
    public function setVtIpAccess(?string $vtIpAccess)
400
    {
401
        $this->vtIpAccess = $vtIpAccess;
402
    }
403
404
    /**
405
     * @return string
406
     */
407
    public function getSkype(): ?string
408
    {
409
        return $this->skype;
410
    }
411
412
    /**
413
     * @param string $skype
414
     */
415
    public function setSkype(?string $skype)
416
    {
417
        $this->skype = $skype;
418
    }
419
420
    /**
421
     * @return Tariff
422
     */
423
    public function getTariff(): ?Tariff
424
    {
425
        return $this->tariff;
426
    }
427
428
    /**
429
     * @param Tariff $tariff
430
     */
431
    public function setTariff(Tariff $tariff)
432
    {
433
        $this->tariff = $tariff;
434
    }
435
436
    /**
437
     * @return Site[]
438
     */
439
    public function getSites(): array
440
    {
441
        return $this->sites;
442
    }
443
444
    /**
445
     * @param Site[] $sites
446
     */
447
    public function setSites(array $sites)
448
    {
449
        $this->sites = $sites;
450
    }
451
}
452