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\AdExchangeBuyerII;
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  protected $dealsType = Deal::class;
32  protected $dealsDataType = 'array';
33  /**
34   * @var string
35   */
36  public $displayName;
37  /**
38   * @var bool
39   */
40  public $isRenegotiating;
41  /**
42   * @var bool
43   */
44  public $isSetupComplete;
45  /**
46   * @var string
47   */
48  public $lastUpdaterOrCommentorRole;
49  protected $notesType = Note::class;
50  protected $notesDataType = 'array';
51  /**
52   * @var string
53   */
54  public $originatorRole;
55  /**
56   * @var string
57   */
58  public $privateAuctionId;
59  /**
60   * @var string
61   */
62  public $proposalId;
63  /**
64   * @var string
65   */
66  public $proposalRevision;
67  /**
68   * @var string
69   */
70  public $proposalState;
71  protected $sellerType = Seller::class;
72  protected $sellerDataType = '';
73  protected $sellerContactsType = ContactInformation::class;
74  protected $sellerContactsDataType = 'array';
75  /**
76   * @var string
77   */
78  public $termsAndConditions;
79  /**
80   * @var string
81   */
82  public $updateTime;
83
84  /**
85   * @param Buyer
86   */
87  public function setBilledBuyer(Buyer $billedBuyer)
88  {
89    $this->billedBuyer = $billedBuyer;
90  }
91  /**
92   * @return Buyer
93   */
94  public function getBilledBuyer()
95  {
96    return $this->billedBuyer;
97  }
98  /**
99   * @param Buyer
100   */
101  public function setBuyer(Buyer $buyer)
102  {
103    $this->buyer = $buyer;
104  }
105  /**
106   * @return Buyer
107   */
108  public function getBuyer()
109  {
110    return $this->buyer;
111  }
112  /**
113   * @param ContactInformation[]
114   */
115  public function setBuyerContacts($buyerContacts)
116  {
117    $this->buyerContacts = $buyerContacts;
118  }
119  /**
120   * @return ContactInformation[]
121   */
122  public function getBuyerContacts()
123  {
124    return $this->buyerContacts;
125  }
126  /**
127   * @param PrivateData
128   */
129  public function setBuyerPrivateData(PrivateData $buyerPrivateData)
130  {
131    $this->buyerPrivateData = $buyerPrivateData;
132  }
133  /**
134   * @return PrivateData
135   */
136  public function getBuyerPrivateData()
137  {
138    return $this->buyerPrivateData;
139  }
140  /**
141   * @param Deal[]
142   */
143  public function setDeals($deals)
144  {
145    $this->deals = $deals;
146  }
147  /**
148   * @return Deal[]
149   */
150  public function getDeals()
151  {
152    return $this->deals;
153  }
154  /**
155   * @param string
156   */
157  public function setDisplayName($displayName)
158  {
159    $this->displayName = $displayName;
160  }
161  /**
162   * @return string
163   */
164  public function getDisplayName()
165  {
166    return $this->displayName;
167  }
168  /**
169   * @param bool
170   */
171  public function setIsRenegotiating($isRenegotiating)
172  {
173    $this->isRenegotiating = $isRenegotiating;
174  }
175  /**
176   * @return bool
177   */
178  public function getIsRenegotiating()
179  {
180    return $this->isRenegotiating;
181  }
182  /**
183   * @param bool
184   */
185  public function setIsSetupComplete($isSetupComplete)
186  {
187    $this->isSetupComplete = $isSetupComplete;
188  }
189  /**
190   * @return bool
191   */
192  public function getIsSetupComplete()
193  {
194    return $this->isSetupComplete;
195  }
196  /**
197   * @param string
198   */
199  public function setLastUpdaterOrCommentorRole($lastUpdaterOrCommentorRole)
200  {
201    $this->lastUpdaterOrCommentorRole = $lastUpdaterOrCommentorRole;
202  }
203  /**
204   * @return string
205   */
206  public function getLastUpdaterOrCommentorRole()
207  {
208    return $this->lastUpdaterOrCommentorRole;
209  }
210  /**
211   * @param Note[]
212   */
213  public function setNotes($notes)
214  {
215    $this->notes = $notes;
216  }
217  /**
218   * @return Note[]
219   */
220  public function getNotes()
221  {
222    return $this->notes;
223  }
224  /**
225   * @param string
226   */
227  public function setOriginatorRole($originatorRole)
228  {
229    $this->originatorRole = $originatorRole;
230  }
231  /**
232   * @return string
233   */
234  public function getOriginatorRole()
235  {
236    return $this->originatorRole;
237  }
238  /**
239   * @param string
240   */
241  public function setPrivateAuctionId($privateAuctionId)
242  {
243    $this->privateAuctionId = $privateAuctionId;
244  }
245  /**
246   * @return string
247   */
248  public function getPrivateAuctionId()
249  {
250    return $this->privateAuctionId;
251  }
252  /**
253   * @param string
254   */
255  public function setProposalId($proposalId)
256  {
257    $this->proposalId = $proposalId;
258  }
259  /**
260   * @return string
261   */
262  public function getProposalId()
263  {
264    return $this->proposalId;
265  }
266  /**
267   * @param string
268   */
269  public function setProposalRevision($proposalRevision)
270  {
271    $this->proposalRevision = $proposalRevision;
272  }
273  /**
274   * @return string
275   */
276  public function getProposalRevision()
277  {
278    return $this->proposalRevision;
279  }
280  /**
281   * @param string
282   */
283  public function setProposalState($proposalState)
284  {
285    $this->proposalState = $proposalState;
286  }
287  /**
288   * @return string
289   */
290  public function getProposalState()
291  {
292    return $this->proposalState;
293  }
294  /**
295   * @param Seller
296   */
297  public function setSeller(Seller $seller)
298  {
299    $this->seller = $seller;
300  }
301  /**
302   * @return Seller
303   */
304  public function getSeller()
305  {
306    return $this->seller;
307  }
308  /**
309   * @param ContactInformation[]
310   */
311  public function setSellerContacts($sellerContacts)
312  {
313    $this->sellerContacts = $sellerContacts;
314  }
315  /**
316   * @return ContactInformation[]
317   */
318  public function getSellerContacts()
319  {
320    return $this->sellerContacts;
321  }
322  /**
323   * @param string
324   */
325  public function setTermsAndConditions($termsAndConditions)
326  {
327    $this->termsAndConditions = $termsAndConditions;
328  }
329  /**
330   * @return string
331   */
332  public function getTermsAndConditions()
333  {
334    return $this->termsAndConditions;
335  }
336  /**
337   * @param string
338   */
339  public function setUpdateTime($updateTime)
340  {
341    $this->updateTime = $updateTime;
342  }
343  /**
344   * @return string
345   */
346  public function getUpdateTime()
347  {
348    return $this->updateTime;
349  }
350}
351
352// Adding a class alias for backwards compatibility with the previous class name.
353class_alias(Proposal::class, 'Google_Service_AdExchangeBuyerII_Proposal');
354