1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/* |
4
|
|
|
* This class was automatically generated. |
5
|
|
|
*/ |
6
|
|
|
|
7
|
|
|
namespace JobApis\Jobs\Client\Schema\Entity; |
8
|
|
|
|
9
|
|
|
/** |
10
|
|
|
* The mailing address. |
11
|
|
|
* |
12
|
|
|
* @see http://schema.org/PostalAddress Documentation on Schema.org |
13
|
|
|
*/ |
14
|
|
|
class PostalAddress |
15
|
|
|
{ |
16
|
|
|
/** |
17
|
|
|
* @var string The country. For example, USA. You can also provide the two-letter |
18
|
|
|
* [ISO 3166-1 alpha-2 country code](http://en.wikipedia.org/wiki/ISO_3166-1). |
19
|
|
|
*/ |
20
|
|
|
protected $addressCountry; |
21
|
|
|
/** |
22
|
|
|
* @var string The locality. For example, Mountain View. |
23
|
|
|
*/ |
24
|
|
|
protected $addressLocality; |
25
|
|
|
/** |
26
|
|
|
* @var string The region. For example, CA. |
27
|
|
|
*/ |
28
|
|
|
protected $addressRegion; |
29
|
|
|
/** |
30
|
|
|
* @var string The postal code. For example, 94043. |
31
|
|
|
*/ |
32
|
|
|
protected $postalCode; |
33
|
|
|
/** |
34
|
|
|
* @var string The post office box number for PO box addresses. |
35
|
|
|
*/ |
36
|
|
|
protected $postOfficeBoxNumber; |
37
|
|
|
/** |
38
|
|
|
* @var string The street address. For example, 1600 Amphitheatre Pkwy. |
39
|
|
|
*/ |
40
|
|
|
protected $streetAddress; |
41
|
|
|
|
42
|
|
|
/** |
43
|
|
|
* Sets addressCountry. |
44
|
|
|
* |
45
|
|
|
* @param string $addressCountry |
46
|
|
|
* |
47
|
|
|
* @return $this |
48
|
|
|
*/ |
49
|
2 |
|
public function setAddressCountry($addressCountry) |
50
|
|
|
{ |
51
|
2 |
|
$this->addressCountry = $addressCountry; |
52
|
|
|
|
53
|
2 |
|
return $this; |
54
|
|
|
} |
55
|
|
|
|
56
|
|
|
/** |
57
|
|
|
* Gets addressCountry. |
58
|
|
|
* |
59
|
|
|
* @return string |
60
|
|
|
*/ |
61
|
4 |
|
public function getAddressCountry() |
62
|
|
|
{ |
63
|
4 |
|
return $this->addressCountry; |
64
|
|
|
} |
65
|
|
|
|
66
|
|
|
/** |
67
|
|
|
* Sets addressLocality. |
68
|
|
|
* |
69
|
|
|
* @param string $addressLocality |
70
|
|
|
* |
71
|
|
|
* @return $this |
72
|
|
|
*/ |
73
|
2 |
|
public function setAddressLocality($addressLocality) |
74
|
|
|
{ |
75
|
2 |
|
$this->addressLocality = $addressLocality; |
76
|
|
|
|
77
|
2 |
|
return $this; |
78
|
|
|
} |
79
|
|
|
|
80
|
|
|
/** |
81
|
|
|
* Gets addressLocality. |
82
|
|
|
* |
83
|
|
|
* @return string |
84
|
|
|
*/ |
85
|
4 |
|
public function getAddressLocality() |
86
|
|
|
{ |
87
|
4 |
|
return $this->addressLocality; |
88
|
|
|
} |
89
|
|
|
|
90
|
|
|
/** |
91
|
|
|
* Sets addressRegion. |
92
|
|
|
* |
93
|
|
|
* @param string $addressRegion |
94
|
|
|
* |
95
|
|
|
* @return $this |
96
|
|
|
*/ |
97
|
2 |
|
public function setAddressRegion($addressRegion) |
98
|
|
|
{ |
99
|
2 |
|
$this->addressRegion = $addressRegion; |
100
|
|
|
|
101
|
2 |
|
return $this; |
102
|
|
|
} |
103
|
|
|
|
104
|
|
|
/** |
105
|
|
|
* Gets addressRegion. |
106
|
|
|
* |
107
|
|
|
* @return string |
108
|
|
|
*/ |
109
|
4 |
|
public function getAddressRegion() |
110
|
|
|
{ |
111
|
4 |
|
return $this->addressRegion; |
112
|
|
|
} |
113
|
|
|
|
114
|
|
|
/** |
115
|
|
|
* Sets postalCode. |
116
|
|
|
* |
117
|
|
|
* @param string $postalCode |
118
|
|
|
* |
119
|
|
|
* @return $this |
120
|
|
|
*/ |
121
|
2 |
|
public function setPostalCode($postalCode) |
122
|
|
|
{ |
123
|
2 |
|
$this->postalCode = $postalCode; |
124
|
|
|
|
125
|
2 |
|
return $this; |
126
|
|
|
} |
127
|
|
|
|
128
|
|
|
/** |
129
|
|
|
* Gets postalCode. |
130
|
|
|
* |
131
|
|
|
* @return string |
132
|
|
|
*/ |
133
|
4 |
|
public function getPostalCode() |
134
|
|
|
{ |
135
|
4 |
|
return $this->postalCode; |
136
|
|
|
} |
137
|
|
|
|
138
|
|
|
/** |
139
|
|
|
* Sets postOfficeBoxNumber. |
140
|
|
|
* |
141
|
|
|
* @param string $postOfficeBoxNumber |
142
|
|
|
* |
143
|
|
|
* @return $this |
144
|
|
|
*/ |
145
|
2 |
|
public function setPostOfficeBoxNumber($postOfficeBoxNumber) |
146
|
|
|
{ |
147
|
2 |
|
$this->postOfficeBoxNumber = $postOfficeBoxNumber; |
148
|
|
|
|
149
|
2 |
|
return $this; |
150
|
|
|
} |
151
|
|
|
|
152
|
|
|
/** |
153
|
|
|
* Gets postOfficeBoxNumber. |
154
|
|
|
* |
155
|
|
|
* @return string |
156
|
|
|
*/ |
157
|
4 |
|
public function getPostOfficeBoxNumber() |
158
|
|
|
{ |
159
|
4 |
|
return $this->postOfficeBoxNumber; |
160
|
|
|
} |
161
|
|
|
|
162
|
|
|
/** |
163
|
|
|
* Sets streetAddress. |
164
|
|
|
* |
165
|
|
|
* @param string $streetAddress |
166
|
|
|
* |
167
|
|
|
* @return $this |
168
|
|
|
*/ |
169
|
4 |
|
public function setStreetAddress($streetAddress) |
170
|
|
|
{ |
171
|
4 |
|
$this->streetAddress = $streetAddress; |
172
|
|
|
|
173
|
4 |
|
return $this; |
174
|
|
|
} |
175
|
|
|
|
176
|
|
|
/** |
177
|
|
|
* Gets streetAddress. |
178
|
|
|
* |
179
|
|
|
* @return string |
180
|
|
|
*/ |
181
|
6 |
|
public function getStreetAddress() |
182
|
|
|
{ |
183
|
6 |
|
return $this->streetAddress; |
184
|
|
|
} |
185
|
|
|
|
186
|
|
|
/** |
187
|
|
|
* Returns array representation of PostalAddress. |
188
|
|
|
* |
189
|
|
|
* @return array |
190
|
|
|
*/ |
191
|
2 |
|
public function toArray() |
192
|
|
|
{ |
193
|
2 |
|
return get_object_vars($this); |
194
|
|
|
} |
195
|
|
|
} |
196
|
|
|
|