Address::getCountry()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class Address
6
{
7
8
    /**
9
     * @var int $AddressID
10
     */
11
    protected $AddressID = null;
12
13
    /**
14
     * @var int $Dear
15
     */
16
    protected $Dear = null;
17
18
    /**
19
     * @var string $Address1
20
     */
21
    protected $Address1 = null;
22
23
    /**
24
     * @var string $LastName
25
     */
26
    protected $LastName = null;
27
28
    /**
29
     * @var string $FirstName
30
     */
31
    protected $FirstName = null;
32
33
    /**
34
     * @var string $City
35
     */
36
    protected $City = null;
37
38
    /**
39
     * @var string $State
40
     */
41
    protected $State = null;
42
43
    /**
44
     * @var string $Title
45
     */
46
    protected $Title = null;
47
48
    /**
49
     * @var string $Country
50
     */
51
    protected $Country = null;
52
53
    /**
54
     * @var string $ZipCode
55
     */
56
    protected $ZipCode = null;
57
58
    /**
59
     * @var string $Address2
60
     */
61
    protected $Address2 = null;
62
63
    /**
64
     * @var string $WebSiteURL
65
     */
66
    protected $WebSiteURL = null;
67
68
    /**
69
     * @var string $Email
70
     */
71
    protected $Email = null;
72
73
    /**
74
     * @var boolean $IsMailing
75
     */
76
    protected $IsMailing = null;
77
78
    /**
79
     * @var string $OtherCieName
80
     */
81
    protected $OtherCieName = null;
82
83
    /**
84
     * @var int $ConfirmBy
85
     */
86
    protected $ConfirmBy = null;
87
88
    /**
89
     * @param int $AddressID
90
     * @param int $Dear
91
     * @param string $Address1
92
     * @param string $LastName
93
     * @param string $FirstName
94
     * @param string $City
95
     * @param string $State
96
     * @param string $Title
97
     * @param string $Country
98
     * @param string $ZipCode
99
     * @param string $Address2
100
     * @param string $WebSiteURL
101
     * @param string $Email
102
     * @param boolean $IsMailing
103
     * @param string $OtherCieName
104
     * @param int $ConfirmBy
105
     */
106
    public function __construct($AddressID, $Dear, $Address1, $LastName, $FirstName, $City, $State, $Title, $Country, $ZipCode, $Address2, $WebSiteURL, $Email, $IsMailing, $OtherCieName, $ConfirmBy)
107
    {
108
        $this->AddressID = $AddressID;
109
        $this->Dear = $Dear;
110
        $this->Address1 = $Address1;
111
        $this->LastName = $LastName;
112
        $this->FirstName = $FirstName;
113
        $this->City = $City;
114
        $this->State = $State;
115
        $this->Title = $Title;
116
        $this->Country = $Country;
117
        $this->ZipCode = $ZipCode;
118
        $this->Address2 = $Address2;
119
        $this->WebSiteURL = $WebSiteURL;
120
        $this->Email = $Email;
121
        $this->IsMailing = $IsMailing;
122
        $this->OtherCieName = $OtherCieName;
123
        $this->ConfirmBy = $ConfirmBy;
124
    }
125
126
    /**
127
     * @return int
128
     */
129
    public function getAddressID()
130
    {
131
        return $this->AddressID;
132
    }
133
134
    /**
135
     * @param int $AddressID
136
     * @return \Gueststream\PMS\IQWare\API\Address
137
     */
138
    public function setAddressID($AddressID)
139
    {
140
        $this->AddressID = $AddressID;
141
        return $this;
142
    }
143
144
    /**
145
     * @return int
146
     */
147
    public function getDear()
148
    {
149
        return $this->Dear;
150
    }
151
152
    /**
153
     * @param int $Dear
154
     * @return \Gueststream\PMS\IQWare\API\Address
155
     */
156
    public function setDear($Dear)
157
    {
158
        $this->Dear = $Dear;
159
        return $this;
160
    }
161
162
    /**
163
     * @return string
164
     */
165
    public function getAddress1()
166
    {
167
        return $this->Address1;
168
    }
169
170
    /**
171
     * @param string $Address1
172
     * @return \Gueststream\PMS\IQWare\API\Address
173
     */
174
    public function setAddress1($Address1)
175
    {
176
        $this->Address1 = $Address1;
177
        return $this;
178
    }
179
180
    /**
181
     * @return string
182
     */
183
    public function getLastName()
184
    {
185
        return $this->LastName;
186
    }
187
188
    /**
189
     * @param string $LastName
190
     * @return \Gueststream\PMS\IQWare\API\Address
191
     */
192
    public function setLastName($LastName)
193
    {
194
        $this->LastName = $LastName;
195
        return $this;
196
    }
197
198
    /**
199
     * @return string
200
     */
201
    public function getFirstName()
202
    {
203
        return $this->FirstName;
204
    }
205
206
    /**
207
     * @param string $FirstName
208
     * @return \Gueststream\PMS\IQWare\API\Address
209
     */
210
    public function setFirstName($FirstName)
211
    {
212
        $this->FirstName = $FirstName;
213
        return $this;
214
    }
215
216
    /**
217
     * @return string
218
     */
219
    public function getCity()
220
    {
221
        return $this->City;
222
    }
223
224
    /**
225
     * @param string $City
226
     * @return \Gueststream\PMS\IQWare\API\Address
227
     */
228
    public function setCity($City)
229
    {
230
        $this->City = $City;
231
        return $this;
232
    }
233
234
    /**
235
     * @return string
236
     */
237
    public function getState()
238
    {
239
        return $this->State;
240
    }
241
242
    /**
243
     * @param string $State
244
     * @return \Gueststream\PMS\IQWare\API\Address
245
     */
246
    public function setState($State)
247
    {
248
        $this->State = $State;
249
        return $this;
250
    }
251
252
    /**
253
     * @return string
254
     */
255
    public function getTitle()
256
    {
257
        return $this->Title;
258
    }
259
260
    /**
261
     * @param string $Title
262
     * @return \Gueststream\PMS\IQWare\API\Address
263
     */
264
    public function setTitle($Title)
265
    {
266
        $this->Title = $Title;
267
        return $this;
268
    }
269
270
    /**
271
     * @return string
272
     */
273
    public function getCountry()
274
    {
275
        return $this->Country;
276
    }
277
278
    /**
279
     * @param string $Country
280
     * @return \Gueststream\PMS\IQWare\API\Address
281
     */
282
    public function setCountry($Country)
283
    {
284
        $this->Country = $Country;
285
        return $this;
286
    }
287
288
    /**
289
     * @return string
290
     */
291
    public function getZipCode()
292
    {
293
        return $this->ZipCode;
294
    }
295
296
    /**
297
     * @param string $ZipCode
298
     * @return \Gueststream\PMS\IQWare\API\Address
299
     */
300
    public function setZipCode($ZipCode)
301
    {
302
        $this->ZipCode = $ZipCode;
303
        return $this;
304
    }
305
306
    /**
307
     * @return string
308
     */
309
    public function getAddress2()
310
    {
311
        return $this->Address2;
312
    }
313
314
    /**
315
     * @param string $Address2
316
     * @return \Gueststream\PMS\IQWare\API\Address
317
     */
318
    public function setAddress2($Address2)
319
    {
320
        $this->Address2 = $Address2;
321
        return $this;
322
    }
323
324
    /**
325
     * @return string
326
     */
327
    public function getWebSiteURL()
328
    {
329
        return $this->WebSiteURL;
330
    }
331
332
    /**
333
     * @param string $WebSiteURL
334
     * @return \Gueststream\PMS\IQWare\API\Address
335
     */
336
    public function setWebSiteURL($WebSiteURL)
337
    {
338
        $this->WebSiteURL = $WebSiteURL;
339
        return $this;
340
    }
341
342
    /**
343
     * @return string
344
     */
345
    public function getEmail()
346
    {
347
        return $this->Email;
348
    }
349
350
    /**
351
     * @param string $Email
352
     * @return \Gueststream\PMS\IQWare\API\Address
353
     */
354
    public function setEmail($Email)
355
    {
356
        $this->Email = $Email;
357
        return $this;
358
    }
359
360
    /**
361
     * @return boolean
362
     */
363
    public function getIsMailing()
364
    {
365
        return $this->IsMailing;
366
    }
367
368
    /**
369
     * @param boolean $IsMailing
370
     * @return \Gueststream\PMS\IQWare\API\Address
371
     */
372
    public function setIsMailing($IsMailing)
373
    {
374
        $this->IsMailing = $IsMailing;
375
        return $this;
376
    }
377
378
    /**
379
     * @return string
380
     */
381
    public function getOtherCieName()
382
    {
383
        return $this->OtherCieName;
384
    }
385
386
    /**
387
     * @param string $OtherCieName
388
     * @return \Gueststream\PMS\IQWare\API\Address
389
     */
390
    public function setOtherCieName($OtherCieName)
391
    {
392
        $this->OtherCieName = $OtherCieName;
393
        return $this;
394
    }
395
396
    /**
397
     * @return int
398
     */
399
    public function getConfirmBy()
400
    {
401
        return $this->ConfirmBy;
402
    }
403
404
    /**
405
     * @param int $ConfirmBy
406
     * @return \Gueststream\PMS\IQWare\API\Address
407
     */
408
    public function setConfirmBy($ConfirmBy)
409
    {
410
        $this->ConfirmBy = $ConfirmBy;
411
        return $this;
412
    }
413
}
414