| @@ 5-429 (lines=425) @@ | ||
| 2 | ||
| 3 | namespace Gueststream\PMS\IQWare\API; |
|
| 4 | ||
| 5 | class GetAvailRatesAndRoomNumbersWithRefusals |
|
| 6 | { |
|
| 7 | ||
| 8 | /** |
|
| 9 | * @var ArrayOfInt $iGuids |
|
| 10 | */ |
|
| 11 | protected $iGuids = null; |
|
| 12 | ||
| 13 | /** |
|
| 14 | * @var \DateTime $dtArrivalDate |
|
| 15 | */ |
|
| 16 | protected $dtArrivalDate = null; |
|
| 17 | ||
| 18 | /** |
|
| 19 | * @var \DateTime $dtDepartureDate |
|
| 20 | */ |
|
| 21 | protected $dtDepartureDate = null; |
|
| 22 | ||
| 23 | /** |
|
| 24 | * @var int $intGuestCount |
|
| 25 | */ |
|
| 26 | protected $intGuestCount = null; |
|
| 27 | ||
| 28 | /** |
|
| 29 | * @var string $strChildrens |
|
| 30 | */ |
|
| 31 | protected $strChildrens = null; |
|
| 32 | ||
| 33 | /** |
|
| 34 | * @var string $strISOLanguageCode |
|
| 35 | */ |
|
| 36 | protected $strISOLanguageCode = null; |
|
| 37 | ||
| 38 | /** |
|
| 39 | * @var int $intID_AccommodationType |
|
| 40 | */ |
|
| 41 | protected $intID_AccommodationType = null; |
|
| 42 | ||
| 43 | /** |
|
| 44 | * @var int $intRoomQty |
|
| 45 | */ |
|
| 46 | protected $intRoomQty = null; |
|
| 47 | ||
| 48 | /** |
|
| 49 | * @var string $strListOfPromoRates |
|
| 50 | */ |
|
| 51 | protected $strListOfPromoRates = null; |
|
| 52 | ||
| 53 | /** |
|
| 54 | * @var boolean $IsPromoByRate |
|
| 55 | */ |
|
| 56 | protected $IsPromoByRate = null; |
|
| 57 | ||
| 58 | /** |
|
| 59 | * @var int $intRateSpecial |
|
| 60 | */ |
|
| 61 | protected $intRateSpecial = null; |
|
| 62 | ||
| 63 | /** |
|
| 64 | * @var string $strRateCodes |
|
| 65 | */ |
|
| 66 | protected $strRateCodes = null; |
|
| 67 | ||
| 68 | /** |
|
| 69 | * @var string $strRoomTypes |
|
| 70 | */ |
|
| 71 | protected $strRoomTypes = null; |
|
| 72 | ||
| 73 | /** |
|
| 74 | * @var string $PushID |
|
| 75 | */ |
|
| 76 | protected $PushID = null; |
|
| 77 | ||
| 78 | /** |
|
| 79 | * @var IAB2BMode $BackToBackMode |
|
| 80 | */ |
|
| 81 | protected $BackToBackMode = null; |
|
| 82 | ||
| 83 | /** |
|
| 84 | * @var boolean $IsClusterVersion |
|
| 85 | */ |
|
| 86 | protected $IsClusterVersion = null; |
|
| 87 | ||
| 88 | /** |
|
| 89 | * @param ArrayOfInt $iGuids |
|
| 90 | * @param \DateTime $dtArrivalDate |
|
| 91 | * @param \DateTime $dtDepartureDate |
|
| 92 | * @param int $intGuestCount |
|
| 93 | * @param string $strChildrens |
|
| 94 | * @param string $strISOLanguageCode |
|
| 95 | * @param int $intID_AccommodationType |
|
| 96 | * @param int $intRoomQty |
|
| 97 | * @param string $strListOfPromoRates |
|
| 98 | * @param boolean $IsPromoByRate |
|
| 99 | * @param int $intRateSpecial |
|
| 100 | * @param string $strRateCodes |
|
| 101 | * @param string $strRoomTypes |
|
| 102 | * @param string $PushID |
|
| 103 | * @param IAB2BMode $BackToBackMode |
|
| 104 | * @param boolean $IsClusterVersion |
|
| 105 | */ |
|
| 106 | public function __construct($iGuids, \DateTime $dtArrivalDate, \DateTime $dtDepartureDate, $intGuestCount, $strChildrens, $strISOLanguageCode, $intID_AccommodationType, $intRoomQty, $strListOfPromoRates, $IsPromoByRate, $intRateSpecial, $strRateCodes, $strRoomTypes, $PushID, $BackToBackMode, $IsClusterVersion) |
|
| 107 | { |
|
| 108 | $this->iGuids = $iGuids; |
|
| 109 | $this->dtArrivalDate = $dtArrivalDate->format(\DateTime::ATOM); |
|
| 110 | $this->dtDepartureDate = $dtDepartureDate->format(\DateTime::ATOM); |
|
| 111 | $this->intGuestCount = $intGuestCount; |
|
| 112 | $this->strChildrens = $strChildrens; |
|
| 113 | $this->strISOLanguageCode = $strISOLanguageCode; |
|
| 114 | $this->intID_AccommodationType = $intID_AccommodationType; |
|
| 115 | $this->intRoomQty = $intRoomQty; |
|
| 116 | $this->strListOfPromoRates = $strListOfPromoRates; |
|
| 117 | $this->IsPromoByRate = $IsPromoByRate; |
|
| 118 | $this->intRateSpecial = $intRateSpecial; |
|
| 119 | $this->strRateCodes = $strRateCodes; |
|
| 120 | $this->strRoomTypes = $strRoomTypes; |
|
| 121 | $this->PushID = $PushID; |
|
| 122 | $this->BackToBackMode = $BackToBackMode; |
|
| 123 | $this->IsClusterVersion = $IsClusterVersion; |
|
| 124 | } |
|
| 125 | ||
| 126 | /** |
|
| 127 | * @return ArrayOfInt |
|
| 128 | */ |
|
| 129 | public function getIGuids() |
|
| 130 | { |
|
| 131 | return $this->iGuids; |
|
| 132 | } |
|
| 133 | ||
| 134 | /** |
|
| 135 | * @param ArrayOfInt $iGuids |
|
| 136 | * @return \Gueststream\PMS\IQWare\API\GetAvailRatesAndRoomNumbersWithRefusals |
|
| 137 | */ |
|
| 138 | public function setIGuids($iGuids) |
|
| 139 | { |
|
| 140 | $this->iGuids = $iGuids; |
|
| 141 | return $this; |
|
| 142 | } |
|
| 143 | ||
| 144 | /** |
|
| 145 | * @return \DateTime |
|
| 146 | */ |
|
| 147 | public function getDtArrivalDate() |
|
| 148 | { |
|
| 149 | if ($this->dtArrivalDate == null) { |
|
| 150 | return null; |
|
| 151 | } else { |
|
| 152 | try { |
|
| 153 | return new \DateTime($this->dtArrivalDate); |
|
| 154 | } catch (\Exception $e) { |
|
| 155 | return false; |
|
| 156 | } |
|
| 157 | } |
|
| 158 | } |
|
| 159 | ||
| 160 | /** |
|
| 161 | * @param \DateTime $dtArrivalDate |
|
| 162 | * @return \Gueststream\PMS\IQWare\API\GetAvailRatesAndRoomNumbersWithRefusals |
|
| 163 | */ |
|
| 164 | public function setDtArrivalDate(\DateTime $dtArrivalDate) |
|
| 165 | { |
|
| 166 | $this->dtArrivalDate = $dtArrivalDate->format(\DateTime::ATOM); |
|
| 167 | return $this; |
|
| 168 | } |
|
| 169 | ||
| 170 | /** |
|
| 171 | * @return \DateTime |
|
| 172 | */ |
|
| 173 | public function getDtDepartureDate() |
|
| 174 | { |
|
| 175 | if ($this->dtDepartureDate == null) { |
|
| 176 | return null; |
|
| 177 | } else { |
|
| 178 | try { |
|
| 179 | return new \DateTime($this->dtDepartureDate); |
|
| 180 | } catch (\Exception $e) { |
|
| 181 | return false; |
|
| 182 | } |
|
| 183 | } |
|
| 184 | } |
|
| 185 | ||
| 186 | /** |
|
| 187 | * @param \DateTime $dtDepartureDate |
|
| 188 | * @return \Gueststream\PMS\IQWare\API\GetAvailRatesAndRoomNumbersWithRefusals |
|
| 189 | */ |
|
| 190 | public function setDtDepartureDate(\DateTime $dtDepartureDate) |
|
| 191 | { |
|
| 192 | $this->dtDepartureDate = $dtDepartureDate->format(\DateTime::ATOM); |
|
| 193 | return $this; |
|
| 194 | } |
|
| 195 | ||
| 196 | /** |
|
| 197 | * @return int |
|
| 198 | */ |
|
| 199 | public function getIntGuestCount() |
|
| 200 | { |
|
| 201 | return $this->intGuestCount; |
|
| 202 | } |
|
| 203 | ||
| 204 | /** |
|
| 205 | * @param int $intGuestCount |
|
| 206 | * @return \Gueststream\PMS\IQWare\API\GetAvailRatesAndRoomNumbersWithRefusals |
|
| 207 | */ |
|
| 208 | public function setIntGuestCount($intGuestCount) |
|
| 209 | { |
|
| 210 | $this->intGuestCount = $intGuestCount; |
|
| 211 | return $this; |
|
| 212 | } |
|
| 213 | ||
| 214 | /** |
|
| 215 | * @return string |
|
| 216 | */ |
|
| 217 | public function getStrChildrens() |
|
| 218 | { |
|
| 219 | return $this->strChildrens; |
|
| 220 | } |
|
| 221 | ||
| 222 | /** |
|
| 223 | * @param string $strChildrens |
|
| 224 | * @return \Gueststream\PMS\IQWare\API\GetAvailRatesAndRoomNumbersWithRefusals |
|
| 225 | */ |
|
| 226 | public function setStrChildrens($strChildrens) |
|
| 227 | { |
|
| 228 | $this->strChildrens = $strChildrens; |
|
| 229 | return $this; |
|
| 230 | } |
|
| 231 | ||
| 232 | /** |
|
| 233 | * @return string |
|
| 234 | */ |
|
| 235 | public function getStrISOLanguageCode() |
|
| 236 | { |
|
| 237 | return $this->strISOLanguageCode; |
|
| 238 | } |
|
| 239 | ||
| 240 | /** |
|
| 241 | * @param string $strISOLanguageCode |
|
| 242 | * @return \Gueststream\PMS\IQWare\API\GetAvailRatesAndRoomNumbersWithRefusals |
|
| 243 | */ |
|
| 244 | public function setStrISOLanguageCode($strISOLanguageCode) |
|
| 245 | { |
|
| 246 | $this->strISOLanguageCode = $strISOLanguageCode; |
|
| 247 | return $this; |
|
| 248 | } |
|
| 249 | ||
| 250 | /** |
|
| 251 | * @return int |
|
| 252 | */ |
|
| 253 | public function getIntID_AccommodationType() |
|
| 254 | { |
|
| 255 | return $this->intID_AccommodationType; |
|
| 256 | } |
|
| 257 | ||
| 258 | /** |
|
| 259 | * @param int $intID_AccommodationType |
|
| 260 | * @return \Gueststream\PMS\IQWare\API\GetAvailRatesAndRoomNumbersWithRefusals |
|
| 261 | */ |
|
| 262 | public function setIntID_AccommodationType($intID_AccommodationType) |
|
| 263 | { |
|
| 264 | $this->intID_AccommodationType = $intID_AccommodationType; |
|
| 265 | return $this; |
|
| 266 | } |
|
| 267 | ||
| 268 | /** |
|
| 269 | * @return int |
|
| 270 | */ |
|
| 271 | public function getIntRoomQty() |
|
| 272 | { |
|
| 273 | return $this->intRoomQty; |
|
| 274 | } |
|
| 275 | ||
| 276 | /** |
|
| 277 | * @param int $intRoomQty |
|
| 278 | * @return \Gueststream\PMS\IQWare\API\GetAvailRatesAndRoomNumbersWithRefusals |
|
| 279 | */ |
|
| 280 | public function setIntRoomQty($intRoomQty) |
|
| 281 | { |
|
| 282 | $this->intRoomQty = $intRoomQty; |
|
| 283 | return $this; |
|
| 284 | } |
|
| 285 | ||
| 286 | /** |
|
| 287 | * @return string |
|
| 288 | */ |
|
| 289 | public function getStrListOfPromoRates() |
|
| 290 | { |
|
| 291 | return $this->strListOfPromoRates; |
|
| 292 | } |
|
| 293 | ||
| 294 | /** |
|
| 295 | * @param string $strListOfPromoRates |
|
| 296 | * @return \Gueststream\PMS\IQWare\API\GetAvailRatesAndRoomNumbersWithRefusals |
|
| 297 | */ |
|
| 298 | public function setStrListOfPromoRates($strListOfPromoRates) |
|
| 299 | { |
|
| 300 | $this->strListOfPromoRates = $strListOfPromoRates; |
|
| 301 | return $this; |
|
| 302 | } |
|
| 303 | ||
| 304 | /** |
|
| 305 | * @return boolean |
|
| 306 | */ |
|
| 307 | public function getIsPromoByRate() |
|
| 308 | { |
|
| 309 | return $this->IsPromoByRate; |
|
| 310 | } |
|
| 311 | ||
| 312 | /** |
|
| 313 | * @param boolean $IsPromoByRate |
|
| 314 | * @return \Gueststream\PMS\IQWare\API\GetAvailRatesAndRoomNumbersWithRefusals |
|
| 315 | */ |
|
| 316 | public function setIsPromoByRate($IsPromoByRate) |
|
| 317 | { |
|
| 318 | $this->IsPromoByRate = $IsPromoByRate; |
|
| 319 | return $this; |
|
| 320 | } |
|
| 321 | ||
| 322 | /** |
|
| 323 | * @return int |
|
| 324 | */ |
|
| 325 | public function getIntRateSpecial() |
|
| 326 | { |
|
| 327 | return $this->intRateSpecial; |
|
| 328 | } |
|
| 329 | ||
| 330 | /** |
|
| 331 | * @param int $intRateSpecial |
|
| 332 | * @return \Gueststream\PMS\IQWare\API\GetAvailRatesAndRoomNumbersWithRefusals |
|
| 333 | */ |
|
| 334 | public function setIntRateSpecial($intRateSpecial) |
|
| 335 | { |
|
| 336 | $this->intRateSpecial = $intRateSpecial; |
|
| 337 | return $this; |
|
| 338 | } |
|
| 339 | ||
| 340 | /** |
|
| 341 | * @return string |
|
| 342 | */ |
|
| 343 | public function getStrRateCodes() |
|
| 344 | { |
|
| 345 | return $this->strRateCodes; |
|
| 346 | } |
|
| 347 | ||
| 348 | /** |
|
| 349 | * @param string $strRateCodes |
|
| 350 | * @return \Gueststream\PMS\IQWare\API\GetAvailRatesAndRoomNumbersWithRefusals |
|
| 351 | */ |
|
| 352 | public function setStrRateCodes($strRateCodes) |
|
| 353 | { |
|
| 354 | $this->strRateCodes = $strRateCodes; |
|
| 355 | return $this; |
|
| 356 | } |
|
| 357 | ||
| 358 | /** |
|
| 359 | * @return string |
|
| 360 | */ |
|
| 361 | public function getStrRoomTypes() |
|
| 362 | { |
|
| 363 | return $this->strRoomTypes; |
|
| 364 | } |
|
| 365 | ||
| 366 | /** |
|
| 367 | * @param string $strRoomTypes |
|
| 368 | * @return \Gueststream\PMS\IQWare\API\GetAvailRatesAndRoomNumbersWithRefusals |
|
| 369 | */ |
|
| 370 | public function setStrRoomTypes($strRoomTypes) |
|
| 371 | { |
|
| 372 | $this->strRoomTypes = $strRoomTypes; |
|
| 373 | return $this; |
|
| 374 | } |
|
| 375 | ||
| 376 | /** |
|
| 377 | * @return string |
|
| 378 | */ |
|
| 379 | public function getPushID() |
|
| 380 | { |
|
| 381 | return $this->PushID; |
|
| 382 | } |
|
| 383 | ||
| 384 | /** |
|
| 385 | * @param string $PushID |
|
| 386 | * @return \Gueststream\PMS\IQWare\API\GetAvailRatesAndRoomNumbersWithRefusals |
|
| 387 | */ |
|
| 388 | public function setPushID($PushID) |
|
| 389 | { |
|
| 390 | $this->PushID = $PushID; |
|
| 391 | return $this; |
|
| 392 | } |
|
| 393 | ||
| 394 | /** |
|
| 395 | * @return IAB2BMode |
|
| 396 | */ |
|
| 397 | public function getBackToBackMode() |
|
| 398 | { |
|
| 399 | return $this->BackToBackMode; |
|
| 400 | } |
|
| 401 | ||
| 402 | /** |
|
| 403 | * @param IAB2BMode $BackToBackMode |
|
| 404 | * @return \Gueststream\PMS\IQWare\API\GetAvailRatesAndRoomNumbersWithRefusals |
|
| 405 | */ |
|
| 406 | public function setBackToBackMode($BackToBackMode) |
|
| 407 | { |
|
| 408 | $this->BackToBackMode = $BackToBackMode; |
|
| 409 | return $this; |
|
| 410 | } |
|
| 411 | ||
| 412 | /** |
|
| 413 | * @return boolean |
|
| 414 | */ |
|
| 415 | public function getIsClusterVersion() |
|
| 416 | { |
|
| 417 | return $this->IsClusterVersion; |
|
| 418 | } |
|
| 419 | ||
| 420 | /** |
|
| 421 | * @param boolean $IsClusterVersion |
|
| 422 | * @return \Gueststream\PMS\IQWare\API\GetAvailRatesAndRoomNumbersWithRefusals |
|
| 423 | */ |
|
| 424 | public function setIsClusterVersion($IsClusterVersion) |
|
| 425 | { |
|
| 426 | $this->IsClusterVersion = $IsClusterVersion; |
|
| 427 | return $this; |
|
| 428 | } |
|
| 429 | } |
|
| 430 | ||
| @@ 5-429 (lines=425) @@ | ||
| 2 | ||
| 3 | namespace Gueststream\PMS\IQWare\API; |
|
| 4 | ||
| 5 | class GetUnfilteredRatesAndRoomsPricesBackToBack |
|
| 6 | { |
|
| 7 | ||
| 8 | /** |
|
| 9 | * @var ArrayOfInt $iGuids |
|
| 10 | */ |
|
| 11 | protected $iGuids = null; |
|
| 12 | ||
| 13 | /** |
|
| 14 | * @var \DateTime $dtArrivalDate |
|
| 15 | */ |
|
| 16 | protected $dtArrivalDate = null; |
|
| 17 | ||
| 18 | /** |
|
| 19 | * @var \DateTime $dtDepartureDate |
|
| 20 | */ |
|
| 21 | protected $dtDepartureDate = null; |
|
| 22 | ||
| 23 | /** |
|
| 24 | * @var int $intGuestCount |
|
| 25 | */ |
|
| 26 | protected $intGuestCount = null; |
|
| 27 | ||
| 28 | /** |
|
| 29 | * @var string $strChildrens |
|
| 30 | */ |
|
| 31 | protected $strChildrens = null; |
|
| 32 | ||
| 33 | /** |
|
| 34 | * @var string $strISOLanguageCode |
|
| 35 | */ |
|
| 36 | protected $strISOLanguageCode = null; |
|
| 37 | ||
| 38 | /** |
|
| 39 | * @var int $intID_AccommodationType |
|
| 40 | */ |
|
| 41 | protected $intID_AccommodationType = null; |
|
| 42 | ||
| 43 | /** |
|
| 44 | * @var int $intRoomQty |
|
| 45 | */ |
|
| 46 | protected $intRoomQty = null; |
|
| 47 | ||
| 48 | /** |
|
| 49 | * @var string $strListOfPromoRates |
|
| 50 | */ |
|
| 51 | protected $strListOfPromoRates = null; |
|
| 52 | ||
| 53 | /** |
|
| 54 | * @var boolean $IsPromoByRate |
|
| 55 | */ |
|
| 56 | protected $IsPromoByRate = null; |
|
| 57 | ||
| 58 | /** |
|
| 59 | * @var int $intRateSpecial |
|
| 60 | */ |
|
| 61 | protected $intRateSpecial = null; |
|
| 62 | ||
| 63 | /** |
|
| 64 | * @var string $strRateCodes |
|
| 65 | */ |
|
| 66 | protected $strRateCodes = null; |
|
| 67 | ||
| 68 | /** |
|
| 69 | * @var string $strRoomTypes |
|
| 70 | */ |
|
| 71 | protected $strRoomTypes = null; |
|
| 72 | ||
| 73 | /** |
|
| 74 | * @var string $PushID |
|
| 75 | */ |
|
| 76 | protected $PushID = null; |
|
| 77 | ||
| 78 | /** |
|
| 79 | * @var IAB2BMode $BackToBackMode |
|
| 80 | */ |
|
| 81 | protected $BackToBackMode = null; |
|
| 82 | ||
| 83 | /** |
|
| 84 | * @var boolean $IsClusterVersion |
|
| 85 | */ |
|
| 86 | protected $IsClusterVersion = null; |
|
| 87 | ||
| 88 | /** |
|
| 89 | * @param ArrayOfInt $iGuids |
|
| 90 | * @param \DateTime $dtArrivalDate |
|
| 91 | * @param \DateTime $dtDepartureDate |
|
| 92 | * @param int $intGuestCount |
|
| 93 | * @param string $strChildrens |
|
| 94 | * @param string $strISOLanguageCode |
|
| 95 | * @param int $intID_AccommodationType |
|
| 96 | * @param int $intRoomQty |
|
| 97 | * @param string $strListOfPromoRates |
|
| 98 | * @param boolean $IsPromoByRate |
|
| 99 | * @param int $intRateSpecial |
|
| 100 | * @param string $strRateCodes |
|
| 101 | * @param string $strRoomTypes |
|
| 102 | * @param string $PushID |
|
| 103 | * @param IAB2BMode $BackToBackMode |
|
| 104 | * @param boolean $IsClusterVersion |
|
| 105 | */ |
|
| 106 | public function __construct($iGuids, \DateTime $dtArrivalDate, \DateTime $dtDepartureDate, $intGuestCount, $strChildrens, $strISOLanguageCode, $intID_AccommodationType, $intRoomQty, $strListOfPromoRates, $IsPromoByRate, $intRateSpecial, $strRateCodes, $strRoomTypes, $PushID, $BackToBackMode, $IsClusterVersion) |
|
| 107 | { |
|
| 108 | $this->iGuids = $iGuids; |
|
| 109 | $this->dtArrivalDate = $dtArrivalDate->format(\DateTime::ATOM); |
|
| 110 | $this->dtDepartureDate = $dtDepartureDate->format(\DateTime::ATOM); |
|
| 111 | $this->intGuestCount = $intGuestCount; |
|
| 112 | $this->strChildrens = $strChildrens; |
|
| 113 | $this->strISOLanguageCode = $strISOLanguageCode; |
|
| 114 | $this->intID_AccommodationType = $intID_AccommodationType; |
|
| 115 | $this->intRoomQty = $intRoomQty; |
|
| 116 | $this->strListOfPromoRates = $strListOfPromoRates; |
|
| 117 | $this->IsPromoByRate = $IsPromoByRate; |
|
| 118 | $this->intRateSpecial = $intRateSpecial; |
|
| 119 | $this->strRateCodes = $strRateCodes; |
|
| 120 | $this->strRoomTypes = $strRoomTypes; |
|
| 121 | $this->PushID = $PushID; |
|
| 122 | $this->BackToBackMode = $BackToBackMode; |
|
| 123 | $this->IsClusterVersion = $IsClusterVersion; |
|
| 124 | } |
|
| 125 | ||
| 126 | /** |
|
| 127 | * @return ArrayOfInt |
|
| 128 | */ |
|
| 129 | public function getIGuids() |
|
| 130 | { |
|
| 131 | return $this->iGuids; |
|
| 132 | } |
|
| 133 | ||
| 134 | /** |
|
| 135 | * @param ArrayOfInt $iGuids |
|
| 136 | * @return \Gueststream\PMS\IQWare\API\GetUnfilteredRatesAndRoomsPricesBackToBack |
|
| 137 | */ |
|
| 138 | public function setIGuids($iGuids) |
|
| 139 | { |
|
| 140 | $this->iGuids = $iGuids; |
|
| 141 | return $this; |
|
| 142 | } |
|
| 143 | ||
| 144 | /** |
|
| 145 | * @return \DateTime |
|
| 146 | */ |
|
| 147 | public function getDtArrivalDate() |
|
| 148 | { |
|
| 149 | if ($this->dtArrivalDate == null) { |
|
| 150 | return null; |
|
| 151 | } else { |
|
| 152 | try { |
|
| 153 | return new \DateTime($this->dtArrivalDate); |
|
| 154 | } catch (\Exception $e) { |
|
| 155 | return false; |
|
| 156 | } |
|
| 157 | } |
|
| 158 | } |
|
| 159 | ||
| 160 | /** |
|
| 161 | * @param \DateTime $dtArrivalDate |
|
| 162 | * @return \Gueststream\PMS\IQWare\API\GetUnfilteredRatesAndRoomsPricesBackToBack |
|
| 163 | */ |
|
| 164 | public function setDtArrivalDate(\DateTime $dtArrivalDate) |
|
| 165 | { |
|
| 166 | $this->dtArrivalDate = $dtArrivalDate->format(\DateTime::ATOM); |
|
| 167 | return $this; |
|
| 168 | } |
|
| 169 | ||
| 170 | /** |
|
| 171 | * @return \DateTime |
|
| 172 | */ |
|
| 173 | public function getDtDepartureDate() |
|
| 174 | { |
|
| 175 | if ($this->dtDepartureDate == null) { |
|
| 176 | return null; |
|
| 177 | } else { |
|
| 178 | try { |
|
| 179 | return new \DateTime($this->dtDepartureDate); |
|
| 180 | } catch (\Exception $e) { |
|
| 181 | return false; |
|
| 182 | } |
|
| 183 | } |
|
| 184 | } |
|
| 185 | ||
| 186 | /** |
|
| 187 | * @param \DateTime $dtDepartureDate |
|
| 188 | * @return \Gueststream\PMS\IQWare\API\GetUnfilteredRatesAndRoomsPricesBackToBack |
|
| 189 | */ |
|
| 190 | public function setDtDepartureDate(\DateTime $dtDepartureDate) |
|
| 191 | { |
|
| 192 | $this->dtDepartureDate = $dtDepartureDate->format(\DateTime::ATOM); |
|
| 193 | return $this; |
|
| 194 | } |
|
| 195 | ||
| 196 | /** |
|
| 197 | * @return int |
|
| 198 | */ |
|
| 199 | public function getIntGuestCount() |
|
| 200 | { |
|
| 201 | return $this->intGuestCount; |
|
| 202 | } |
|
| 203 | ||
| 204 | /** |
|
| 205 | * @param int $intGuestCount |
|
| 206 | * @return \Gueststream\PMS\IQWare\API\GetUnfilteredRatesAndRoomsPricesBackToBack |
|
| 207 | */ |
|
| 208 | public function setIntGuestCount($intGuestCount) |
|
| 209 | { |
|
| 210 | $this->intGuestCount = $intGuestCount; |
|
| 211 | return $this; |
|
| 212 | } |
|
| 213 | ||
| 214 | /** |
|
| 215 | * @return string |
|
| 216 | */ |
|
| 217 | public function getStrChildrens() |
|
| 218 | { |
|
| 219 | return $this->strChildrens; |
|
| 220 | } |
|
| 221 | ||
| 222 | /** |
|
| 223 | * @param string $strChildrens |
|
| 224 | * @return \Gueststream\PMS\IQWare\API\GetUnfilteredRatesAndRoomsPricesBackToBack |
|
| 225 | */ |
|
| 226 | public function setStrChildrens($strChildrens) |
|
| 227 | { |
|
| 228 | $this->strChildrens = $strChildrens; |
|
| 229 | return $this; |
|
| 230 | } |
|
| 231 | ||
| 232 | /** |
|
| 233 | * @return string |
|
| 234 | */ |
|
| 235 | public function getStrISOLanguageCode() |
|
| 236 | { |
|
| 237 | return $this->strISOLanguageCode; |
|
| 238 | } |
|
| 239 | ||
| 240 | /** |
|
| 241 | * @param string $strISOLanguageCode |
|
| 242 | * @return \Gueststream\PMS\IQWare\API\GetUnfilteredRatesAndRoomsPricesBackToBack |
|
| 243 | */ |
|
| 244 | public function setStrISOLanguageCode($strISOLanguageCode) |
|
| 245 | { |
|
| 246 | $this->strISOLanguageCode = $strISOLanguageCode; |
|
| 247 | return $this; |
|
| 248 | } |
|
| 249 | ||
| 250 | /** |
|
| 251 | * @return int |
|
| 252 | */ |
|
| 253 | public function getIntID_AccommodationType() |
|
| 254 | { |
|
| 255 | return $this->intID_AccommodationType; |
|
| 256 | } |
|
| 257 | ||
| 258 | /** |
|
| 259 | * @param int $intID_AccommodationType |
|
| 260 | * @return \Gueststream\PMS\IQWare\API\GetUnfilteredRatesAndRoomsPricesBackToBack |
|
| 261 | */ |
|
| 262 | public function setIntID_AccommodationType($intID_AccommodationType) |
|
| 263 | { |
|
| 264 | $this->intID_AccommodationType = $intID_AccommodationType; |
|
| 265 | return $this; |
|
| 266 | } |
|
| 267 | ||
| 268 | /** |
|
| 269 | * @return int |
|
| 270 | */ |
|
| 271 | public function getIntRoomQty() |
|
| 272 | { |
|
| 273 | return $this->intRoomQty; |
|
| 274 | } |
|
| 275 | ||
| 276 | /** |
|
| 277 | * @param int $intRoomQty |
|
| 278 | * @return \Gueststream\PMS\IQWare\API\GetUnfilteredRatesAndRoomsPricesBackToBack |
|
| 279 | */ |
|
| 280 | public function setIntRoomQty($intRoomQty) |
|
| 281 | { |
|
| 282 | $this->intRoomQty = $intRoomQty; |
|
| 283 | return $this; |
|
| 284 | } |
|
| 285 | ||
| 286 | /** |
|
| 287 | * @return string |
|
| 288 | */ |
|
| 289 | public function getStrListOfPromoRates() |
|
| 290 | { |
|
| 291 | return $this->strListOfPromoRates; |
|
| 292 | } |
|
| 293 | ||
| 294 | /** |
|
| 295 | * @param string $strListOfPromoRates |
|
| 296 | * @return \Gueststream\PMS\IQWare\API\GetUnfilteredRatesAndRoomsPricesBackToBack |
|
| 297 | */ |
|
| 298 | public function setStrListOfPromoRates($strListOfPromoRates) |
|
| 299 | { |
|
| 300 | $this->strListOfPromoRates = $strListOfPromoRates; |
|
| 301 | return $this; |
|
| 302 | } |
|
| 303 | ||
| 304 | /** |
|
| 305 | * @return boolean |
|
| 306 | */ |
|
| 307 | public function getIsPromoByRate() |
|
| 308 | { |
|
| 309 | return $this->IsPromoByRate; |
|
| 310 | } |
|
| 311 | ||
| 312 | /** |
|
| 313 | * @param boolean $IsPromoByRate |
|
| 314 | * @return \Gueststream\PMS\IQWare\API\GetUnfilteredRatesAndRoomsPricesBackToBack |
|
| 315 | */ |
|
| 316 | public function setIsPromoByRate($IsPromoByRate) |
|
| 317 | { |
|
| 318 | $this->IsPromoByRate = $IsPromoByRate; |
|
| 319 | return $this; |
|
| 320 | } |
|
| 321 | ||
| 322 | /** |
|
| 323 | * @return int |
|
| 324 | */ |
|
| 325 | public function getIntRateSpecial() |
|
| 326 | { |
|
| 327 | return $this->intRateSpecial; |
|
| 328 | } |
|
| 329 | ||
| 330 | /** |
|
| 331 | * @param int $intRateSpecial |
|
| 332 | * @return \Gueststream\PMS\IQWare\API\GetUnfilteredRatesAndRoomsPricesBackToBack |
|
| 333 | */ |
|
| 334 | public function setIntRateSpecial($intRateSpecial) |
|
| 335 | { |
|
| 336 | $this->intRateSpecial = $intRateSpecial; |
|
| 337 | return $this; |
|
| 338 | } |
|
| 339 | ||
| 340 | /** |
|
| 341 | * @return string |
|
| 342 | */ |
|
| 343 | public function getStrRateCodes() |
|
| 344 | { |
|
| 345 | return $this->strRateCodes; |
|
| 346 | } |
|
| 347 | ||
| 348 | /** |
|
| 349 | * @param string $strRateCodes |
|
| 350 | * @return \Gueststream\PMS\IQWare\API\GetUnfilteredRatesAndRoomsPricesBackToBack |
|
| 351 | */ |
|
| 352 | public function setStrRateCodes($strRateCodes) |
|
| 353 | { |
|
| 354 | $this->strRateCodes = $strRateCodes; |
|
| 355 | return $this; |
|
| 356 | } |
|
| 357 | ||
| 358 | /** |
|
| 359 | * @return string |
|
| 360 | */ |
|
| 361 | public function getStrRoomTypes() |
|
| 362 | { |
|
| 363 | return $this->strRoomTypes; |
|
| 364 | } |
|
| 365 | ||
| 366 | /** |
|
| 367 | * @param string $strRoomTypes |
|
| 368 | * @return \Gueststream\PMS\IQWare\API\GetUnfilteredRatesAndRoomsPricesBackToBack |
|
| 369 | */ |
|
| 370 | public function setStrRoomTypes($strRoomTypes) |
|
| 371 | { |
|
| 372 | $this->strRoomTypes = $strRoomTypes; |
|
| 373 | return $this; |
|
| 374 | } |
|
| 375 | ||
| 376 | /** |
|
| 377 | * @return string |
|
| 378 | */ |
|
| 379 | public function getPushID() |
|
| 380 | { |
|
| 381 | return $this->PushID; |
|
| 382 | } |
|
| 383 | ||
| 384 | /** |
|
| 385 | * @param string $PushID |
|
| 386 | * @return \Gueststream\PMS\IQWare\API\GetUnfilteredRatesAndRoomsPricesBackToBack |
|
| 387 | */ |
|
| 388 | public function setPushID($PushID) |
|
| 389 | { |
|
| 390 | $this->PushID = $PushID; |
|
| 391 | return $this; |
|
| 392 | } |
|
| 393 | ||
| 394 | /** |
|
| 395 | * @return IAB2BMode |
|
| 396 | */ |
|
| 397 | public function getBackToBackMode() |
|
| 398 | { |
|
| 399 | return $this->BackToBackMode; |
|
| 400 | } |
|
| 401 | ||
| 402 | /** |
|
| 403 | * @param IAB2BMode $BackToBackMode |
|
| 404 | * @return \Gueststream\PMS\IQWare\API\GetUnfilteredRatesAndRoomsPricesBackToBack |
|
| 405 | */ |
|
| 406 | public function setBackToBackMode($BackToBackMode) |
|
| 407 | { |
|
| 408 | $this->BackToBackMode = $BackToBackMode; |
|
| 409 | return $this; |
|
| 410 | } |
|
| 411 | ||
| 412 | /** |
|
| 413 | * @return boolean |
|
| 414 | */ |
|
| 415 | public function getIsClusterVersion() |
|
| 416 | { |
|
| 417 | return $this->IsClusterVersion; |
|
| 418 | } |
|
| 419 | ||
| 420 | /** |
|
| 421 | * @param boolean $IsClusterVersion |
|
| 422 | * @return \Gueststream\PMS\IQWare\API\GetUnfilteredRatesAndRoomsPricesBackToBack |
|
| 423 | */ |
|
| 424 | public function setIsClusterVersion($IsClusterVersion) |
|
| 425 | { |
|
| 426 | $this->IsClusterVersion = $IsClusterVersion; |
|
| 427 | return $this; |
|
| 428 | } |
|
| 429 | } |
|
| 430 | ||