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 18namespace Google\Service\AdExchangeBuyer; 19 20class Product extends \Google\Collection 21{ 22 protected $collection_key = 'sharedTargetings'; 23 protected $billedBuyerType = Buyer::class; 24 protected $billedBuyerDataType = ''; 25 protected $buyerType = Buyer::class; 26 protected $buyerDataType = ''; 27 public $creationTimeMs; 28 protected $creatorContactsType = ContactInformation::class; 29 protected $creatorContactsDataType = 'array'; 30 public $creatorRole; 31 protected $deliveryControlType = DeliveryControl::class; 32 protected $deliveryControlDataType = ''; 33 public $flightEndTimeMs; 34 public $flightStartTimeMs; 35 public $hasCreatorSignedOff; 36 public $inventorySource; 37 public $kind; 38 protected $labelsType = MarketplaceLabel::class; 39 protected $labelsDataType = 'array'; 40 public $lastUpdateTimeMs; 41 public $legacyOfferId; 42 public $marketplacePublisherProfileId; 43 public $name; 44 public $privateAuctionId; 45 public $productId; 46 public $publisherProfileId; 47 protected $publisherProvidedForecastType = PublisherProvidedForecast::class; 48 protected $publisherProvidedForecastDataType = ''; 49 public $revisionNumber; 50 protected $sellerType = Seller::class; 51 protected $sellerDataType = ''; 52 protected $sharedTargetingsType = SharedTargeting::class; 53 protected $sharedTargetingsDataType = 'array'; 54 public $state; 55 public $syndicationProduct; 56 protected $termsType = DealTerms::class; 57 protected $termsDataType = ''; 58 public $webPropertyCode; 59 60 /** 61 * @param Buyer 62 */ 63 public function setBilledBuyer(Buyer $billedBuyer) 64 { 65 $this->billedBuyer = $billedBuyer; 66 } 67 /** 68 * @return Buyer 69 */ 70 public function getBilledBuyer() 71 { 72 return $this->billedBuyer; 73 } 74 /** 75 * @param Buyer 76 */ 77 public function setBuyer(Buyer $buyer) 78 { 79 $this->buyer = $buyer; 80 } 81 /** 82 * @return Buyer 83 */ 84 public function getBuyer() 85 { 86 return $this->buyer; 87 } 88 public function setCreationTimeMs($creationTimeMs) 89 { 90 $this->creationTimeMs = $creationTimeMs; 91 } 92 public function getCreationTimeMs() 93 { 94 return $this->creationTimeMs; 95 } 96 /** 97 * @param ContactInformation[] 98 */ 99 public function setCreatorContacts($creatorContacts) 100 { 101 $this->creatorContacts = $creatorContacts; 102 } 103 /** 104 * @return ContactInformation[] 105 */ 106 public function getCreatorContacts() 107 { 108 return $this->creatorContacts; 109 } 110 public function setCreatorRole($creatorRole) 111 { 112 $this->creatorRole = $creatorRole; 113 } 114 public function getCreatorRole() 115 { 116 return $this->creatorRole; 117 } 118 /** 119 * @param DeliveryControl 120 */ 121 public function setDeliveryControl(DeliveryControl $deliveryControl) 122 { 123 $this->deliveryControl = $deliveryControl; 124 } 125 /** 126 * @return DeliveryControl 127 */ 128 public function getDeliveryControl() 129 { 130 return $this->deliveryControl; 131 } 132 public function setFlightEndTimeMs($flightEndTimeMs) 133 { 134 $this->flightEndTimeMs = $flightEndTimeMs; 135 } 136 public function getFlightEndTimeMs() 137 { 138 return $this->flightEndTimeMs; 139 } 140 public function setFlightStartTimeMs($flightStartTimeMs) 141 { 142 $this->flightStartTimeMs = $flightStartTimeMs; 143 } 144 public function getFlightStartTimeMs() 145 { 146 return $this->flightStartTimeMs; 147 } 148 public function setHasCreatorSignedOff($hasCreatorSignedOff) 149 { 150 $this->hasCreatorSignedOff = $hasCreatorSignedOff; 151 } 152 public function getHasCreatorSignedOff() 153 { 154 return $this->hasCreatorSignedOff; 155 } 156 public function setInventorySource($inventorySource) 157 { 158 $this->inventorySource = $inventorySource; 159 } 160 public function getInventorySource() 161 { 162 return $this->inventorySource; 163 } 164 public function setKind($kind) 165 { 166 $this->kind = $kind; 167 } 168 public function getKind() 169 { 170 return $this->kind; 171 } 172 /** 173 * @param MarketplaceLabel[] 174 */ 175 public function setLabels($labels) 176 { 177 $this->labels = $labels; 178 } 179 /** 180 * @return MarketplaceLabel[] 181 */ 182 public function getLabels() 183 { 184 return $this->labels; 185 } 186 public function setLastUpdateTimeMs($lastUpdateTimeMs) 187 { 188 $this->lastUpdateTimeMs = $lastUpdateTimeMs; 189 } 190 public function getLastUpdateTimeMs() 191 { 192 return $this->lastUpdateTimeMs; 193 } 194 public function setLegacyOfferId($legacyOfferId) 195 { 196 $this->legacyOfferId = $legacyOfferId; 197 } 198 public function getLegacyOfferId() 199 { 200 return $this->legacyOfferId; 201 } 202 public function setMarketplacePublisherProfileId($marketplacePublisherProfileId) 203 { 204 $this->marketplacePublisherProfileId = $marketplacePublisherProfileId; 205 } 206 public function getMarketplacePublisherProfileId() 207 { 208 return $this->marketplacePublisherProfileId; 209 } 210 public function setName($name) 211 { 212 $this->name = $name; 213 } 214 public function getName() 215 { 216 return $this->name; 217 } 218 public function setPrivateAuctionId($privateAuctionId) 219 { 220 $this->privateAuctionId = $privateAuctionId; 221 } 222 public function getPrivateAuctionId() 223 { 224 return $this->privateAuctionId; 225 } 226 public function setProductId($productId) 227 { 228 $this->productId = $productId; 229 } 230 public function getProductId() 231 { 232 return $this->productId; 233 } 234 public function setPublisherProfileId($publisherProfileId) 235 { 236 $this->publisherProfileId = $publisherProfileId; 237 } 238 public function getPublisherProfileId() 239 { 240 return $this->publisherProfileId; 241 } 242 /** 243 * @param PublisherProvidedForecast 244 */ 245 public function setPublisherProvidedForecast(PublisherProvidedForecast $publisherProvidedForecast) 246 { 247 $this->publisherProvidedForecast = $publisherProvidedForecast; 248 } 249 /** 250 * @return PublisherProvidedForecast 251 */ 252 public function getPublisherProvidedForecast() 253 { 254 return $this->publisherProvidedForecast; 255 } 256 public function setRevisionNumber($revisionNumber) 257 { 258 $this->revisionNumber = $revisionNumber; 259 } 260 public function getRevisionNumber() 261 { 262 return $this->revisionNumber; 263 } 264 /** 265 * @param Seller 266 */ 267 public function setSeller(Seller $seller) 268 { 269 $this->seller = $seller; 270 } 271 /** 272 * @return Seller 273 */ 274 public function getSeller() 275 { 276 return $this->seller; 277 } 278 /** 279 * @param SharedTargeting[] 280 */ 281 public function setSharedTargetings($sharedTargetings) 282 { 283 $this->sharedTargetings = $sharedTargetings; 284 } 285 /** 286 * @return SharedTargeting[] 287 */ 288 public function getSharedTargetings() 289 { 290 return $this->sharedTargetings; 291 } 292 public function setState($state) 293 { 294 $this->state = $state; 295 } 296 public function getState() 297 { 298 return $this->state; 299 } 300 public function setSyndicationProduct($syndicationProduct) 301 { 302 $this->syndicationProduct = $syndicationProduct; 303 } 304 public function getSyndicationProduct() 305 { 306 return $this->syndicationProduct; 307 } 308 /** 309 * @param DealTerms 310 */ 311 public function setTerms(DealTerms $terms) 312 { 313 $this->terms = $terms; 314 } 315 /** 316 * @return DealTerms 317 */ 318 public function getTerms() 319 { 320 return $this->terms; 321 } 322 public function setWebPropertyCode($webPropertyCode) 323 { 324 $this->webPropertyCode = $webPropertyCode; 325 } 326 public function getWebPropertyCode() 327 { 328 return $this->webPropertyCode; 329 } 330} 331 332// Adding a class alias for backwards compatibility with the previous class name. 333class_alias(Product::class, 'Google_Service_AdExchangeBuyer_Product'); 334