[e3d4e0a] | 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\Walletobjects;
|
---|
| 19 |
|
---|
| 20 | class Resources extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'transitObjects';
|
---|
| 23 | protected $eventTicketClassesType = EventTicketClass::class;
|
---|
| 24 | protected $eventTicketClassesDataType = 'array';
|
---|
| 25 | protected $eventTicketObjectsType = EventTicketObject::class;
|
---|
| 26 | protected $eventTicketObjectsDataType = 'array';
|
---|
| 27 | protected $flightClassesType = FlightClass::class;
|
---|
| 28 | protected $flightClassesDataType = 'array';
|
---|
| 29 | protected $flightObjectsType = FlightObject::class;
|
---|
| 30 | protected $flightObjectsDataType = 'array';
|
---|
| 31 | protected $genericClassesType = GenericClass::class;
|
---|
| 32 | protected $genericClassesDataType = 'array';
|
---|
| 33 | protected $genericObjectsType = GenericObject::class;
|
---|
| 34 | protected $genericObjectsDataType = 'array';
|
---|
| 35 | protected $giftCardClassesType = GiftCardClass::class;
|
---|
| 36 | protected $giftCardClassesDataType = 'array';
|
---|
| 37 | protected $giftCardObjectsType = GiftCardObject::class;
|
---|
| 38 | protected $giftCardObjectsDataType = 'array';
|
---|
| 39 | protected $loyaltyClassesType = LoyaltyClass::class;
|
---|
| 40 | protected $loyaltyClassesDataType = 'array';
|
---|
| 41 | protected $loyaltyObjectsType = LoyaltyObject::class;
|
---|
| 42 | protected $loyaltyObjectsDataType = 'array';
|
---|
| 43 | protected $offerClassesType = OfferClass::class;
|
---|
| 44 | protected $offerClassesDataType = 'array';
|
---|
| 45 | protected $offerObjectsType = OfferObject::class;
|
---|
| 46 | protected $offerObjectsDataType = 'array';
|
---|
| 47 | protected $transitClassesType = TransitClass::class;
|
---|
| 48 | protected $transitClassesDataType = 'array';
|
---|
| 49 | protected $transitObjectsType = TransitObject::class;
|
---|
| 50 | protected $transitObjectsDataType = 'array';
|
---|
| 51 |
|
---|
| 52 | /**
|
---|
| 53 | * @param EventTicketClass[]
|
---|
| 54 | */
|
---|
| 55 | public function setEventTicketClasses($eventTicketClasses)
|
---|
| 56 | {
|
---|
| 57 | $this->eventTicketClasses = $eventTicketClasses;
|
---|
| 58 | }
|
---|
| 59 | /**
|
---|
| 60 | * @return EventTicketClass[]
|
---|
| 61 | */
|
---|
| 62 | public function getEventTicketClasses()
|
---|
| 63 | {
|
---|
| 64 | return $this->eventTicketClasses;
|
---|
| 65 | }
|
---|
| 66 | /**
|
---|
| 67 | * @param EventTicketObject[]
|
---|
| 68 | */
|
---|
| 69 | public function setEventTicketObjects($eventTicketObjects)
|
---|
| 70 | {
|
---|
| 71 | $this->eventTicketObjects = $eventTicketObjects;
|
---|
| 72 | }
|
---|
| 73 | /**
|
---|
| 74 | * @return EventTicketObject[]
|
---|
| 75 | */
|
---|
| 76 | public function getEventTicketObjects()
|
---|
| 77 | {
|
---|
| 78 | return $this->eventTicketObjects;
|
---|
| 79 | }
|
---|
| 80 | /**
|
---|
| 81 | * @param FlightClass[]
|
---|
| 82 | */
|
---|
| 83 | public function setFlightClasses($flightClasses)
|
---|
| 84 | {
|
---|
| 85 | $this->flightClasses = $flightClasses;
|
---|
| 86 | }
|
---|
| 87 | /**
|
---|
| 88 | * @return FlightClass[]
|
---|
| 89 | */
|
---|
| 90 | public function getFlightClasses()
|
---|
| 91 | {
|
---|
| 92 | return $this->flightClasses;
|
---|
| 93 | }
|
---|
| 94 | /**
|
---|
| 95 | * @param FlightObject[]
|
---|
| 96 | */
|
---|
| 97 | public function setFlightObjects($flightObjects)
|
---|
| 98 | {
|
---|
| 99 | $this->flightObjects = $flightObjects;
|
---|
| 100 | }
|
---|
| 101 | /**
|
---|
| 102 | * @return FlightObject[]
|
---|
| 103 | */
|
---|
| 104 | public function getFlightObjects()
|
---|
| 105 | {
|
---|
| 106 | return $this->flightObjects;
|
---|
| 107 | }
|
---|
| 108 | /**
|
---|
| 109 | * @param GenericClass[]
|
---|
| 110 | */
|
---|
| 111 | public function setGenericClasses($genericClasses)
|
---|
| 112 | {
|
---|
| 113 | $this->genericClasses = $genericClasses;
|
---|
| 114 | }
|
---|
| 115 | /**
|
---|
| 116 | * @return GenericClass[]
|
---|
| 117 | */
|
---|
| 118 | public function getGenericClasses()
|
---|
| 119 | {
|
---|
| 120 | return $this->genericClasses;
|
---|
| 121 | }
|
---|
| 122 | /**
|
---|
| 123 | * @param GenericObject[]
|
---|
| 124 | */
|
---|
| 125 | public function setGenericObjects($genericObjects)
|
---|
| 126 | {
|
---|
| 127 | $this->genericObjects = $genericObjects;
|
---|
| 128 | }
|
---|
| 129 | /**
|
---|
| 130 | * @return GenericObject[]
|
---|
| 131 | */
|
---|
| 132 | public function getGenericObjects()
|
---|
| 133 | {
|
---|
| 134 | return $this->genericObjects;
|
---|
| 135 | }
|
---|
| 136 | /**
|
---|
| 137 | * @param GiftCardClass[]
|
---|
| 138 | */
|
---|
| 139 | public function setGiftCardClasses($giftCardClasses)
|
---|
| 140 | {
|
---|
| 141 | $this->giftCardClasses = $giftCardClasses;
|
---|
| 142 | }
|
---|
| 143 | /**
|
---|
| 144 | * @return GiftCardClass[]
|
---|
| 145 | */
|
---|
| 146 | public function getGiftCardClasses()
|
---|
| 147 | {
|
---|
| 148 | return $this->giftCardClasses;
|
---|
| 149 | }
|
---|
| 150 | /**
|
---|
| 151 | * @param GiftCardObject[]
|
---|
| 152 | */
|
---|
| 153 | public function setGiftCardObjects($giftCardObjects)
|
---|
| 154 | {
|
---|
| 155 | $this->giftCardObjects = $giftCardObjects;
|
---|
| 156 | }
|
---|
| 157 | /**
|
---|
| 158 | * @return GiftCardObject[]
|
---|
| 159 | */
|
---|
| 160 | public function getGiftCardObjects()
|
---|
| 161 | {
|
---|
| 162 | return $this->giftCardObjects;
|
---|
| 163 | }
|
---|
| 164 | /**
|
---|
| 165 | * @param LoyaltyClass[]
|
---|
| 166 | */
|
---|
| 167 | public function setLoyaltyClasses($loyaltyClasses)
|
---|
| 168 | {
|
---|
| 169 | $this->loyaltyClasses = $loyaltyClasses;
|
---|
| 170 | }
|
---|
| 171 | /**
|
---|
| 172 | * @return LoyaltyClass[]
|
---|
| 173 | */
|
---|
| 174 | public function getLoyaltyClasses()
|
---|
| 175 | {
|
---|
| 176 | return $this->loyaltyClasses;
|
---|
| 177 | }
|
---|
| 178 | /**
|
---|
| 179 | * @param LoyaltyObject[]
|
---|
| 180 | */
|
---|
| 181 | public function setLoyaltyObjects($loyaltyObjects)
|
---|
| 182 | {
|
---|
| 183 | $this->loyaltyObjects = $loyaltyObjects;
|
---|
| 184 | }
|
---|
| 185 | /**
|
---|
| 186 | * @return LoyaltyObject[]
|
---|
| 187 | */
|
---|
| 188 | public function getLoyaltyObjects()
|
---|
| 189 | {
|
---|
| 190 | return $this->loyaltyObjects;
|
---|
| 191 | }
|
---|
| 192 | /**
|
---|
| 193 | * @param OfferClass[]
|
---|
| 194 | */
|
---|
| 195 | public function setOfferClasses($offerClasses)
|
---|
| 196 | {
|
---|
| 197 | $this->offerClasses = $offerClasses;
|
---|
| 198 | }
|
---|
| 199 | /**
|
---|
| 200 | * @return OfferClass[]
|
---|
| 201 | */
|
---|
| 202 | public function getOfferClasses()
|
---|
| 203 | {
|
---|
| 204 | return $this->offerClasses;
|
---|
| 205 | }
|
---|
| 206 | /**
|
---|
| 207 | * @param OfferObject[]
|
---|
| 208 | */
|
---|
| 209 | public function setOfferObjects($offerObjects)
|
---|
| 210 | {
|
---|
| 211 | $this->offerObjects = $offerObjects;
|
---|
| 212 | }
|
---|
| 213 | /**
|
---|
| 214 | * @return OfferObject[]
|
---|
| 215 | */
|
---|
| 216 | public function getOfferObjects()
|
---|
| 217 | {
|
---|
| 218 | return $this->offerObjects;
|
---|
| 219 | }
|
---|
| 220 | /**
|
---|
| 221 | * @param TransitClass[]
|
---|
| 222 | */
|
---|
| 223 | public function setTransitClasses($transitClasses)
|
---|
| 224 | {
|
---|
| 225 | $this->transitClasses = $transitClasses;
|
---|
| 226 | }
|
---|
| 227 | /**
|
---|
| 228 | * @return TransitClass[]
|
---|
| 229 | */
|
---|
| 230 | public function getTransitClasses()
|
---|
| 231 | {
|
---|
| 232 | return $this->transitClasses;
|
---|
| 233 | }
|
---|
| 234 | /**
|
---|
| 235 | * @param TransitObject[]
|
---|
| 236 | */
|
---|
| 237 | public function setTransitObjects($transitObjects)
|
---|
| 238 | {
|
---|
| 239 | $this->transitObjects = $transitObjects;
|
---|
| 240 | }
|
---|
| 241 | /**
|
---|
| 242 | * @return TransitObject[]
|
---|
| 243 | */
|
---|
| 244 | public function getTransitObjects()
|
---|
| 245 | {
|
---|
| 246 | return $this->transitObjects;
|
---|
| 247 | }
|
---|
| 248 | }
|
---|
| 249 |
|
---|
| 250 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 251 | class_alias(Resources::class, 'Google_Service_Walletobjects_Resources');
|
---|