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 MarketplaceDeal extends \Google\Collection
21{
22  protected $collection_key = 'sharedTargetings';
23  protected $buyerPrivateDataType = PrivateData::class;
24  protected $buyerPrivateDataDataType = '';
25  public $creationTimeMs;
26  public $creativePreApprovalPolicy;
27  public $creativeSafeFrameCompatibility;
28  public $dealId;
29  protected $dealServingMetadataType = DealServingMetadata::class;
30  protected $dealServingMetadataDataType = '';
31  protected $deliveryControlType = DeliveryControl::class;
32  protected $deliveryControlDataType = '';
33  public $externalDealId;
34  public $flightEndTimeMs;
35  public $flightStartTimeMs;
36  public $inventoryDescription;
37  public $isRfpTemplate;
38  public $isSetupComplete;
39  public $kind;
40  public $lastUpdateTimeMs;
41  public $makegoodRequestedReason;
42  public $name;
43  public $productId;
44  public $productRevisionNumber;
45  public $programmaticCreativeSource;
46  public $proposalId;
47  protected $sellerContactsType = ContactInformation::class;
48  protected $sellerContactsDataType = 'array';
49  protected $sharedTargetingsType = SharedTargeting::class;
50  protected $sharedTargetingsDataType = 'array';
51  public $syndicationProduct;
52  protected $termsType = DealTerms::class;
53  protected $termsDataType = '';
54  public $webPropertyCode;
55
56  /**
57   * @param PrivateData
58   */
59  public function setBuyerPrivateData(PrivateData $buyerPrivateData)
60  {
61    $this->buyerPrivateData = $buyerPrivateData;
62  }
63  /**
64   * @return PrivateData
65   */
66  public function getBuyerPrivateData()
67  {
68    return $this->buyerPrivateData;
69  }
70  public function setCreationTimeMs($creationTimeMs)
71  {
72    $this->creationTimeMs = $creationTimeMs;
73  }
74  public function getCreationTimeMs()
75  {
76    return $this->creationTimeMs;
77  }
78  public function setCreativePreApprovalPolicy($creativePreApprovalPolicy)
79  {
80    $this->creativePreApprovalPolicy = $creativePreApprovalPolicy;
81  }
82  public function getCreativePreApprovalPolicy()
83  {
84    return $this->creativePreApprovalPolicy;
85  }
86  public function setCreativeSafeFrameCompatibility($creativeSafeFrameCompatibility)
87  {
88    $this->creativeSafeFrameCompatibility = $creativeSafeFrameCompatibility;
89  }
90  public function getCreativeSafeFrameCompatibility()
91  {
92    return $this->creativeSafeFrameCompatibility;
93  }
94  public function setDealId($dealId)
95  {
96    $this->dealId = $dealId;
97  }
98  public function getDealId()
99  {
100    return $this->dealId;
101  }
102  /**
103   * @param DealServingMetadata
104   */
105  public function setDealServingMetadata(DealServingMetadata $dealServingMetadata)
106  {
107    $this->dealServingMetadata = $dealServingMetadata;
108  }
109  /**
110   * @return DealServingMetadata
111   */
112  public function getDealServingMetadata()
113  {
114    return $this->dealServingMetadata;
115  }
116  /**
117   * @param DeliveryControl
118   */
119  public function setDeliveryControl(DeliveryControl $deliveryControl)
120  {
121    $this->deliveryControl = $deliveryControl;
122  }
123  /**
124   * @return DeliveryControl
125   */
126  public function getDeliveryControl()
127  {
128    return $this->deliveryControl;
129  }
130  public function setExternalDealId($externalDealId)
131  {
132    $this->externalDealId = $externalDealId;
133  }
134  public function getExternalDealId()
135  {
136    return $this->externalDealId;
137  }
138  public function setFlightEndTimeMs($flightEndTimeMs)
139  {
140    $this->flightEndTimeMs = $flightEndTimeMs;
141  }
142  public function getFlightEndTimeMs()
143  {
144    return $this->flightEndTimeMs;
145  }
146  public function setFlightStartTimeMs($flightStartTimeMs)
147  {
148    $this->flightStartTimeMs = $flightStartTimeMs;
149  }
150  public function getFlightStartTimeMs()
151  {
152    return $this->flightStartTimeMs;
153  }
154  public function setInventoryDescription($inventoryDescription)
155  {
156    $this->inventoryDescription = $inventoryDescription;
157  }
158  public function getInventoryDescription()
159  {
160    return $this->inventoryDescription;
161  }
162  public function setIsRfpTemplate($isRfpTemplate)
163  {
164    $this->isRfpTemplate = $isRfpTemplate;
165  }
166  public function getIsRfpTemplate()
167  {
168    return $this->isRfpTemplate;
169  }
170  public function setIsSetupComplete($isSetupComplete)
171  {
172    $this->isSetupComplete = $isSetupComplete;
173  }
174  public function getIsSetupComplete()
175  {
176    return $this->isSetupComplete;
177  }
178  public function setKind($kind)
179  {
180    $this->kind = $kind;
181  }
182  public function getKind()
183  {
184    return $this->kind;
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 setMakegoodRequestedReason($makegoodRequestedReason)
195  {
196    $this->makegoodRequestedReason = $makegoodRequestedReason;
197  }
198  public function getMakegoodRequestedReason()
199  {
200    return $this->makegoodRequestedReason;
201  }
202  public function setName($name)
203  {
204    $this->name = $name;
205  }
206  public function getName()
207  {
208    return $this->name;
209  }
210  public function setProductId($productId)
211  {
212    $this->productId = $productId;
213  }
214  public function getProductId()
215  {
216    return $this->productId;
217  }
218  public function setProductRevisionNumber($productRevisionNumber)
219  {
220    $this->productRevisionNumber = $productRevisionNumber;
221  }
222  public function getProductRevisionNumber()
223  {
224    return $this->productRevisionNumber;
225  }
226  public function setProgrammaticCreativeSource($programmaticCreativeSource)
227  {
228    $this->programmaticCreativeSource = $programmaticCreativeSource;
229  }
230  public function getProgrammaticCreativeSource()
231  {
232    return $this->programmaticCreativeSource;
233  }
234  public function setProposalId($proposalId)
235  {
236    $this->proposalId = $proposalId;
237  }
238  public function getProposalId()
239  {
240    return $this->proposalId;
241  }
242  /**
243   * @param ContactInformation[]
244   */
245  public function setSellerContacts($sellerContacts)
246  {
247    $this->sellerContacts = $sellerContacts;
248  }
249  /**
250   * @return ContactInformation[]
251   */
252  public function getSellerContacts()
253  {
254    return $this->sellerContacts;
255  }
256  /**
257   * @param SharedTargeting[]
258   */
259  public function setSharedTargetings($sharedTargetings)
260  {
261    $this->sharedTargetings = $sharedTargetings;
262  }
263  /**
264   * @return SharedTargeting[]
265   */
266  public function getSharedTargetings()
267  {
268    return $this->sharedTargetings;
269  }
270  public function setSyndicationProduct($syndicationProduct)
271  {
272    $this->syndicationProduct = $syndicationProduct;
273  }
274  public function getSyndicationProduct()
275  {
276    return $this->syndicationProduct;
277  }
278  /**
279   * @param DealTerms
280   */
281  public function setTerms(DealTerms $terms)
282  {
283    $this->terms = $terms;
284  }
285  /**
286   * @return DealTerms
287   */
288  public function getTerms()
289  {
290    return $this->terms;
291  }
292  public function setWebPropertyCode($webPropertyCode)
293  {
294    $this->webPropertyCode = $webPropertyCode;
295  }
296  public function getWebPropertyCode()
297  {
298    return $this->webPropertyCode;
299  }
300}
301
302// Adding a class alias for backwards compatibility with the previous class name.
303class_alias(MarketplaceDeal::class, 'Google_Service_AdExchangeBuyer_MarketplaceDeal');
304