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\Dfareporting;
19
20class Order extends \Google\Collection
21{
22  protected $collection_key = 'siteNames';
23  /**
24   * @var string
25   */
26  public $accountId;
27  /**
28   * @var string
29   */
30  public $advertiserId;
31  /**
32   * @var string[]
33   */
34  public $approverUserProfileIds;
35  /**
36   * @var string
37   */
38  public $buyerInvoiceId;
39  /**
40   * @var string
41   */
42  public $buyerOrganizationName;
43  /**
44   * @var string
45   */
46  public $comments;
47  protected $contactsType = OrderContact::class;
48  protected $contactsDataType = 'array';
49  /**
50   * @var string
51   */
52  public $id;
53  /**
54   * @var string
55   */
56  public $kind;
57  protected $lastModifiedInfoType = LastModifiedInfo::class;
58  protected $lastModifiedInfoDataType = '';
59  /**
60   * @var string
61   */
62  public $name;
63  /**
64   * @var string
65   */
66  public $notes;
67  /**
68   * @var string
69   */
70  public $planningTermId;
71  /**
72   * @var string
73   */
74  public $projectId;
75  /**
76   * @var string
77   */
78  public $sellerOrderId;
79  /**
80   * @var string
81   */
82  public $sellerOrganizationName;
83  /**
84   * @var string[]
85   */
86  public $siteId;
87  /**
88   * @var string[]
89   */
90  public $siteNames;
91  /**
92   * @var string
93   */
94  public $subaccountId;
95  /**
96   * @var string
97   */
98  public $termsAndConditions;
99
100  /**
101   * @param string
102   */
103  public function setAccountId($accountId)
104  {
105    $this->accountId = $accountId;
106  }
107  /**
108   * @return string
109   */
110  public function getAccountId()
111  {
112    return $this->accountId;
113  }
114  /**
115   * @param string
116   */
117  public function setAdvertiserId($advertiserId)
118  {
119    $this->advertiserId = $advertiserId;
120  }
121  /**
122   * @return string
123   */
124  public function getAdvertiserId()
125  {
126    return $this->advertiserId;
127  }
128  /**
129   * @param string[]
130   */
131  public function setApproverUserProfileIds($approverUserProfileIds)
132  {
133    $this->approverUserProfileIds = $approverUserProfileIds;
134  }
135  /**
136   * @return string[]
137   */
138  public function getApproverUserProfileIds()
139  {
140    return $this->approverUserProfileIds;
141  }
142  /**
143   * @param string
144   */
145  public function setBuyerInvoiceId($buyerInvoiceId)
146  {
147    $this->buyerInvoiceId = $buyerInvoiceId;
148  }
149  /**
150   * @return string
151   */
152  public function getBuyerInvoiceId()
153  {
154    return $this->buyerInvoiceId;
155  }
156  /**
157   * @param string
158   */
159  public function setBuyerOrganizationName($buyerOrganizationName)
160  {
161    $this->buyerOrganizationName = $buyerOrganizationName;
162  }
163  /**
164   * @return string
165   */
166  public function getBuyerOrganizationName()
167  {
168    return $this->buyerOrganizationName;
169  }
170  /**
171   * @param string
172   */
173  public function setComments($comments)
174  {
175    $this->comments = $comments;
176  }
177  /**
178   * @return string
179   */
180  public function getComments()
181  {
182    return $this->comments;
183  }
184  /**
185   * @param OrderContact[]
186   */
187  public function setContacts($contacts)
188  {
189    $this->contacts = $contacts;
190  }
191  /**
192   * @return OrderContact[]
193   */
194  public function getContacts()
195  {
196    return $this->contacts;
197  }
198  /**
199   * @param string
200   */
201  public function setId($id)
202  {
203    $this->id = $id;
204  }
205  /**
206   * @return string
207   */
208  public function getId()
209  {
210    return $this->id;
211  }
212  /**
213   * @param string
214   */
215  public function setKind($kind)
216  {
217    $this->kind = $kind;
218  }
219  /**
220   * @return string
221   */
222  public function getKind()
223  {
224    return $this->kind;
225  }
226  /**
227   * @param LastModifiedInfo
228   */
229  public function setLastModifiedInfo(LastModifiedInfo $lastModifiedInfo)
230  {
231    $this->lastModifiedInfo = $lastModifiedInfo;
232  }
233  /**
234   * @return LastModifiedInfo
235   */
236  public function getLastModifiedInfo()
237  {
238    return $this->lastModifiedInfo;
239  }
240  /**
241   * @param string
242   */
243  public function setName($name)
244  {
245    $this->name = $name;
246  }
247  /**
248   * @return string
249   */
250  public function getName()
251  {
252    return $this->name;
253  }
254  /**
255   * @param string
256   */
257  public function setNotes($notes)
258  {
259    $this->notes = $notes;
260  }
261  /**
262   * @return string
263   */
264  public function getNotes()
265  {
266    return $this->notes;
267  }
268  /**
269   * @param string
270   */
271  public function setPlanningTermId($planningTermId)
272  {
273    $this->planningTermId = $planningTermId;
274  }
275  /**
276   * @return string
277   */
278  public function getPlanningTermId()
279  {
280    return $this->planningTermId;
281  }
282  /**
283   * @param string
284   */
285  public function setProjectId($projectId)
286  {
287    $this->projectId = $projectId;
288  }
289  /**
290   * @return string
291   */
292  public function getProjectId()
293  {
294    return $this->projectId;
295  }
296  /**
297   * @param string
298   */
299  public function setSellerOrderId($sellerOrderId)
300  {
301    $this->sellerOrderId = $sellerOrderId;
302  }
303  /**
304   * @return string
305   */
306  public function getSellerOrderId()
307  {
308    return $this->sellerOrderId;
309  }
310  /**
311   * @param string
312   */
313  public function setSellerOrganizationName($sellerOrganizationName)
314  {
315    $this->sellerOrganizationName = $sellerOrganizationName;
316  }
317  /**
318   * @return string
319   */
320  public function getSellerOrganizationName()
321  {
322    return $this->sellerOrganizationName;
323  }
324  /**
325   * @param string[]
326   */
327  public function setSiteId($siteId)
328  {
329    $this->siteId = $siteId;
330  }
331  /**
332   * @return string[]
333   */
334  public function getSiteId()
335  {
336    return $this->siteId;
337  }
338  /**
339   * @param string[]
340   */
341  public function setSiteNames($siteNames)
342  {
343    $this->siteNames = $siteNames;
344  }
345  /**
346   * @return string[]
347   */
348  public function getSiteNames()
349  {
350    return $this->siteNames;
351  }
352  /**
353   * @param string
354   */
355  public function setSubaccountId($subaccountId)
356  {
357    $this->subaccountId = $subaccountId;
358  }
359  /**
360   * @return string
361   */
362  public function getSubaccountId()
363  {
364    return $this->subaccountId;
365  }
366  /**
367   * @param string
368   */
369  public function setTermsAndConditions($termsAndConditions)
370  {
371    $this->termsAndConditions = $termsAndConditions;
372  }
373  /**
374   * @return string
375   */
376  public function getTermsAndConditions()
377  {
378    return $this->termsAndConditions;
379  }
380}
381
382// Adding a class alias for backwards compatibility with the previous class name.
383class_alias(Order::class, 'Google_Service_Dfareporting_Order');
384