|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
declare(strict_types=1); |
|
4
|
|
|
|
|
5
|
|
|
namespace Genkgo\Camt\DTO; |
|
6
|
|
|
|
|
7
|
|
|
class ContactDetails |
|
8
|
|
|
{ |
|
9
|
|
|
private ?string $namePrefix = null; |
|
10
|
|
|
|
|
11
|
|
|
private ?string $name = null; |
|
12
|
|
|
|
|
13
|
|
|
private ?string $phoneNumber = null; |
|
14
|
|
|
|
|
15
|
|
|
private ?string $mobileNumber = null; |
|
16
|
|
|
|
|
17
|
|
|
private ?string $faxNumber = null; |
|
18
|
|
|
|
|
19
|
|
|
private ?string $emailAddress = null; |
|
20
|
|
|
|
|
21
|
|
|
private ?string $other = null; |
|
22
|
|
|
|
|
23
|
|
|
public function getNamePrefix(): ?string |
|
24
|
|
|
{ |
|
25
|
|
|
return $this->namePrefix; |
|
26
|
|
|
} |
|
27
|
|
|
|
|
28
|
|
|
public function setNamePrefix(string $namePrefix): void |
|
29
|
|
|
{ |
|
30
|
|
|
$this->namePrefix = $namePrefix; |
|
31
|
|
|
} |
|
32
|
|
|
|
|
33
|
|
|
public function getName(): ?string |
|
34
|
|
|
{ |
|
35
|
|
|
return $this->name; |
|
36
|
|
|
} |
|
37
|
|
|
|
|
38
|
|
|
public function setName(string $name): void |
|
39
|
|
|
{ |
|
40
|
|
|
$this->name = $name; |
|
41
|
|
|
} |
|
42
|
|
|
|
|
43
|
|
|
public function getPhoneNumber(): ?string |
|
44
|
|
|
{ |
|
45
|
|
|
return $this->phoneNumber; |
|
46
|
|
|
} |
|
47
|
|
|
|
|
48
|
|
|
public function setPhoneNumber(string $phoneNumber): void |
|
49
|
|
|
{ |
|
50
|
|
|
$this->phoneNumber = $phoneNumber; |
|
51
|
|
|
} |
|
52
|
|
|
|
|
53
|
|
|
public function getMobileNumber(): ?string |
|
54
|
|
|
{ |
|
55
|
|
|
return $this->mobileNumber; |
|
56
|
|
|
} |
|
57
|
|
|
|
|
58
|
|
|
public function setMobileNumber(string $mobileNumber): void |
|
59
|
|
|
{ |
|
60
|
|
|
$this->mobileNumber = $mobileNumber; |
|
61
|
|
|
} |
|
62
|
|
|
|
|
63
|
|
|
public function getFaxNumber(): ?string |
|
64
|
|
|
{ |
|
65
|
|
|
return $this->faxNumber; |
|
66
|
|
|
} |
|
67
|
|
|
|
|
68
|
|
|
public function setFaxNumber(string $faxNumber): void |
|
69
|
|
|
{ |
|
70
|
|
|
$this->faxNumber = $faxNumber; |
|
71
|
|
|
} |
|
72
|
|
|
|
|
73
|
|
|
public function getEmailAddress(): ?string |
|
74
|
|
|
{ |
|
75
|
|
|
return $this->emailAddress; |
|
76
|
|
|
} |
|
77
|
|
|
|
|
78
|
|
|
public function setEmailAddress(string $emailAddress): void |
|
79
|
|
|
{ |
|
80
|
|
|
$this->emailAddress = $emailAddress; |
|
81
|
|
|
} |
|
82
|
|
|
|
|
83
|
|
|
public function getOther(): ?string |
|
84
|
|
|
{ |
|
85
|
|
|
return $this->other; |
|
86
|
|
|
} |
|
87
|
|
|
|
|
88
|
|
|
public function setOther(string $other): void |
|
89
|
|
|
{ |
|
90
|
|
|
$this->other = $other; |
|
91
|
|
|
} |
|
92
|
|
|
} |
|
93
|
|
|
|