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\DisplayVideo;
19
20class LineItem extends \Google\Collection
21{
22  protected $collection_key = 'warningMessages';
23  /**
24   * @var string
25   */
26  public $advertiserId;
27  protected $bidStrategyType = BiddingStrategy::class;
28  protected $bidStrategyDataType = '';
29  protected $budgetType = LineItemBudget::class;
30  protected $budgetDataType = '';
31  /**
32   * @var string
33   */
34  public $campaignId;
35  protected $conversionCountingType = ConversionCountingConfig::class;
36  protected $conversionCountingDataType = '';
37  /**
38   * @var string[]
39   */
40  public $creativeIds;
41  /**
42   * @var string
43   */
44  public $displayName;
45  /**
46   * @var string
47   */
48  public $entityStatus;
49  /**
50   * @var bool
51   */
52  public $excludeNewExchanges;
53  protected $flightType = LineItemFlight::class;
54  protected $flightDataType = '';
55  protected $frequencyCapType = FrequencyCap::class;
56  protected $frequencyCapDataType = '';
57  /**
58   * @var string
59   */
60  public $insertionOrderId;
61  protected $integrationDetailsType = IntegrationDetails::class;
62  protected $integrationDetailsDataType = '';
63  /**
64   * @var string[]
65   */
66  public $inventorySourceIds;
67  /**
68   * @var string
69   */
70  public $lineItemId;
71  /**
72   * @var string
73   */
74  public $lineItemType;
75  protected $mobileAppType = MobileApp::class;
76  protected $mobileAppDataType = '';
77  /**
78   * @var string
79   */
80  public $name;
81  protected $pacingType = Pacing::class;
82  protected $pacingDataType = '';
83  protected $partnerCostsType = PartnerCost::class;
84  protected $partnerCostsDataType = 'array';
85  protected $partnerRevenueModelType = PartnerRevenueModel::class;
86  protected $partnerRevenueModelDataType = '';
87  /**
88   * @var string
89   */
90  public $reservationType;
91  protected $targetingExpansionType = TargetingExpansionConfig::class;
92  protected $targetingExpansionDataType = '';
93  /**
94   * @var string
95   */
96  public $updateTime;
97  /**
98   * @var string[]
99   */
100  public $warningMessages;
101
102  /**
103   * @param string
104   */
105  public function setAdvertiserId($advertiserId)
106  {
107    $this->advertiserId = $advertiserId;
108  }
109  /**
110   * @return string
111   */
112  public function getAdvertiserId()
113  {
114    return $this->advertiserId;
115  }
116  /**
117   * @param BiddingStrategy
118   */
119  public function setBidStrategy(BiddingStrategy $bidStrategy)
120  {
121    $this->bidStrategy = $bidStrategy;
122  }
123  /**
124   * @return BiddingStrategy
125   */
126  public function getBidStrategy()
127  {
128    return $this->bidStrategy;
129  }
130  /**
131   * @param LineItemBudget
132   */
133  public function setBudget(LineItemBudget $budget)
134  {
135    $this->budget = $budget;
136  }
137  /**
138   * @return LineItemBudget
139   */
140  public function getBudget()
141  {
142    return $this->budget;
143  }
144  /**
145   * @param string
146   */
147  public function setCampaignId($campaignId)
148  {
149    $this->campaignId = $campaignId;
150  }
151  /**
152   * @return string
153   */
154  public function getCampaignId()
155  {
156    return $this->campaignId;
157  }
158  /**
159   * @param ConversionCountingConfig
160   */
161  public function setConversionCounting(ConversionCountingConfig $conversionCounting)
162  {
163    $this->conversionCounting = $conversionCounting;
164  }
165  /**
166   * @return ConversionCountingConfig
167   */
168  public function getConversionCounting()
169  {
170    return $this->conversionCounting;
171  }
172  /**
173   * @param string[]
174   */
175  public function setCreativeIds($creativeIds)
176  {
177    $this->creativeIds = $creativeIds;
178  }
179  /**
180   * @return string[]
181   */
182  public function getCreativeIds()
183  {
184    return $this->creativeIds;
185  }
186  /**
187   * @param string
188   */
189  public function setDisplayName($displayName)
190  {
191    $this->displayName = $displayName;
192  }
193  /**
194   * @return string
195   */
196  public function getDisplayName()
197  {
198    return $this->displayName;
199  }
200  /**
201   * @param string
202   */
203  public function setEntityStatus($entityStatus)
204  {
205    $this->entityStatus = $entityStatus;
206  }
207  /**
208   * @return string
209   */
210  public function getEntityStatus()
211  {
212    return $this->entityStatus;
213  }
214  /**
215   * @param bool
216   */
217  public function setExcludeNewExchanges($excludeNewExchanges)
218  {
219    $this->excludeNewExchanges = $excludeNewExchanges;
220  }
221  /**
222   * @return bool
223   */
224  public function getExcludeNewExchanges()
225  {
226    return $this->excludeNewExchanges;
227  }
228  /**
229   * @param LineItemFlight
230   */
231  public function setFlight(LineItemFlight $flight)
232  {
233    $this->flight = $flight;
234  }
235  /**
236   * @return LineItemFlight
237   */
238  public function getFlight()
239  {
240    return $this->flight;
241  }
242  /**
243   * @param FrequencyCap
244   */
245  public function setFrequencyCap(FrequencyCap $frequencyCap)
246  {
247    $this->frequencyCap = $frequencyCap;
248  }
249  /**
250   * @return FrequencyCap
251   */
252  public function getFrequencyCap()
253  {
254    return $this->frequencyCap;
255  }
256  /**
257   * @param string
258   */
259  public function setInsertionOrderId($insertionOrderId)
260  {
261    $this->insertionOrderId = $insertionOrderId;
262  }
263  /**
264   * @return string
265   */
266  public function getInsertionOrderId()
267  {
268    return $this->insertionOrderId;
269  }
270  /**
271   * @param IntegrationDetails
272   */
273  public function setIntegrationDetails(IntegrationDetails $integrationDetails)
274  {
275    $this->integrationDetails = $integrationDetails;
276  }
277  /**
278   * @return IntegrationDetails
279   */
280  public function getIntegrationDetails()
281  {
282    return $this->integrationDetails;
283  }
284  /**
285   * @param string[]
286   */
287  public function setInventorySourceIds($inventorySourceIds)
288  {
289    $this->inventorySourceIds = $inventorySourceIds;
290  }
291  /**
292   * @return string[]
293   */
294  public function getInventorySourceIds()
295  {
296    return $this->inventorySourceIds;
297  }
298  /**
299   * @param string
300   */
301  public function setLineItemId($lineItemId)
302  {
303    $this->lineItemId = $lineItemId;
304  }
305  /**
306   * @return string
307   */
308  public function getLineItemId()
309  {
310    return $this->lineItemId;
311  }
312  /**
313   * @param string
314   */
315  public function setLineItemType($lineItemType)
316  {
317    $this->lineItemType = $lineItemType;
318  }
319  /**
320   * @return string
321   */
322  public function getLineItemType()
323  {
324    return $this->lineItemType;
325  }
326  /**
327   * @param MobileApp
328   */
329  public function setMobileApp(MobileApp $mobileApp)
330  {
331    $this->mobileApp = $mobileApp;
332  }
333  /**
334   * @return MobileApp
335   */
336  public function getMobileApp()
337  {
338    return $this->mobileApp;
339  }
340  /**
341   * @param string
342   */
343  public function setName($name)
344  {
345    $this->name = $name;
346  }
347  /**
348   * @return string
349   */
350  public function getName()
351  {
352    return $this->name;
353  }
354  /**
355   * @param Pacing
356   */
357  public function setPacing(Pacing $pacing)
358  {
359    $this->pacing = $pacing;
360  }
361  /**
362   * @return Pacing
363   */
364  public function getPacing()
365  {
366    return $this->pacing;
367  }
368  /**
369   * @param PartnerCost[]
370   */
371  public function setPartnerCosts($partnerCosts)
372  {
373    $this->partnerCosts = $partnerCosts;
374  }
375  /**
376   * @return PartnerCost[]
377   */
378  public function getPartnerCosts()
379  {
380    return $this->partnerCosts;
381  }
382  /**
383   * @param PartnerRevenueModel
384   */
385  public function setPartnerRevenueModel(PartnerRevenueModel $partnerRevenueModel)
386  {
387    $this->partnerRevenueModel = $partnerRevenueModel;
388  }
389  /**
390   * @return PartnerRevenueModel
391   */
392  public function getPartnerRevenueModel()
393  {
394    return $this->partnerRevenueModel;
395  }
396  /**
397   * @param string
398   */
399  public function setReservationType($reservationType)
400  {
401    $this->reservationType = $reservationType;
402  }
403  /**
404   * @return string
405   */
406  public function getReservationType()
407  {
408    return $this->reservationType;
409  }
410  /**
411   * @param TargetingExpansionConfig
412   */
413  public function setTargetingExpansion(TargetingExpansionConfig $targetingExpansion)
414  {
415    $this->targetingExpansion = $targetingExpansion;
416  }
417  /**
418   * @return TargetingExpansionConfig
419   */
420  public function getTargetingExpansion()
421  {
422    return $this->targetingExpansion;
423  }
424  /**
425   * @param string
426   */
427  public function setUpdateTime($updateTime)
428  {
429    $this->updateTime = $updateTime;
430  }
431  /**
432   * @return string
433   */
434  public function getUpdateTime()
435  {
436    return $this->updateTime;
437  }
438  /**
439   * @param string[]
440   */
441  public function setWarningMessages($warningMessages)
442  {
443    $this->warningMessages = $warningMessages;
444  }
445  /**
446   * @return string[]
447   */
448  public function getWarningMessages()
449  {
450    return $this->warningMessages;
451  }
452}
453
454// Adding a class alias for backwards compatibility with the previous class name.
455class_alias(LineItem::class, 'Google_Service_DisplayVideo_LineItem');
456