Passed
Push — master ( 6ecb90...973b57 )
by
unknown
04:49
created

PickupLocationAddress::getTitle()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Thelia\Model;
4
5
class PickupLocationAddress
6
{
7
    /** @var integer */
8
    protected $id;
9
10
    /** @var boolean */
11
    protected $isDefault;
12
13
    /** @var string */
14
    protected $label;
15
16
    /** @var string */
17
    protected $title;
18
19
    /** @var string */
20
    protected $firstName;
21
22
    /** @var string */
23
    protected $lastName;
24
25
    /** @var string */
26
    protected $cellphoneNumber;
27
28
    /** @var string */
29
    protected $phoneNumber;
30
31
    /** @var string */
32
    protected $company;
33
34
    /** @var string */
35
    protected $address1;
36
37
    /** @var string */
38
    protected $address2;
39
40
    /** @var string */
41
    protected $address3;
42
43
    /** @var string */
44
    protected $zipCode;
45
46
    /** @var string */
47
    protected $city;
48
49
    /** @var string */
50
    protected $countryCode;
51
52
    /** @var array */
53
    protected $additionalData;
54
55
    /**
56
     * @return int
57
     */
58
    public function getId()
59
    {
60
        return $this->id;
61
    }
62
63
    /**
64
     * @param int $id
65
     *
66
     * @return PickupLocationAddress
67
     */
68
    public function setId($id)
69
    {
70
        $this->id = $id;
71
        return $this;
72
    }
73
74
    /**
75
     * @return bool
76
     */
77
    public function isDefault()
78
    {
79
        return $this->isDefault;
80
    }
81
82
    /**
83
     * @param bool $isDefault
84
     *
85
     * @return PickupLocationAddress
86
     */
87
    public function setIsDefault($isDefault)
88
    {
89
        $this->isDefault = $isDefault;
90
        return $this;
91
    }
92
93
    /**
94
     * @return string
95
     */
96
    public function getLabel()
97
    {
98
        return $this->label;
99
    }
100
101
    /**
102
     * @param string $label
103
     *
104
     * @return PickupLocationAddress
105
     */
106
    public function setLabel($label)
107
    {
108
        $this->label = $label;
109
        return $this;
110
    }
111
112
    /**
113
     * @return string
114
     */
115
    public function getTitle()
116
    {
117
        return $this->title;
118
    }
119
120
    /**
121
     * @param string $title
122
     *
123
     * @return PickupLocationAddress
124
     */
125
    public function setTitle($title)
126
    {
127
        $this->title = $title;
128
        return $this;
129
    }
130
131
    /**
132
     * @return string
133
     */
134
    public function getFirstName()
135
    {
136
        return $this->firstName;
137
    }
138
139
    /**
140
     * @param string $firstName
141
     *
142
     * @return PickupLocationAddress
143
     */
144
    public function setFirstName($firstName)
145
    {
146
        $this->firstName = $firstName;
147
        return $this;
148
    }
149
150
    /**
151
     * @return string
152
     */
153
    public function getLastName()
154
    {
155
        return $this->lastName;
156
    }
157
158
    /**
159
     * @param string $lastName
160
     *
161
     * @return PickupLocationAddress
162
     */
163
    public function setLastName($lastName)
164
    {
165
        $this->lastName = $lastName;
166
        return $this;
167
    }
168
169
    /**
170
     * @return string
171
     */
172
    public function getCellphoneNumber()
173
    {
174
        return $this->cellphoneNumber;
175
    }
176
177
    /**
178
     * @param string $cellphoneNumber
179
     *
180
     * @return PickupLocationAddress
181
     */
182
    public function setCellphoneNumber($cellphoneNumber)
183
    {
184
        $this->cellphoneNumber = $cellphoneNumber;
185
        return $this;
186
    }
187
188
    /**
189
     * @return string
190
     */
191
    public function getPhoneNumber()
192
    {
193
        return $this->phoneNumber;
194
    }
195
196
    /**
197
     * @param string $phoneNumber
198
     *
199
     * @return PickupLocationAddress
200
     */
201
    public function setPhoneNumber($phoneNumber)
202
    {
203
        $this->phoneNumber = $phoneNumber;
204
        return $this;
205
    }
206
207
    /**
208
     * @return string
209
     */
210
    public function getCompany()
211
    {
212
        return $this->company;
213
    }
214
215
    /**
216
     * @param string $company
217
     *
218
     * @return PickupLocationAddress
219
     */
220
    public function setCompany($company)
221
    {
222
        $this->company = $company;
223
        return $this;
224
    }
225
226
    /**
227
     * @return string
228
     */
229
    public function getAddress1()
230
    {
231
        return $this->address1;
232
    }
233
234
    /**
235
     * @param string $address1
236
     *
237
     * @return PickupLocationAddress
238
     */
239
    public function setAddress1($address1)
240
    {
241
        $this->address1 = $address1;
242
        return $this;
243
    }
244
245
    /**
246
     * @return string
247
     */
248
    public function getAddress2()
249
    {
250
        return $this->address2;
251
    }
252
253
    /**
254
     * @param string $address2
255
     *
256
     * @return PickupLocationAddress
257
     */
258
    public function setAddress2($address2)
259
    {
260
        $this->address2 = $address2;
261
        return $this;
262
    }
263
264
    /**
265
     * @return string
266
     */
267
    public function getAddress3()
268
    {
269
        return $this->address3;
270
    }
271
272
    /**
273
     * @param string $address3
274
     *
275
     * @return PickupLocationAddress
276
     */
277
    public function setAddress3($address3)
278
    {
279
        $this->address3 = $address3;
280
        return $this;
281
    }
282
283
    /**
284
     * @return string
285
     */
286
    public function getZipCode()
287
    {
288
        return $this->zipCode;
289
    }
290
291
    /**
292
     * @param string $zipCode
293
     *
294
     * @return PickupLocationAddress
295
     */
296
    public function setZipCode($zipCode)
297
    {
298
        $this->zipCode = $zipCode;
299
        return $this;
300
    }
301
302
    /**
303
     * @return string
304
     */
305
    public function getCity()
306
    {
307
        return $this->city;
308
    }
309
310
    /**
311
     * @param string $city
312
     *
313
     * @return PickupLocationAddress
314
     */
315
    public function setCity($city)
316
    {
317
        $this->city = $city;
318
        return $this;
319
    }
320
321
    /**
322
     * @return string
323
     */
324
    public function getCountryCode()
325
    {
326
        return $this->countryCode;
327
    }
328
329
    /**
330
     * @param string $countryCode
331
     *
332
     * @return PickupLocationAddress
333
     */
334
    public function setCountryCode($countryCode)
335
    {
336
        $this->countryCode = $countryCode;
337
        return $this;
338
    }
339
340
    /**
341
     * @return array
342
     */
343
    public function getAdditionalData()
344
    {
345
        return $this->additionalData;
346
    }
347
348
    /**
349
     * @param array $additionalData
350
     *
351
     * @return PickupLocationAddress
352
     */
353
    public function setAdditionalData($additionalData)
354
    {
355
        $this->additionalData = $additionalData;
356
        return $this;
357
    }
358
}