[f9c482b] | 1 | <?php
|
---|
| 2 | /*
|
---|
| 3 | * Copyright 2014 Google Inc.
|
---|
| 4 | *
|
---|
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
| 6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
| 7 | * the License at
|
---|
| 8 | *
|
---|
| 9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
| 10 | *
|
---|
| 11 | * Unless required by applicable law or agreed to in writing, software
|
---|
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
| 13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
| 14 | * License for the specific language governing permissions and limitations under
|
---|
| 15 | * the License.
|
---|
| 16 | */
|
---|
| 17 |
|
---|
| 18 | namespace Google\Service\MyBusinessLodging;
|
---|
| 19 |
|
---|
| 20 | class Policies extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | /**
|
---|
| 23 | * @var bool
|
---|
| 24 | */
|
---|
| 25 | public $allInclusiveAvailable;
|
---|
| 26 | /**
|
---|
| 27 | * @var string
|
---|
| 28 | */
|
---|
| 29 | public $allInclusiveAvailableException;
|
---|
| 30 | /**
|
---|
| 31 | * @var bool
|
---|
| 32 | */
|
---|
| 33 | public $allInclusiveOnly;
|
---|
| 34 | /**
|
---|
| 35 | * @var string
|
---|
| 36 | */
|
---|
| 37 | public $allInclusiveOnlyException;
|
---|
| 38 | protected $checkinTimeType = TimeOfDay::class;
|
---|
| 39 | protected $checkinTimeDataType = '';
|
---|
| 40 | /**
|
---|
| 41 | * @var string
|
---|
| 42 | */
|
---|
| 43 | public $checkinTimeException;
|
---|
| 44 | protected $checkoutTimeType = TimeOfDay::class;
|
---|
| 45 | protected $checkoutTimeDataType = '';
|
---|
| 46 | /**
|
---|
| 47 | * @var string
|
---|
| 48 | */
|
---|
| 49 | public $checkoutTimeException;
|
---|
| 50 | /**
|
---|
| 51 | * @var bool
|
---|
| 52 | */
|
---|
| 53 | public $kidsStayFree;
|
---|
| 54 | /**
|
---|
| 55 | * @var string
|
---|
| 56 | */
|
---|
| 57 | public $kidsStayFreeException;
|
---|
| 58 | /**
|
---|
| 59 | * @var int
|
---|
| 60 | */
|
---|
| 61 | public $maxChildAge;
|
---|
| 62 | /**
|
---|
| 63 | * @var string
|
---|
| 64 | */
|
---|
| 65 | public $maxChildAgeException;
|
---|
| 66 | /**
|
---|
| 67 | * @var int
|
---|
| 68 | */
|
---|
| 69 | public $maxKidsStayFreeCount;
|
---|
| 70 | /**
|
---|
| 71 | * @var string
|
---|
| 72 | */
|
---|
| 73 | public $maxKidsStayFreeCountException;
|
---|
| 74 | protected $paymentOptionsType = PaymentOptions::class;
|
---|
| 75 | protected $paymentOptionsDataType = '';
|
---|
| 76 | /**
|
---|
| 77 | * @var bool
|
---|
| 78 | */
|
---|
| 79 | public $smokeFreeProperty;
|
---|
| 80 | /**
|
---|
| 81 | * @var string
|
---|
| 82 | */
|
---|
| 83 | public $smokeFreePropertyException;
|
---|
| 84 |
|
---|
| 85 | /**
|
---|
| 86 | * @param bool
|
---|
| 87 | */
|
---|
| 88 | public function setAllInclusiveAvailable($allInclusiveAvailable)
|
---|
| 89 | {
|
---|
| 90 | $this->allInclusiveAvailable = $allInclusiveAvailable;
|
---|
| 91 | }
|
---|
| 92 | /**
|
---|
| 93 | * @return bool
|
---|
| 94 | */
|
---|
| 95 | public function getAllInclusiveAvailable()
|
---|
| 96 | {
|
---|
| 97 | return $this->allInclusiveAvailable;
|
---|
| 98 | }
|
---|
| 99 | /**
|
---|
| 100 | * @param string
|
---|
| 101 | */
|
---|
| 102 | public function setAllInclusiveAvailableException($allInclusiveAvailableException)
|
---|
| 103 | {
|
---|
| 104 | $this->allInclusiveAvailableException = $allInclusiveAvailableException;
|
---|
| 105 | }
|
---|
| 106 | /**
|
---|
| 107 | * @return string
|
---|
| 108 | */
|
---|
| 109 | public function getAllInclusiveAvailableException()
|
---|
| 110 | {
|
---|
| 111 | return $this->allInclusiveAvailableException;
|
---|
| 112 | }
|
---|
| 113 | /**
|
---|
| 114 | * @param bool
|
---|
| 115 | */
|
---|
| 116 | public function setAllInclusiveOnly($allInclusiveOnly)
|
---|
| 117 | {
|
---|
| 118 | $this->allInclusiveOnly = $allInclusiveOnly;
|
---|
| 119 | }
|
---|
| 120 | /**
|
---|
| 121 | * @return bool
|
---|
| 122 | */
|
---|
| 123 | public function getAllInclusiveOnly()
|
---|
| 124 | {
|
---|
| 125 | return $this->allInclusiveOnly;
|
---|
| 126 | }
|
---|
| 127 | /**
|
---|
| 128 | * @param string
|
---|
| 129 | */
|
---|
| 130 | public function setAllInclusiveOnlyException($allInclusiveOnlyException)
|
---|
| 131 | {
|
---|
| 132 | $this->allInclusiveOnlyException = $allInclusiveOnlyException;
|
---|
| 133 | }
|
---|
| 134 | /**
|
---|
| 135 | * @return string
|
---|
| 136 | */
|
---|
| 137 | public function getAllInclusiveOnlyException()
|
---|
| 138 | {
|
---|
| 139 | return $this->allInclusiveOnlyException;
|
---|
| 140 | }
|
---|
| 141 | /**
|
---|
| 142 | * @param TimeOfDay
|
---|
| 143 | */
|
---|
| 144 | public function setCheckinTime(TimeOfDay $checkinTime)
|
---|
| 145 | {
|
---|
| 146 | $this->checkinTime = $checkinTime;
|
---|
| 147 | }
|
---|
| 148 | /**
|
---|
| 149 | * @return TimeOfDay
|
---|
| 150 | */
|
---|
| 151 | public function getCheckinTime()
|
---|
| 152 | {
|
---|
| 153 | return $this->checkinTime;
|
---|
| 154 | }
|
---|
| 155 | /**
|
---|
| 156 | * @param string
|
---|
| 157 | */
|
---|
| 158 | public function setCheckinTimeException($checkinTimeException)
|
---|
| 159 | {
|
---|
| 160 | $this->checkinTimeException = $checkinTimeException;
|
---|
| 161 | }
|
---|
| 162 | /**
|
---|
| 163 | * @return string
|
---|
| 164 | */
|
---|
| 165 | public function getCheckinTimeException()
|
---|
| 166 | {
|
---|
| 167 | return $this->checkinTimeException;
|
---|
| 168 | }
|
---|
| 169 | /**
|
---|
| 170 | * @param TimeOfDay
|
---|
| 171 | */
|
---|
| 172 | public function setCheckoutTime(TimeOfDay $checkoutTime)
|
---|
| 173 | {
|
---|
| 174 | $this->checkoutTime = $checkoutTime;
|
---|
| 175 | }
|
---|
| 176 | /**
|
---|
| 177 | * @return TimeOfDay
|
---|
| 178 | */
|
---|
| 179 | public function getCheckoutTime()
|
---|
| 180 | {
|
---|
| 181 | return $this->checkoutTime;
|
---|
| 182 | }
|
---|
| 183 | /**
|
---|
| 184 | * @param string
|
---|
| 185 | */
|
---|
| 186 | public function setCheckoutTimeException($checkoutTimeException)
|
---|
| 187 | {
|
---|
| 188 | $this->checkoutTimeException = $checkoutTimeException;
|
---|
| 189 | }
|
---|
| 190 | /**
|
---|
| 191 | * @return string
|
---|
| 192 | */
|
---|
| 193 | public function getCheckoutTimeException()
|
---|
| 194 | {
|
---|
| 195 | return $this->checkoutTimeException;
|
---|
| 196 | }
|
---|
| 197 | /**
|
---|
| 198 | * @param bool
|
---|
| 199 | */
|
---|
| 200 | public function setKidsStayFree($kidsStayFree)
|
---|
| 201 | {
|
---|
| 202 | $this->kidsStayFree = $kidsStayFree;
|
---|
| 203 | }
|
---|
| 204 | /**
|
---|
| 205 | * @return bool
|
---|
| 206 | */
|
---|
| 207 | public function getKidsStayFree()
|
---|
| 208 | {
|
---|
| 209 | return $this->kidsStayFree;
|
---|
| 210 | }
|
---|
| 211 | /**
|
---|
| 212 | * @param string
|
---|
| 213 | */
|
---|
| 214 | public function setKidsStayFreeException($kidsStayFreeException)
|
---|
| 215 | {
|
---|
| 216 | $this->kidsStayFreeException = $kidsStayFreeException;
|
---|
| 217 | }
|
---|
| 218 | /**
|
---|
| 219 | * @return string
|
---|
| 220 | */
|
---|
| 221 | public function getKidsStayFreeException()
|
---|
| 222 | {
|
---|
| 223 | return $this->kidsStayFreeException;
|
---|
| 224 | }
|
---|
| 225 | /**
|
---|
| 226 | * @param int
|
---|
| 227 | */
|
---|
| 228 | public function setMaxChildAge($maxChildAge)
|
---|
| 229 | {
|
---|
| 230 | $this->maxChildAge = $maxChildAge;
|
---|
| 231 | }
|
---|
| 232 | /**
|
---|
| 233 | * @return int
|
---|
| 234 | */
|
---|
| 235 | public function getMaxChildAge()
|
---|
| 236 | {
|
---|
| 237 | return $this->maxChildAge;
|
---|
| 238 | }
|
---|
| 239 | /**
|
---|
| 240 | * @param string
|
---|
| 241 | */
|
---|
| 242 | public function setMaxChildAgeException($maxChildAgeException)
|
---|
| 243 | {
|
---|
| 244 | $this->maxChildAgeException = $maxChildAgeException;
|
---|
| 245 | }
|
---|
| 246 | /**
|
---|
| 247 | * @return string
|
---|
| 248 | */
|
---|
| 249 | public function getMaxChildAgeException()
|
---|
| 250 | {
|
---|
| 251 | return $this->maxChildAgeException;
|
---|
| 252 | }
|
---|
| 253 | /**
|
---|
| 254 | * @param int
|
---|
| 255 | */
|
---|
| 256 | public function setMaxKidsStayFreeCount($maxKidsStayFreeCount)
|
---|
| 257 | {
|
---|
| 258 | $this->maxKidsStayFreeCount = $maxKidsStayFreeCount;
|
---|
| 259 | }
|
---|
| 260 | /**
|
---|
| 261 | * @return int
|
---|
| 262 | */
|
---|
| 263 | public function getMaxKidsStayFreeCount()
|
---|
| 264 | {
|
---|
| 265 | return $this->maxKidsStayFreeCount;
|
---|
| 266 | }
|
---|
| 267 | /**
|
---|
| 268 | * @param string
|
---|
| 269 | */
|
---|
| 270 | public function setMaxKidsStayFreeCountException($maxKidsStayFreeCountException)
|
---|
| 271 | {
|
---|
| 272 | $this->maxKidsStayFreeCountException = $maxKidsStayFreeCountException;
|
---|
| 273 | }
|
---|
| 274 | /**
|
---|
| 275 | * @return string
|
---|
| 276 | */
|
---|
| 277 | public function getMaxKidsStayFreeCountException()
|
---|
| 278 | {
|
---|
| 279 | return $this->maxKidsStayFreeCountException;
|
---|
| 280 | }
|
---|
| 281 | /**
|
---|
| 282 | * @param PaymentOptions
|
---|
| 283 | */
|
---|
| 284 | public function setPaymentOptions(PaymentOptions $paymentOptions)
|
---|
| 285 | {
|
---|
| 286 | $this->paymentOptions = $paymentOptions;
|
---|
| 287 | }
|
---|
| 288 | /**
|
---|
| 289 | * @return PaymentOptions
|
---|
| 290 | */
|
---|
| 291 | public function getPaymentOptions()
|
---|
| 292 | {
|
---|
| 293 | return $this->paymentOptions;
|
---|
| 294 | }
|
---|
| 295 | /**
|
---|
| 296 | * @param bool
|
---|
| 297 | */
|
---|
| 298 | public function setSmokeFreeProperty($smokeFreeProperty)
|
---|
| 299 | {
|
---|
| 300 | $this->smokeFreeProperty = $smokeFreeProperty;
|
---|
| 301 | }
|
---|
| 302 | /**
|
---|
| 303 | * @return bool
|
---|
| 304 | */
|
---|
| 305 | public function getSmokeFreeProperty()
|
---|
| 306 | {
|
---|
| 307 | return $this->smokeFreeProperty;
|
---|
| 308 | }
|
---|
| 309 | /**
|
---|
| 310 | * @param string
|
---|
| 311 | */
|
---|
| 312 | public function setSmokeFreePropertyException($smokeFreePropertyException)
|
---|
| 313 | {
|
---|
| 314 | $this->smokeFreePropertyException = $smokeFreePropertyException;
|
---|
| 315 | }
|
---|
| 316 | /**
|
---|
| 317 | * @return string
|
---|
| 318 | */
|
---|
| 319 | public function getSmokeFreePropertyException()
|
---|
| 320 | {
|
---|
| 321 | return $this->smokeFreePropertyException;
|
---|
| 322 | }
|
---|
| 323 | }
|
---|
| 324 |
|
---|
| 325 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 326 | class_alias(Policies::class, 'Google_Service_MyBusinessLodging_Policies');
|
---|