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\DisplayVideo;
19
20class Invoice extends \Google\Collection
21{
22  protected $collection_key = 'replacedInvoiceIds';
23  /**
24   * @var string
25   */
26  public $budgetInvoiceGroupingId;
27  protected $budgetSummariesType = BudgetSummary::class;
28  protected $budgetSummariesDataType = 'array';
29  /**
30   * @var string
31   */
32  public $correctedInvoiceId;
33  /**
34   * @var string
35   */
36  public $currencyCode;
37  /**
38   * @var string
39   */
40  public $displayName;
41  protected $dueDateType = Date::class;
42  protected $dueDateDataType = '';
43  /**
44   * @var string
45   */
46  public $invoiceId;
47  /**
48   * @var string
49   */
50  public $invoiceType;
51  protected $issueDateType = Date::class;
52  protected $issueDateDataType = '';
53  /**
54   * @var string
55   */
56  public $name;
57  /**
58   * @var string
59   */
60  public $nonBudgetMicros;
61  /**
62   * @var string
63   */
64  public $paymentsAccountId;
65  /**
66   * @var string
67   */
68  public $paymentsProfileId;
69  /**
70   * @var string
71   */
72  public $pdfUrl;
73  /**
74   * @var string
75   */
76  public $purchaseOrderNumber;
77  /**
78   * @var string[]
79   */
80  public $replacedInvoiceIds;
81  protected $serviceDateRangeType = DateRange::class;
82  protected $serviceDateRangeDataType = '';
83  /**
84   * @var string
85   */
86  public $subtotalAmountMicros;
87  /**
88   * @var string
89   */
90  public $totalAmountMicros;
91  /**
92   * @var string
93   */
94  public $totalTaxAmountMicros;
95
96  /**
97   * @param string
98   */
99  public function setBudgetInvoiceGroupingId($budgetInvoiceGroupingId)
100  {
101    $this->budgetInvoiceGroupingId = $budgetInvoiceGroupingId;
102  }
103  /**
104   * @return string
105   */
106  public function getBudgetInvoiceGroupingId()
107  {
108    return $this->budgetInvoiceGroupingId;
109  }
110  /**
111   * @param BudgetSummary[]
112   */
113  public function setBudgetSummaries($budgetSummaries)
114  {
115    $this->budgetSummaries = $budgetSummaries;
116  }
117  /**
118   * @return BudgetSummary[]
119   */
120  public function getBudgetSummaries()
121  {
122    return $this->budgetSummaries;
123  }
124  /**
125   * @param string
126   */
127  public function setCorrectedInvoiceId($correctedInvoiceId)
128  {
129    $this->correctedInvoiceId = $correctedInvoiceId;
130  }
131  /**
132   * @return string
133   */
134  public function getCorrectedInvoiceId()
135  {
136    return $this->correctedInvoiceId;
137  }
138  /**
139   * @param string
140   */
141  public function setCurrencyCode($currencyCode)
142  {
143    $this->currencyCode = $currencyCode;
144  }
145  /**
146   * @return string
147   */
148  public function getCurrencyCode()
149  {
150    return $this->currencyCode;
151  }
152  /**
153   * @param string
154   */
155  public function setDisplayName($displayName)
156  {
157    $this->displayName = $displayName;
158  }
159  /**
160   * @return string
161   */
162  public function getDisplayName()
163  {
164    return $this->displayName;
165  }
166  /**
167   * @param Date
168   */
169  public function setDueDate(Date $dueDate)
170  {
171    $this->dueDate = $dueDate;
172  }
173  /**
174   * @return Date
175   */
176  public function getDueDate()
177  {
178    return $this->dueDate;
179  }
180  /**
181   * @param string
182   */
183  public function setInvoiceId($invoiceId)
184  {
185    $this->invoiceId = $invoiceId;
186  }
187  /**
188   * @return string
189   */
190  public function getInvoiceId()
191  {
192    return $this->invoiceId;
193  }
194  /**
195   * @param string
196   */
197  public function setInvoiceType($invoiceType)
198  {
199    $this->invoiceType = $invoiceType;
200  }
201  /**
202   * @return string
203   */
204  public function getInvoiceType()
205  {
206    return $this->invoiceType;
207  }
208  /**
209   * @param Date
210   */
211  public function setIssueDate(Date $issueDate)
212  {
213    $this->issueDate = $issueDate;
214  }
215  /**
216   * @return Date
217   */
218  public function getIssueDate()
219  {
220    return $this->issueDate;
221  }
222  /**
223   * @param string
224   */
225  public function setName($name)
226  {
227    $this->name = $name;
228  }
229  /**
230   * @return string
231   */
232  public function getName()
233  {
234    return $this->name;
235  }
236  /**
237   * @param string
238   */
239  public function setNonBudgetMicros($nonBudgetMicros)
240  {
241    $this->nonBudgetMicros = $nonBudgetMicros;
242  }
243  /**
244   * @return string
245   */
246  public function getNonBudgetMicros()
247  {
248    return $this->nonBudgetMicros;
249  }
250  /**
251   * @param string
252   */
253  public function setPaymentsAccountId($paymentsAccountId)
254  {
255    $this->paymentsAccountId = $paymentsAccountId;
256  }
257  /**
258   * @return string
259   */
260  public function getPaymentsAccountId()
261  {
262    return $this->paymentsAccountId;
263  }
264  /**
265   * @param string
266   */
267  public function setPaymentsProfileId($paymentsProfileId)
268  {
269    $this->paymentsProfileId = $paymentsProfileId;
270  }
271  /**
272   * @return string
273   */
274  public function getPaymentsProfileId()
275  {
276    return $this->paymentsProfileId;
277  }
278  /**
279   * @param string
280   */
281  public function setPdfUrl($pdfUrl)
282  {
283    $this->pdfUrl = $pdfUrl;
284  }
285  /**
286   * @return string
287   */
288  public function getPdfUrl()
289  {
290    return $this->pdfUrl;
291  }
292  /**
293   * @param string
294   */
295  public function setPurchaseOrderNumber($purchaseOrderNumber)
296  {
297    $this->purchaseOrderNumber = $purchaseOrderNumber;
298  }
299  /**
300   * @return string
301   */
302  public function getPurchaseOrderNumber()
303  {
304    return $this->purchaseOrderNumber;
305  }
306  /**
307   * @param string[]
308   */
309  public function setReplacedInvoiceIds($replacedInvoiceIds)
310  {
311    $this->replacedInvoiceIds = $replacedInvoiceIds;
312  }
313  /**
314   * @return string[]
315   */
316  public function getReplacedInvoiceIds()
317  {
318    return $this->replacedInvoiceIds;
319  }
320  /**
321   * @param DateRange
322   */
323  public function setServiceDateRange(DateRange $serviceDateRange)
324  {
325    $this->serviceDateRange = $serviceDateRange;
326  }
327  /**
328   * @return DateRange
329   */
330  public function getServiceDateRange()
331  {
332    return $this->serviceDateRange;
333  }
334  /**
335   * @param string
336   */
337  public function setSubtotalAmountMicros($subtotalAmountMicros)
338  {
339    $this->subtotalAmountMicros = $subtotalAmountMicros;
340  }
341  /**
342   * @return string
343   */
344  public function getSubtotalAmountMicros()
345  {
346    return $this->subtotalAmountMicros;
347  }
348  /**
349   * @param string
350   */
351  public function setTotalAmountMicros($totalAmountMicros)
352  {
353    $this->totalAmountMicros = $totalAmountMicros;
354  }
355  /**
356   * @return string
357   */
358  public function getTotalAmountMicros()
359  {
360    return $this->totalAmountMicros;
361  }
362  /**
363   * @param string
364   */
365  public function setTotalTaxAmountMicros($totalTaxAmountMicros)
366  {
367    $this->totalTaxAmountMicros = $totalTaxAmountMicros;
368  }
369  /**
370   * @return string
371   */
372  public function getTotalTaxAmountMicros()
373  {
374    return $this->totalTaxAmountMicros;
375  }
376}
377
378// Adding a class alias for backwards compatibility with the previous class name.
379class_alias(Invoice::class, 'Google_Service_DisplayVideo_Invoice');
380