1 | <?php |
||
10 | class Consumer |
||
11 | { |
||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $phoneNumber; |
||
16 | /** |
||
17 | * @var string |
||
18 | */ |
||
19 | protected $givenNames; |
||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $surname; |
||
24 | /** |
||
25 | * @var string |
||
26 | */ |
||
27 | protected $email; |
||
28 | |||
29 | /** |
||
30 | * @return string |
||
31 | */ |
||
32 | public function getPhoneNumber() |
||
36 | |||
37 | /** |
||
38 | * @return string |
||
39 | */ |
||
40 | public function getGivenNames() |
||
44 | |||
45 | /** |
||
46 | * @return string |
||
47 | */ |
||
48 | public function getSurname() |
||
52 | |||
53 | /** |
||
54 | * @return string |
||
55 | */ |
||
56 | public function getEmail() |
||
60 | |||
61 | /** |
||
62 | * @param string $phoneNumber |
||
63 | * @return $this |
||
64 | */ |
||
65 | public function setPhoneNumber($phoneNumber) |
||
71 | |||
72 | /** |
||
73 | * @param string $givenNames |
||
74 | * @return $this |
||
75 | */ |
||
76 | public function setGivenNames($givenNames) |
||
82 | |||
83 | /** |
||
84 | * @param string $surname |
||
85 | * @return $this |
||
86 | */ |
||
87 | public function setSurname($surname) |
||
93 | |||
94 | /** |
||
95 | * @param string $email |
||
96 | * @return $this |
||
97 | */ |
||
98 | public function setEmail($email) |
||
104 | } |
||
105 |