1 | <?php |
||
17 | class DirectionsGeocoded |
||
18 | { |
||
19 | /** |
||
20 | * @var string|null |
||
21 | */ |
||
22 | private $status; |
||
23 | |||
24 | /** |
||
25 | * @var bool|null |
||
26 | */ |
||
27 | private $partialMatch; |
||
28 | |||
29 | /** |
||
30 | * @var string|null |
||
31 | */ |
||
32 | private $placeId; |
||
33 | |||
34 | /** |
||
35 | * @var string[] |
||
36 | */ |
||
37 | private $types = []; |
||
38 | |||
39 | /** |
||
40 | * @return bool |
||
41 | */ |
||
42 | public function hasStatus() |
||
46 | |||
47 | /** |
||
48 | * @return string|null |
||
49 | */ |
||
50 | public function getStatus() |
||
54 | |||
55 | /** |
||
56 | * @param string|null $status |
||
57 | */ |
||
58 | public function setStatus($status) |
||
62 | |||
63 | /** |
||
64 | * @return bool |
||
65 | */ |
||
66 | public function hasPartialMatch() |
||
70 | |||
71 | /** |
||
72 | * @return bool|null |
||
73 | */ |
||
74 | public function isPartialMatch() |
||
78 | |||
79 | /** |
||
80 | * @param bool|null $partialMatch |
||
81 | */ |
||
82 | public function setPartialMatch($partialMatch) |
||
86 | |||
87 | /** |
||
88 | * @return bool |
||
89 | */ |
||
90 | public function hasPlaceId() |
||
94 | |||
95 | /** |
||
96 | * @return string|null |
||
97 | */ |
||
98 | public function getPlaceId() |
||
102 | |||
103 | /** |
||
104 | * @param string|null $placeId |
||
105 | */ |
||
106 | public function setPlaceId($placeId) |
||
110 | |||
111 | /** |
||
112 | * @return bool |
||
113 | */ |
||
114 | public function hasTypes() |
||
118 | |||
119 | /** |
||
120 | * @return string[] |
||
121 | */ |
||
122 | public function getTypes() |
||
126 | |||
127 | /** |
||
128 | * @param string[] $types |
||
129 | */ |
||
130 | public function setTypes(array $types) |
||
135 | |||
136 | /** |
||
137 | * @param string[] $types |
||
138 | */ |
||
139 | public function addTypes(array $types) |
||
145 | |||
146 | /** |
||
147 | * @param string $type |
||
148 | * |
||
149 | * @return bool |
||
150 | */ |
||
151 | public function hasType($type) |
||
155 | |||
156 | /** |
||
157 | * @param string $type |
||
158 | */ |
||
159 | public function addType($type) |
||
165 | |||
166 | /** |
||
167 | * @param string $type |
||
168 | */ |
||
169 | public function removeType($type) |
||
174 | } |
||
175 |