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\AdExchangeBuyerII;
|
---|
19 |
|
---|
20 | class Deal extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'targetingCriterion';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $availableEndTime;
|
---|
27 | /**
|
---|
28 | * @var string
|
---|
29 | */
|
---|
30 | public $availableStartTime;
|
---|
31 | protected $buyerPrivateDataType = PrivateData::class;
|
---|
32 | protected $buyerPrivateDataDataType = '';
|
---|
33 | /**
|
---|
34 | * @var string
|
---|
35 | */
|
---|
36 | public $createProductId;
|
---|
37 | /**
|
---|
38 | * @var string
|
---|
39 | */
|
---|
40 | public $createProductRevision;
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $createTime;
|
---|
45 | /**
|
---|
46 | * @var string
|
---|
47 | */
|
---|
48 | public $creativePreApprovalPolicy;
|
---|
49 | protected $creativeRestrictionsType = CreativeRestrictions::class;
|
---|
50 | protected $creativeRestrictionsDataType = '';
|
---|
51 | /**
|
---|
52 | * @var string
|
---|
53 | */
|
---|
54 | public $creativeSafeFrameCompatibility;
|
---|
55 | /**
|
---|
56 | * @var string
|
---|
57 | */
|
---|
58 | public $dealId;
|
---|
59 | protected $dealServingMetadataType = DealServingMetadata::class;
|
---|
60 | protected $dealServingMetadataDataType = '';
|
---|
61 | protected $dealTermsType = DealTerms::class;
|
---|
62 | protected $dealTermsDataType = '';
|
---|
63 | protected $deliveryControlType = DeliveryControl::class;
|
---|
64 | protected $deliveryControlDataType = '';
|
---|
65 | /**
|
---|
66 | * @var string
|
---|
67 | */
|
---|
68 | public $description;
|
---|
69 | /**
|
---|
70 | * @var string
|
---|
71 | */
|
---|
72 | public $displayName;
|
---|
73 | /**
|
---|
74 | * @var string
|
---|
75 | */
|
---|
76 | public $externalDealId;
|
---|
77 | /**
|
---|
78 | * @var bool
|
---|
79 | */
|
---|
80 | public $isSetupComplete;
|
---|
81 | /**
|
---|
82 | * @var string
|
---|
83 | */
|
---|
84 | public $programmaticCreativeSource;
|
---|
85 | /**
|
---|
86 | * @var string
|
---|
87 | */
|
---|
88 | public $proposalId;
|
---|
89 | protected $sellerContactsType = ContactInformation::class;
|
---|
90 | protected $sellerContactsDataType = 'array';
|
---|
91 | /**
|
---|
92 | * @var string
|
---|
93 | */
|
---|
94 | public $syndicationProduct;
|
---|
95 | protected $targetingType = MarketplaceTargeting::class;
|
---|
96 | protected $targetingDataType = '';
|
---|
97 | protected $targetingCriterionType = TargetingCriteria::class;
|
---|
98 | protected $targetingCriterionDataType = 'array';
|
---|
99 | /**
|
---|
100 | * @var string
|
---|
101 | */
|
---|
102 | public $updateTime;
|
---|
103 | /**
|
---|
104 | * @var string
|
---|
105 | */
|
---|
106 | public $webPropertyCode;
|
---|
107 |
|
---|
108 | /**
|
---|
109 | * @param string
|
---|
110 | */
|
---|
111 | public function setAvailableEndTime($availableEndTime)
|
---|
112 | {
|
---|
113 | $this->availableEndTime = $availableEndTime;
|
---|
114 | }
|
---|
115 | /**
|
---|
116 | * @return string
|
---|
117 | */
|
---|
118 | public function getAvailableEndTime()
|
---|
119 | {
|
---|
120 | return $this->availableEndTime;
|
---|
121 | }
|
---|
122 | /**
|
---|
123 | * @param string
|
---|
124 | */
|
---|
125 | public function setAvailableStartTime($availableStartTime)
|
---|
126 | {
|
---|
127 | $this->availableStartTime = $availableStartTime;
|
---|
128 | }
|
---|
129 | /**
|
---|
130 | * @return string
|
---|
131 | */
|
---|
132 | public function getAvailableStartTime()
|
---|
133 | {
|
---|
134 | return $this->availableStartTime;
|
---|
135 | }
|
---|
136 | /**
|
---|
137 | * @param PrivateData
|
---|
138 | */
|
---|
139 | public function setBuyerPrivateData(PrivateData $buyerPrivateData)
|
---|
140 | {
|
---|
141 | $this->buyerPrivateData = $buyerPrivateData;
|
---|
142 | }
|
---|
143 | /**
|
---|
144 | * @return PrivateData
|
---|
145 | */
|
---|
146 | public function getBuyerPrivateData()
|
---|
147 | {
|
---|
148 | return $this->buyerPrivateData;
|
---|
149 | }
|
---|
150 | /**
|
---|
151 | * @param string
|
---|
152 | */
|
---|
153 | public function setCreateProductId($createProductId)
|
---|
154 | {
|
---|
155 | $this->createProductId = $createProductId;
|
---|
156 | }
|
---|
157 | /**
|
---|
158 | * @return string
|
---|
159 | */
|
---|
160 | public function getCreateProductId()
|
---|
161 | {
|
---|
162 | return $this->createProductId;
|
---|
163 | }
|
---|
164 | /**
|
---|
165 | * @param string
|
---|
166 | */
|
---|
167 | public function setCreateProductRevision($createProductRevision)
|
---|
168 | {
|
---|
169 | $this->createProductRevision = $createProductRevision;
|
---|
170 | }
|
---|
171 | /**
|
---|
172 | * @return string
|
---|
173 | */
|
---|
174 | public function getCreateProductRevision()
|
---|
175 | {
|
---|
176 | return $this->createProductRevision;
|
---|
177 | }
|
---|
178 | /**
|
---|
179 | * @param string
|
---|
180 | */
|
---|
181 | public function setCreateTime($createTime)
|
---|
182 | {
|
---|
183 | $this->createTime = $createTime;
|
---|
184 | }
|
---|
185 | /**
|
---|
186 | * @return string
|
---|
187 | */
|
---|
188 | public function getCreateTime()
|
---|
189 | {
|
---|
190 | return $this->createTime;
|
---|
191 | }
|
---|
192 | /**
|
---|
193 | * @param string
|
---|
194 | */
|
---|
195 | public function setCreativePreApprovalPolicy($creativePreApprovalPolicy)
|
---|
196 | {
|
---|
197 | $this->creativePreApprovalPolicy = $creativePreApprovalPolicy;
|
---|
198 | }
|
---|
199 | /**
|
---|
200 | * @return string
|
---|
201 | */
|
---|
202 | public function getCreativePreApprovalPolicy()
|
---|
203 | {
|
---|
204 | return $this->creativePreApprovalPolicy;
|
---|
205 | }
|
---|
206 | /**
|
---|
207 | * @param CreativeRestrictions
|
---|
208 | */
|
---|
209 | public function setCreativeRestrictions(CreativeRestrictions $creativeRestrictions)
|
---|
210 | {
|
---|
211 | $this->creativeRestrictions = $creativeRestrictions;
|
---|
212 | }
|
---|
213 | /**
|
---|
214 | * @return CreativeRestrictions
|
---|
215 | */
|
---|
216 | public function getCreativeRestrictions()
|
---|
217 | {
|
---|
218 | return $this->creativeRestrictions;
|
---|
219 | }
|
---|
220 | /**
|
---|
221 | * @param string
|
---|
222 | */
|
---|
223 | public function setCreativeSafeFrameCompatibility($creativeSafeFrameCompatibility)
|
---|
224 | {
|
---|
225 | $this->creativeSafeFrameCompatibility = $creativeSafeFrameCompatibility;
|
---|
226 | }
|
---|
227 | /**
|
---|
228 | * @return string
|
---|
229 | */
|
---|
230 | public function getCreativeSafeFrameCompatibility()
|
---|
231 | {
|
---|
232 | return $this->creativeSafeFrameCompatibility;
|
---|
233 | }
|
---|
234 | /**
|
---|
235 | * @param string
|
---|
236 | */
|
---|
237 | public function setDealId($dealId)
|
---|
238 | {
|
---|
239 | $this->dealId = $dealId;
|
---|
240 | }
|
---|
241 | /**
|
---|
242 | * @return string
|
---|
243 | */
|
---|
244 | public function getDealId()
|
---|
245 | {
|
---|
246 | return $this->dealId;
|
---|
247 | }
|
---|
248 | /**
|
---|
249 | * @param DealServingMetadata
|
---|
250 | */
|
---|
251 | public function setDealServingMetadata(DealServingMetadata $dealServingMetadata)
|
---|
252 | {
|
---|
253 | $this->dealServingMetadata = $dealServingMetadata;
|
---|
254 | }
|
---|
255 | /**
|
---|
256 | * @return DealServingMetadata
|
---|
257 | */
|
---|
258 | public function getDealServingMetadata()
|
---|
259 | {
|
---|
260 | return $this->dealServingMetadata;
|
---|
261 | }
|
---|
262 | /**
|
---|
263 | * @param DealTerms
|
---|
264 | */
|
---|
265 | public function setDealTerms(DealTerms $dealTerms)
|
---|
266 | {
|
---|
267 | $this->dealTerms = $dealTerms;
|
---|
268 | }
|
---|
269 | /**
|
---|
270 | * @return DealTerms
|
---|
271 | */
|
---|
272 | public function getDealTerms()
|
---|
273 | {
|
---|
274 | return $this->dealTerms;
|
---|
275 | }
|
---|
276 | /**
|
---|
277 | * @param DeliveryControl
|
---|
278 | */
|
---|
279 | public function setDeliveryControl(DeliveryControl $deliveryControl)
|
---|
280 | {
|
---|
281 | $this->deliveryControl = $deliveryControl;
|
---|
282 | }
|
---|
283 | /**
|
---|
284 | * @return DeliveryControl
|
---|
285 | */
|
---|
286 | public function getDeliveryControl()
|
---|
287 | {
|
---|
288 | return $this->deliveryControl;
|
---|
289 | }
|
---|
290 | /**
|
---|
291 | * @param string
|
---|
292 | */
|
---|
293 | public function setDescription($description)
|
---|
294 | {
|
---|
295 | $this->description = $description;
|
---|
296 | }
|
---|
297 | /**
|
---|
298 | * @return string
|
---|
299 | */
|
---|
300 | public function getDescription()
|
---|
301 | {
|
---|
302 | return $this->description;
|
---|
303 | }
|
---|
304 | /**
|
---|
305 | * @param string
|
---|
306 | */
|
---|
307 | public function setDisplayName($displayName)
|
---|
308 | {
|
---|
309 | $this->displayName = $displayName;
|
---|
310 | }
|
---|
311 | /**
|
---|
312 | * @return string
|
---|
313 | */
|
---|
314 | public function getDisplayName()
|
---|
315 | {
|
---|
316 | return $this->displayName;
|
---|
317 | }
|
---|
318 | /**
|
---|
319 | * @param string
|
---|
320 | */
|
---|
321 | public function setExternalDealId($externalDealId)
|
---|
322 | {
|
---|
323 | $this->externalDealId = $externalDealId;
|
---|
324 | }
|
---|
325 | /**
|
---|
326 | * @return string
|
---|
327 | */
|
---|
328 | public function getExternalDealId()
|
---|
329 | {
|
---|
330 | return $this->externalDealId;
|
---|
331 | }
|
---|
332 | /**
|
---|
333 | * @param bool
|
---|
334 | */
|
---|
335 | public function setIsSetupComplete($isSetupComplete)
|
---|
336 | {
|
---|
337 | $this->isSetupComplete = $isSetupComplete;
|
---|
338 | }
|
---|
339 | /**
|
---|
340 | * @return bool
|
---|
341 | */
|
---|
342 | public function getIsSetupComplete()
|
---|
343 | {
|
---|
344 | return $this->isSetupComplete;
|
---|
345 | }
|
---|
346 | /**
|
---|
347 | * @param string
|
---|
348 | */
|
---|
349 | public function setProgrammaticCreativeSource($programmaticCreativeSource)
|
---|
350 | {
|
---|
351 | $this->programmaticCreativeSource = $programmaticCreativeSource;
|
---|
352 | }
|
---|
353 | /**
|
---|
354 | * @return string
|
---|
355 | */
|
---|
356 | public function getProgrammaticCreativeSource()
|
---|
357 | {
|
---|
358 | return $this->programmaticCreativeSource;
|
---|
359 | }
|
---|
360 | /**
|
---|
361 | * @param string
|
---|
362 | */
|
---|
363 | public function setProposalId($proposalId)
|
---|
364 | {
|
---|
365 | $this->proposalId = $proposalId;
|
---|
366 | }
|
---|
367 | /**
|
---|
368 | * @return string
|
---|
369 | */
|
---|
370 | public function getProposalId()
|
---|
371 | {
|
---|
372 | return $this->proposalId;
|
---|
373 | }
|
---|
374 | /**
|
---|
375 | * @param ContactInformation[]
|
---|
376 | */
|
---|
377 | public function setSellerContacts($sellerContacts)
|
---|
378 | {
|
---|
379 | $this->sellerContacts = $sellerContacts;
|
---|
380 | }
|
---|
381 | /**
|
---|
382 | * @return ContactInformation[]
|
---|
383 | */
|
---|
384 | public function getSellerContacts()
|
---|
385 | {
|
---|
386 | return $this->sellerContacts;
|
---|
387 | }
|
---|
388 | /**
|
---|
389 | * @param string
|
---|
390 | */
|
---|
391 | public function setSyndicationProduct($syndicationProduct)
|
---|
392 | {
|
---|
393 | $this->syndicationProduct = $syndicationProduct;
|
---|
394 | }
|
---|
395 | /**
|
---|
396 | * @return string
|
---|
397 | */
|
---|
398 | public function getSyndicationProduct()
|
---|
399 | {
|
---|
400 | return $this->syndicationProduct;
|
---|
401 | }
|
---|
402 | /**
|
---|
403 | * @param MarketplaceTargeting
|
---|
404 | */
|
---|
405 | public function setTargeting(MarketplaceTargeting $targeting)
|
---|
406 | {
|
---|
407 | $this->targeting = $targeting;
|
---|
408 | }
|
---|
409 | /**
|
---|
410 | * @return MarketplaceTargeting
|
---|
411 | */
|
---|
412 | public function getTargeting()
|
---|
413 | {
|
---|
414 | return $this->targeting;
|
---|
415 | }
|
---|
416 | /**
|
---|
417 | * @param TargetingCriteria[]
|
---|
418 | */
|
---|
419 | public function setTargetingCriterion($targetingCriterion)
|
---|
420 | {
|
---|
421 | $this->targetingCriterion = $targetingCriterion;
|
---|
422 | }
|
---|
423 | /**
|
---|
424 | * @return TargetingCriteria[]
|
---|
425 | */
|
---|
426 | public function getTargetingCriterion()
|
---|
427 | {
|
---|
428 | return $this->targetingCriterion;
|
---|
429 | }
|
---|
430 | /**
|
---|
431 | * @param string
|
---|
432 | */
|
---|
433 | public function setUpdateTime($updateTime)
|
---|
434 | {
|
---|
435 | $this->updateTime = $updateTime;
|
---|
436 | }
|
---|
437 | /**
|
---|
438 | * @return string
|
---|
439 | */
|
---|
440 | public function getUpdateTime()
|
---|
441 | {
|
---|
442 | return $this->updateTime;
|
---|
443 | }
|
---|
444 | /**
|
---|
445 | * @param string
|
---|
446 | */
|
---|
447 | public function setWebPropertyCode($webPropertyCode)
|
---|
448 | {
|
---|
449 | $this->webPropertyCode = $webPropertyCode;
|
---|
450 | }
|
---|
451 | /**
|
---|
452 | * @return string
|
---|
453 | */
|
---|
454 | public function getWebPropertyCode()
|
---|
455 | {
|
---|
456 | return $this->webPropertyCode;
|
---|
457 | }
|
---|
458 | }
|
---|
459 |
|
---|
460 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
461 | class_alias(Deal::class, 'Google_Service_AdExchangeBuyerII_Deal');
|
---|