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\AuthorizedBuyersMarketplace;
19
20class Deal extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $billedBuyer;
26  /**
27   * @var string
28   */
29  public $buyer;
30  /**
31   * @var string
32   */
33  public $client;
34  /**
35   * @var string
36   */
37  public $createTime;
38  protected $creativeRequirementsType = CreativeRequirements::class;
39  protected $creativeRequirementsDataType = '';
40  /**
41   * @var string
42   */
43  public $dealType;
44  protected $deliveryControlType = DeliveryControl::class;
45  protected $deliveryControlDataType = '';
46  /**
47   * @var string
48   */
49  public $description;
50  /**
51   * @var string
52   */
53  public $displayName;
54  protected $estimatedGrossSpendType = Money::class;
55  protected $estimatedGrossSpendDataType = '';
56  /**
57   * @var string
58   */
59  public $flightEndTime;
60  /**
61   * @var string
62   */
63  public $flightStartTime;
64  /**
65   * @var string
66   */
67  public $name;
68  protected $preferredDealTermsType = PreferredDealTerms::class;
69  protected $preferredDealTermsDataType = '';
70  protected $privateAuctionTermsType = PrivateAuctionTerms::class;
71  protected $privateAuctionTermsDataType = '';
72  protected $programmaticGuaranteedTermsType = ProgrammaticGuaranteedTerms::class;
73  protected $programmaticGuaranteedTermsDataType = '';
74  /**
75   * @var string
76   */
77  public $proposalRevision;
78  /**
79   * @var string
80   */
81  public $publisherProfile;
82  protected $sellerTimeZoneType = TimeZone::class;
83  protected $sellerTimeZoneDataType = '';
84  protected $targetingType = MarketplaceTargeting::class;
85  protected $targetingDataType = '';
86  /**
87   * @var string
88   */
89  public $updateTime;
90
91  /**
92   * @param string
93   */
94  public function setBilledBuyer($billedBuyer)
95  {
96    $this->billedBuyer = $billedBuyer;
97  }
98  /**
99   * @return string
100   */
101  public function getBilledBuyer()
102  {
103    return $this->billedBuyer;
104  }
105  /**
106   * @param string
107   */
108  public function setBuyer($buyer)
109  {
110    $this->buyer = $buyer;
111  }
112  /**
113   * @return string
114   */
115  public function getBuyer()
116  {
117    return $this->buyer;
118  }
119  /**
120   * @param string
121   */
122  public function setClient($client)
123  {
124    $this->client = $client;
125  }
126  /**
127   * @return string
128   */
129  public function getClient()
130  {
131    return $this->client;
132  }
133  /**
134   * @param string
135   */
136  public function setCreateTime($createTime)
137  {
138    $this->createTime = $createTime;
139  }
140  /**
141   * @return string
142   */
143  public function getCreateTime()
144  {
145    return $this->createTime;
146  }
147  /**
148   * @param CreativeRequirements
149   */
150  public function setCreativeRequirements(CreativeRequirements $creativeRequirements)
151  {
152    $this->creativeRequirements = $creativeRequirements;
153  }
154  /**
155   * @return CreativeRequirements
156   */
157  public function getCreativeRequirements()
158  {
159    return $this->creativeRequirements;
160  }
161  /**
162   * @param string
163   */
164  public function setDealType($dealType)
165  {
166    $this->dealType = $dealType;
167  }
168  /**
169   * @return string
170   */
171  public function getDealType()
172  {
173    return $this->dealType;
174  }
175  /**
176   * @param DeliveryControl
177   */
178  public function setDeliveryControl(DeliveryControl $deliveryControl)
179  {
180    $this->deliveryControl = $deliveryControl;
181  }
182  /**
183   * @return DeliveryControl
184   */
185  public function getDeliveryControl()
186  {
187    return $this->deliveryControl;
188  }
189  /**
190   * @param string
191   */
192  public function setDescription($description)
193  {
194    $this->description = $description;
195  }
196  /**
197   * @return string
198   */
199  public function getDescription()
200  {
201    return $this->description;
202  }
203  /**
204   * @param string
205   */
206  public function setDisplayName($displayName)
207  {
208    $this->displayName = $displayName;
209  }
210  /**
211   * @return string
212   */
213  public function getDisplayName()
214  {
215    return $this->displayName;
216  }
217  /**
218   * @param Money
219   */
220  public function setEstimatedGrossSpend(Money $estimatedGrossSpend)
221  {
222    $this->estimatedGrossSpend = $estimatedGrossSpend;
223  }
224  /**
225   * @return Money
226   */
227  public function getEstimatedGrossSpend()
228  {
229    return $this->estimatedGrossSpend;
230  }
231  /**
232   * @param string
233   */
234  public function setFlightEndTime($flightEndTime)
235  {
236    $this->flightEndTime = $flightEndTime;
237  }
238  /**
239   * @return string
240   */
241  public function getFlightEndTime()
242  {
243    return $this->flightEndTime;
244  }
245  /**
246   * @param string
247   */
248  public function setFlightStartTime($flightStartTime)
249  {
250    $this->flightStartTime = $flightStartTime;
251  }
252  /**
253   * @return string
254   */
255  public function getFlightStartTime()
256  {
257    return $this->flightStartTime;
258  }
259  /**
260   * @param string
261   */
262  public function setName($name)
263  {
264    $this->name = $name;
265  }
266  /**
267   * @return string
268   */
269  public function getName()
270  {
271    return $this->name;
272  }
273  /**
274   * @param PreferredDealTerms
275   */
276  public function setPreferredDealTerms(PreferredDealTerms $preferredDealTerms)
277  {
278    $this->preferredDealTerms = $preferredDealTerms;
279  }
280  /**
281   * @return PreferredDealTerms
282   */
283  public function getPreferredDealTerms()
284  {
285    return $this->preferredDealTerms;
286  }
287  /**
288   * @param PrivateAuctionTerms
289   */
290  public function setPrivateAuctionTerms(PrivateAuctionTerms $privateAuctionTerms)
291  {
292    $this->privateAuctionTerms = $privateAuctionTerms;
293  }
294  /**
295   * @return PrivateAuctionTerms
296   */
297  public function getPrivateAuctionTerms()
298  {
299    return $this->privateAuctionTerms;
300  }
301  /**
302   * @param ProgrammaticGuaranteedTerms
303   */
304  public function setProgrammaticGuaranteedTerms(ProgrammaticGuaranteedTerms $programmaticGuaranteedTerms)
305  {
306    $this->programmaticGuaranteedTerms = $programmaticGuaranteedTerms;
307  }
308  /**
309   * @return ProgrammaticGuaranteedTerms
310   */
311  public function getProgrammaticGuaranteedTerms()
312  {
313    return $this->programmaticGuaranteedTerms;
314  }
315  /**
316   * @param string
317   */
318  public function setProposalRevision($proposalRevision)
319  {
320    $this->proposalRevision = $proposalRevision;
321  }
322  /**
323   * @return string
324   */
325  public function getProposalRevision()
326  {
327    return $this->proposalRevision;
328  }
329  /**
330   * @param string
331   */
332  public function setPublisherProfile($publisherProfile)
333  {
334    $this->publisherProfile = $publisherProfile;
335  }
336  /**
337   * @return string
338   */
339  public function getPublisherProfile()
340  {
341    return $this->publisherProfile;
342  }
343  /**
344   * @param TimeZone
345   */
346  public function setSellerTimeZone(TimeZone $sellerTimeZone)
347  {
348    $this->sellerTimeZone = $sellerTimeZone;
349  }
350  /**
351   * @return TimeZone
352   */
353  public function getSellerTimeZone()
354  {
355    return $this->sellerTimeZone;
356  }
357  /**
358   * @param MarketplaceTargeting
359   */
360  public function setTargeting(MarketplaceTargeting $targeting)
361  {
362    $this->targeting = $targeting;
363  }
364  /**
365   * @return MarketplaceTargeting
366   */
367  public function getTargeting()
368  {
369    return $this->targeting;
370  }
371  /**
372   * @param string
373   */
374  public function setUpdateTime($updateTime)
375  {
376    $this->updateTime = $updateTime;
377  }
378  /**
379   * @return string
380   */
381  public function getUpdateTime()
382  {
383    return $this->updateTime;
384  }
385}
386
387// Adding a class alias for backwards compatibility with the previous class name.
388class_alias(Deal::class, 'Google_Service_AuthorizedBuyersMarketplace_Deal');
389