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