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 Proposal extends \Google\Collection 21{ 22 protected $collection_key = 'sellerContacts'; 23 protected $billedBuyerType = Buyer::class; 24 protected $billedBuyerDataType = ''; 25 protected $buyerType = Buyer::class; 26 protected $buyerDataType = ''; 27 protected $buyerContactsType = ContactInformation::class; 28 protected $buyerContactsDataType = 'array'; 29 protected $buyerPrivateDataType = PrivateData::class; 30 protected $buyerPrivateDataDataType = ''; 31 public $dbmAdvertiserIds; 32 public $hasBuyerSignedOff; 33 public $hasSellerSignedOff; 34 public $inventorySource; 35 public $isRenegotiating; 36 public $isSetupComplete; 37 public $kind; 38 protected $labelsType = MarketplaceLabel::class; 39 protected $labelsDataType = 'array'; 40 public $lastUpdaterOrCommentorRole; 41 public $name; 42 public $negotiationId; 43 public $originatorRole; 44 public $privateAuctionId; 45 public $proposalId; 46 public $proposalState; 47 public $revisionNumber; 48 public $revisionTimeMs; 49 protected $sellerType = Seller::class; 50 protected $sellerDataType = ''; 51 protected $sellerContactsType = ContactInformation::class; 52 protected $sellerContactsDataType = 'array'; 53 54 /** 55 * @param Buyer 56 */ 57 public function setBilledBuyer(Buyer $billedBuyer) 58 { 59 $this->billedBuyer = $billedBuyer; 60 } 61 /** 62 * @return Buyer 63 */ 64 public function getBilledBuyer() 65 { 66 return $this->billedBuyer; 67 } 68 /** 69 * @param Buyer 70 */ 71 public function setBuyer(Buyer $buyer) 72 { 73 $this->buyer = $buyer; 74 } 75 /** 76 * @return Buyer 77 */ 78 public function getBuyer() 79 { 80 return $this->buyer; 81 } 82 /** 83 * @param ContactInformation[] 84 */ 85 public function setBuyerContacts($buyerContacts) 86 { 87 $this->buyerContacts = $buyerContacts; 88 } 89 /** 90 * @return ContactInformation[] 91 */ 92 public function getBuyerContacts() 93 { 94 return $this->buyerContacts; 95 } 96 /** 97 * @param PrivateData 98 */ 99 public function setBuyerPrivateData(PrivateData $buyerPrivateData) 100 { 101 $this->buyerPrivateData = $buyerPrivateData; 102 } 103 /** 104 * @return PrivateData 105 */ 106 public function getBuyerPrivateData() 107 { 108 return $this->buyerPrivateData; 109 } 110 public function setDbmAdvertiserIds($dbmAdvertiserIds) 111 { 112 $this->dbmAdvertiserIds = $dbmAdvertiserIds; 113 } 114 public function getDbmAdvertiserIds() 115 { 116 return $this->dbmAdvertiserIds; 117 } 118 public function setHasBuyerSignedOff($hasBuyerSignedOff) 119 { 120 $this->hasBuyerSignedOff = $hasBuyerSignedOff; 121 } 122 public function getHasBuyerSignedOff() 123 { 124 return $this->hasBuyerSignedOff; 125 } 126 public function setHasSellerSignedOff($hasSellerSignedOff) 127 { 128 $this->hasSellerSignedOff = $hasSellerSignedOff; 129 } 130 public function getHasSellerSignedOff() 131 { 132 return $this->hasSellerSignedOff; 133 } 134 public function setInventorySource($inventorySource) 135 { 136 $this->inventorySource = $inventorySource; 137 } 138 public function getInventorySource() 139 { 140 return $this->inventorySource; 141 } 142 public function setIsRenegotiating($isRenegotiating) 143 { 144 $this->isRenegotiating = $isRenegotiating; 145 } 146 public function getIsRenegotiating() 147 { 148 return $this->isRenegotiating; 149 } 150 public function setIsSetupComplete($isSetupComplete) 151 { 152 $this->isSetupComplete = $isSetupComplete; 153 } 154 public function getIsSetupComplete() 155 { 156 return $this->isSetupComplete; 157 } 158 public function setKind($kind) 159 { 160 $this->kind = $kind; 161 } 162 public function getKind() 163 { 164 return $this->kind; 165 } 166 /** 167 * @param MarketplaceLabel[] 168 */ 169 public function setLabels($labels) 170 { 171 $this->labels = $labels; 172 } 173 /** 174 * @return MarketplaceLabel[] 175 */ 176 public function getLabels() 177 { 178 return $this->labels; 179 } 180 public function setLastUpdaterOrCommentorRole($lastUpdaterOrCommentorRole) 181 { 182 $this->lastUpdaterOrCommentorRole = $lastUpdaterOrCommentorRole; 183 } 184 public function getLastUpdaterOrCommentorRole() 185 { 186 return $this->lastUpdaterOrCommentorRole; 187 } 188 public function setName($name) 189 { 190 $this->name = $name; 191 } 192 public function getName() 193 { 194 return $this->name; 195 } 196 public function setNegotiationId($negotiationId) 197 { 198 $this->negotiationId = $negotiationId; 199 } 200 public function getNegotiationId() 201 { 202 return $this->negotiationId; 203 } 204 public function setOriginatorRole($originatorRole) 205 { 206 $this->originatorRole = $originatorRole; 207 } 208 public function getOriginatorRole() 209 { 210 return $this->originatorRole; 211 } 212 public function setPrivateAuctionId($privateAuctionId) 213 { 214 $this->privateAuctionId = $privateAuctionId; 215 } 216 public function getPrivateAuctionId() 217 { 218 return $this->privateAuctionId; 219 } 220 public function setProposalId($proposalId) 221 { 222 $this->proposalId = $proposalId; 223 } 224 public function getProposalId() 225 { 226 return $this->proposalId; 227 } 228 public function setProposalState($proposalState) 229 { 230 $this->proposalState = $proposalState; 231 } 232 public function getProposalState() 233 { 234 return $this->proposalState; 235 } 236 public function setRevisionNumber($revisionNumber) 237 { 238 $this->revisionNumber = $revisionNumber; 239 } 240 public function getRevisionNumber() 241 { 242 return $this->revisionNumber; 243 } 244 public function setRevisionTimeMs($revisionTimeMs) 245 { 246 $this->revisionTimeMs = $revisionTimeMs; 247 } 248 public function getRevisionTimeMs() 249 { 250 return $this->revisionTimeMs; 251 } 252 /** 253 * @param Seller 254 */ 255 public function setSeller(Seller $seller) 256 { 257 $this->seller = $seller; 258 } 259 /** 260 * @return Seller 261 */ 262 public function getSeller() 263 { 264 return $this->seller; 265 } 266 /** 267 * @param ContactInformation[] 268 */ 269 public function setSellerContacts($sellerContacts) 270 { 271 $this->sellerContacts = $sellerContacts; 272 } 273 /** 274 * @return ContactInformation[] 275 */ 276 public function getSellerContacts() 277 { 278 return $this->sellerContacts; 279 } 280} 281 282// Adding a class alias for backwards compatibility with the previous class name. 283class_alias(Proposal::class, 'Google_Service_AdExchangeBuyer_Proposal'); 284