Bez popisu

SliceInput.php 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. class Google_Service_QPXExpress_SliceInput extends Google_Collection
  18. {
  19. protected $collection_key = 'prohibitedCarrier';
  20. public $alliance;
  21. public $date;
  22. public $destination;
  23. public $kind;
  24. public $maxConnectionDuration;
  25. public $maxStops;
  26. public $origin;
  27. public $permittedCarrier;
  28. protected $permittedDepartureTimeType = 'Google_Service_QPXExpress_TimeOfDayRange';
  29. protected $permittedDepartureTimeDataType = '';
  30. public $preferredCabin;
  31. public $prohibitedCarrier;
  32. public function setAlliance($alliance)
  33. {
  34. $this->alliance = $alliance;
  35. }
  36. public function getAlliance()
  37. {
  38. return $this->alliance;
  39. }
  40. public function setDate($date)
  41. {
  42. $this->date = $date;
  43. }
  44. public function getDate()
  45. {
  46. return $this->date;
  47. }
  48. public function setDestination($destination)
  49. {
  50. $this->destination = $destination;
  51. }
  52. public function getDestination()
  53. {
  54. return $this->destination;
  55. }
  56. public function setKind($kind)
  57. {
  58. $this->kind = $kind;
  59. }
  60. public function getKind()
  61. {
  62. return $this->kind;
  63. }
  64. public function setMaxConnectionDuration($maxConnectionDuration)
  65. {
  66. $this->maxConnectionDuration = $maxConnectionDuration;
  67. }
  68. public function getMaxConnectionDuration()
  69. {
  70. return $this->maxConnectionDuration;
  71. }
  72. public function setMaxStops($maxStops)
  73. {
  74. $this->maxStops = $maxStops;
  75. }
  76. public function getMaxStops()
  77. {
  78. return $this->maxStops;
  79. }
  80. public function setOrigin($origin)
  81. {
  82. $this->origin = $origin;
  83. }
  84. public function getOrigin()
  85. {
  86. return $this->origin;
  87. }
  88. public function setPermittedCarrier($permittedCarrier)
  89. {
  90. $this->permittedCarrier = $permittedCarrier;
  91. }
  92. public function getPermittedCarrier()
  93. {
  94. return $this->permittedCarrier;
  95. }
  96. /**
  97. * @param Google_Service_QPXExpress_TimeOfDayRange
  98. */
  99. public function setPermittedDepartureTime(Google_Service_QPXExpress_TimeOfDayRange $permittedDepartureTime)
  100. {
  101. $this->permittedDepartureTime = $permittedDepartureTime;
  102. }
  103. /**
  104. * @return Google_Service_QPXExpress_TimeOfDayRange
  105. */
  106. public function getPermittedDepartureTime()
  107. {
  108. return $this->permittedDepartureTime;
  109. }
  110. public function setPreferredCabin($preferredCabin)
  111. {
  112. $this->preferredCabin = $preferredCabin;
  113. }
  114. public function getPreferredCabin()
  115. {
  116. return $this->preferredCabin;
  117. }
  118. public function setProhibitedCarrier($prohibitedCarrier)
  119. {
  120. $this->prohibitedCarrier = $prohibitedCarrier;
  121. }
  122. public function getProhibitedCarrier()
  123. {
  124. return $this->prohibitedCarrier;
  125. }
  126. }