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 OrderDocument extends \Google\Collection
21{
22  protected $collection_key = 'lastSentRecipients';
23  /**
24   * @var string
25   */
26  public $accountId;
27  /**
28   * @var string
29   */
30  public $advertiserId;
31  /**
32   * @var string
33   */
34  public $amendedOrderDocumentId;
35  /**
36   * @var string[]
37   */
38  public $approvedByUserProfileIds;
39  /**
40   * @var bool
41   */
42  public $cancelled;
43  protected $createdInfoType = LastModifiedInfo::class;
44  protected $createdInfoDataType = '';
45  /**
46   * @var string
47   */
48  public $effectiveDate;
49  /**
50   * @var string
51   */
52  public $id;
53  /**
54   * @var string
55   */
56  public $kind;
57  /**
58   * @var string[]
59   */
60  public $lastSentRecipients;
61  /**
62   * @var string
63   */
64  public $lastSentTime;
65  /**
66   * @var string
67   */
68  public $orderId;
69  /**
70   * @var string
71   */
72  public $projectId;
73  /**
74   * @var bool
75   */
76  public $signed;
77  /**
78   * @var string
79   */
80  public $subaccountId;
81  /**
82   * @var string
83   */
84  public $title;
85  /**
86   * @var string
87   */
88  public $type;
89
90  /**
91   * @param string
92   */
93  public function setAccountId($accountId)
94  {
95    $this->accountId = $accountId;
96  }
97  /**
98   * @return string
99   */
100  public function getAccountId()
101  {
102    return $this->accountId;
103  }
104  /**
105   * @param string
106   */
107  public function setAdvertiserId($advertiserId)
108  {
109    $this->advertiserId = $advertiserId;
110  }
111  /**
112   * @return string
113   */
114  public function getAdvertiserId()
115  {
116    return $this->advertiserId;
117  }
118  /**
119   * @param string
120   */
121  public function setAmendedOrderDocumentId($amendedOrderDocumentId)
122  {
123    $this->amendedOrderDocumentId = $amendedOrderDocumentId;
124  }
125  /**
126   * @return string
127   */
128  public function getAmendedOrderDocumentId()
129  {
130    return $this->amendedOrderDocumentId;
131  }
132  /**
133   * @param string[]
134   */
135  public function setApprovedByUserProfileIds($approvedByUserProfileIds)
136  {
137    $this->approvedByUserProfileIds = $approvedByUserProfileIds;
138  }
139  /**
140   * @return string[]
141   */
142  public function getApprovedByUserProfileIds()
143  {
144    return $this->approvedByUserProfileIds;
145  }
146  /**
147   * @param bool
148   */
149  public function setCancelled($cancelled)
150  {
151    $this->cancelled = $cancelled;
152  }
153  /**
154   * @return bool
155   */
156  public function getCancelled()
157  {
158    return $this->cancelled;
159  }
160  /**
161   * @param LastModifiedInfo
162   */
163  public function setCreatedInfo(LastModifiedInfo $createdInfo)
164  {
165    $this->createdInfo = $createdInfo;
166  }
167  /**
168   * @return LastModifiedInfo
169   */
170  public function getCreatedInfo()
171  {
172    return $this->createdInfo;
173  }
174  /**
175   * @param string
176   */
177  public function setEffectiveDate($effectiveDate)
178  {
179    $this->effectiveDate = $effectiveDate;
180  }
181  /**
182   * @return string
183   */
184  public function getEffectiveDate()
185  {
186    return $this->effectiveDate;
187  }
188  /**
189   * @param string
190   */
191  public function setId($id)
192  {
193    $this->id = $id;
194  }
195  /**
196   * @return string
197   */
198  public function getId()
199  {
200    return $this->id;
201  }
202  /**
203   * @param string
204   */
205  public function setKind($kind)
206  {
207    $this->kind = $kind;
208  }
209  /**
210   * @return string
211   */
212  public function getKind()
213  {
214    return $this->kind;
215  }
216  /**
217   * @param string[]
218   */
219  public function setLastSentRecipients($lastSentRecipients)
220  {
221    $this->lastSentRecipients = $lastSentRecipients;
222  }
223  /**
224   * @return string[]
225   */
226  public function getLastSentRecipients()
227  {
228    return $this->lastSentRecipients;
229  }
230  /**
231   * @param string
232   */
233  public function setLastSentTime($lastSentTime)
234  {
235    $this->lastSentTime = $lastSentTime;
236  }
237  /**
238   * @return string
239   */
240  public function getLastSentTime()
241  {
242    return $this->lastSentTime;
243  }
244  /**
245   * @param string
246   */
247  public function setOrderId($orderId)
248  {
249    $this->orderId = $orderId;
250  }
251  /**
252   * @return string
253   */
254  public function getOrderId()
255  {
256    return $this->orderId;
257  }
258  /**
259   * @param string
260   */
261  public function setProjectId($projectId)
262  {
263    $this->projectId = $projectId;
264  }
265  /**
266   * @return string
267   */
268  public function getProjectId()
269  {
270    return $this->projectId;
271  }
272  /**
273   * @param bool
274   */
275  public function setSigned($signed)
276  {
277    $this->signed = $signed;
278  }
279  /**
280   * @return bool
281   */
282  public function getSigned()
283  {
284    return $this->signed;
285  }
286  /**
287   * @param string
288   */
289  public function setSubaccountId($subaccountId)
290  {
291    $this->subaccountId = $subaccountId;
292  }
293  /**
294   * @return string
295   */
296  public function getSubaccountId()
297  {
298    return $this->subaccountId;
299  }
300  /**
301   * @param string
302   */
303  public function setTitle($title)
304  {
305    $this->title = $title;
306  }
307  /**
308   * @return string
309   */
310  public function getTitle()
311  {
312    return $this->title;
313  }
314  /**
315   * @param string
316   */
317  public function setType($type)
318  {
319    $this->type = $type;
320  }
321  /**
322   * @return string
323   */
324  public function getType()
325  {
326    return $this->type;
327  }
328}
329
330// Adding a class alias for backwards compatibility with the previous class name.
331class_alias(OrderDocument::class, 'Google_Service_Dfareporting_OrderDocument');
332