1 | <?php |
||
10 | class Customer |
||
11 | { |
||
12 | /** |
||
13 | * @Serializer\Expose() |
||
14 | * @Serializer\Type("string") |
||
15 | * |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $lastName; |
||
19 | |||
20 | /** |
||
21 | * @Serializer\Expose() |
||
22 | * @Serializer\Type("string") |
||
23 | * |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $firstName; |
||
27 | |||
28 | /** |
||
29 | * Phone number |
||
30 | * |
||
31 | * @Serializer\Expose() |
||
32 | * @Serializer\Type("string") |
||
33 | * |
||
34 | * @var string |
||
35 | */ |
||
36 | protected $number; |
||
37 | |||
38 | /** |
||
39 | * @Serializer\Expose() |
||
40 | * @Serializer\Type("string") |
||
41 | * |
||
42 | * @var string |
||
43 | */ |
||
44 | protected $email; |
||
45 | |||
46 | /** |
||
47 | * (optional) |
||
48 | * |
||
49 | * @Serializer\Expose() |
||
50 | * @Serializer\Type("array") |
||
51 | * |
||
52 | * @var array |
||
53 | */ |
||
54 | protected $creditCard; |
||
55 | |||
56 | /** |
||
57 | * @Serializer\Expose() |
||
58 | * @Serializer\Type("string") |
||
59 | * |
||
60 | * @var string |
||
61 | */ |
||
62 | protected $city; |
||
63 | |||
64 | /** |
||
65 | * @Serializer\Expose() |
||
66 | * @Serializer\Type("string") |
||
67 | * |
||
68 | * @var string |
||
69 | */ |
||
70 | protected $streetNumber; |
||
71 | |||
72 | /** |
||
73 | * @Serializer\Expose() |
||
74 | * @Serializer\Type("string") |
||
75 | * |
||
76 | * @var string |
||
77 | */ |
||
78 | protected $line1; |
||
79 | |||
80 | /** |
||
81 | * @Serializer\Expose() |
||
82 | * @Serializer\Type("string") |
||
83 | * |
||
84 | * @var string |
||
85 | */ |
||
86 | protected $line2; |
||
87 | |||
88 | /** |
||
89 | * @Serializer\Expose() |
||
90 | * @Serializer\Type("string") |
||
91 | * |
||
92 | * @var string |
||
93 | */ |
||
94 | protected $zipCode; |
||
95 | |||
96 | /** |
||
97 | * @Serializer\Expose() |
||
98 | * @Serializer\Type("string") |
||
99 | * |
||
100 | * @var string |
||
101 | */ |
||
102 | protected $countryCode; |
||
103 | |||
104 | /** |
||
105 | * @Serializer\Expose() |
||
106 | * @Serializer\Type("string") |
||
107 | * |
||
108 | * @var string |
||
109 | */ |
||
110 | protected $comment; |
||
111 | |||
112 | /** |
||
113 | * @param string $firstName |
||
114 | * |
||
115 | * @return $this |
||
116 | */ |
||
117 | public function setFirstName($firstName) |
||
123 | |||
124 | /** |
||
125 | * @param string $lastName |
||
126 | * |
||
127 | * @return $this |
||
128 | */ |
||
129 | public function setLastName($lastName) |
||
135 | |||
136 | /** |
||
137 | * @param $number |
||
138 | * |
||
139 | * @return $this |
||
140 | */ |
||
141 | public function setNumber($number) |
||
147 | |||
148 | /** |
||
149 | * @param $email |
||
150 | * |
||
151 | * @return $this |
||
152 | */ |
||
153 | public function setEmail($email) |
||
159 | |||
160 | /** |
||
161 | * @return string |
||
162 | */ |
||
163 | public function getFirstName() |
||
167 | |||
168 | /** |
||
169 | * @return string |
||
170 | */ |
||
171 | public function getLastName() |
||
175 | |||
176 | /** |
||
177 | * @return string |
||
178 | */ |
||
179 | public function getNumber() |
||
183 | |||
184 | /** |
||
185 | * @return string |
||
186 | */ |
||
187 | public function getEmail() |
||
191 | |||
192 | /** |
||
193 | * @return string |
||
194 | */ |
||
195 | public function getComment() |
||
199 | |||
200 | /** |
||
201 | * @param string $comment |
||
202 | * |
||
203 | * @return $this |
||
204 | */ |
||
205 | public function setComment($comment) |
||
211 | |||
212 | /** |
||
213 | * @return string |
||
214 | */ |
||
215 | public function getCity() |
||
219 | |||
220 | /** |
||
221 | * @param string $city |
||
222 | * |
||
223 | * @return $this |
||
224 | */ |
||
225 | public function setCity($city) |
||
231 | |||
232 | /** |
||
233 | * @return string |
||
234 | */ |
||
235 | public function getStreetNumber() |
||
239 | |||
240 | /** |
||
241 | * @param string $streetNumber |
||
242 | * |
||
243 | * @return $this |
||
244 | */ |
||
245 | public function setStreetNumber($streetNumber) |
||
251 | |||
252 | /** |
||
253 | * @return string |
||
254 | */ |
||
255 | public function getLine1() |
||
259 | |||
260 | /** |
||
261 | * @param string $line1 |
||
262 | * |
||
263 | * @return $this |
||
264 | */ |
||
265 | public function setLine1($line1) |
||
271 | |||
272 | /** |
||
273 | * @return string |
||
274 | */ |
||
275 | public function getLine2() |
||
279 | |||
280 | /** |
||
281 | * @param string $line2 |
||
282 | * |
||
283 | * @return $this |
||
284 | */ |
||
285 | public function setLine2($line2) |
||
291 | |||
292 | /** |
||
293 | * @return string |
||
294 | */ |
||
295 | public function getZipCode() |
||
299 | |||
300 | /** |
||
301 | * @param string $zipCode |
||
302 | * |
||
303 | * @return $this |
||
304 | */ |
||
305 | public function setZipCode($zipCode) |
||
311 | |||
312 | /** |
||
313 | * @return string |
||
314 | */ |
||
315 | public function getCountryCode() |
||
319 | |||
320 | /** |
||
321 | * @param string $countryCode |
||
322 | * |
||
323 | * @return $this |
||
324 | */ |
||
325 | public function setCountryCode($countryCode) |
||
331 | |||
332 | /** |
||
333 | * @return array |
||
334 | */ |
||
335 | public function getCreditCard() |
||
339 | |||
340 | /** |
||
341 | * @param array $creditCard |
||
342 | * |
||
343 | * @return $this |
||
344 | */ |
||
345 | public function setCreditCard(array $creditCard) |
||
351 | } |
||
352 |