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 Product extends \Google\Collection
21{
22  protected $collection_key = 'targetingCriterion';
23  /**
24   * @var string
25   */
26  public $availableEndTime;
27  /**
28   * @var string
29   */
30  public $availableStartTime;
31  /**
32   * @var string
33   */
34  public $createTime;
35  protected $creatorContactsType = ContactInformation::class;
36  protected $creatorContactsDataType = 'array';
37  /**
38   * @var string
39   */
40  public $displayName;
41  /**
42   * @var bool
43   */
44  public $hasCreatorSignedOff;
45  /**
46   * @var string
47   */
48  public $productId;
49  /**
50   * @var string
51   */
52  public $productRevision;
53  /**
54   * @var string
55   */
56  public $publisherProfileId;
57  protected $sellerType = Seller::class;
58  protected $sellerDataType = '';
59  /**
60   * @var string
61   */
62  public $syndicationProduct;
63  protected $targetingCriterionType = TargetingCriteria::class;
64  protected $targetingCriterionDataType = 'array';
65  protected $termsType = DealTerms::class;
66  protected $termsDataType = '';
67  /**
68   * @var string
69   */
70  public $updateTime;
71  /**
72   * @var string
73   */
74  public $webPropertyCode;
75
76  /**
77   * @param string
78   */
79  public function setAvailableEndTime($availableEndTime)
80  {
81    $this->availableEndTime = $availableEndTime;
82  }
83  /**
84   * @return string
85   */
86  public function getAvailableEndTime()
87  {
88    return $this->availableEndTime;
89  }
90  /**
91   * @param string
92   */
93  public function setAvailableStartTime($availableStartTime)
94  {
95    $this->availableStartTime = $availableStartTime;
96  }
97  /**
98   * @return string
99   */
100  public function getAvailableStartTime()
101  {
102    return $this->availableStartTime;
103  }
104  /**
105   * @param string
106   */
107  public function setCreateTime($createTime)
108  {
109    $this->createTime = $createTime;
110  }
111  /**
112   * @return string
113   */
114  public function getCreateTime()
115  {
116    return $this->createTime;
117  }
118  /**
119   * @param ContactInformation[]
120   */
121  public function setCreatorContacts($creatorContacts)
122  {
123    $this->creatorContacts = $creatorContacts;
124  }
125  /**
126   * @return ContactInformation[]
127   */
128  public function getCreatorContacts()
129  {
130    return $this->creatorContacts;
131  }
132  /**
133   * @param string
134   */
135  public function setDisplayName($displayName)
136  {
137    $this->displayName = $displayName;
138  }
139  /**
140   * @return string
141   */
142  public function getDisplayName()
143  {
144    return $this->displayName;
145  }
146  /**
147   * @param bool
148   */
149  public function setHasCreatorSignedOff($hasCreatorSignedOff)
150  {
151    $this->hasCreatorSignedOff = $hasCreatorSignedOff;
152  }
153  /**
154   * @return bool
155   */
156  public function getHasCreatorSignedOff()
157  {
158    return $this->hasCreatorSignedOff;
159  }
160  /**
161   * @param string
162   */
163  public function setProductId($productId)
164  {
165    $this->productId = $productId;
166  }
167  /**
168   * @return string
169   */
170  public function getProductId()
171  {
172    return $this->productId;
173  }
174  /**
175   * @param string
176   */
177  public function setProductRevision($productRevision)
178  {
179    $this->productRevision = $productRevision;
180  }
181  /**
182   * @return string
183   */
184  public function getProductRevision()
185  {
186    return $this->productRevision;
187  }
188  /**
189   * @param string
190   */
191  public function setPublisherProfileId($publisherProfileId)
192  {
193    $this->publisherProfileId = $publisherProfileId;
194  }
195  /**
196   * @return string
197   */
198  public function getPublisherProfileId()
199  {
200    return $this->publisherProfileId;
201  }
202  /**
203   * @param Seller
204   */
205  public function setSeller(Seller $seller)
206  {
207    $this->seller = $seller;
208  }
209  /**
210   * @return Seller
211   */
212  public function getSeller()
213  {
214    return $this->seller;
215  }
216  /**
217   * @param string
218   */
219  public function setSyndicationProduct($syndicationProduct)
220  {
221    $this->syndicationProduct = $syndicationProduct;
222  }
223  /**
224   * @return string
225   */
226  public function getSyndicationProduct()
227  {
228    return $this->syndicationProduct;
229  }
230  /**
231   * @param TargetingCriteria[]
232   */
233  public function setTargetingCriterion($targetingCriterion)
234  {
235    $this->targetingCriterion = $targetingCriterion;
236  }
237  /**
238   * @return TargetingCriteria[]
239   */
240  public function getTargetingCriterion()
241  {
242    return $this->targetingCriterion;
243  }
244  /**
245   * @param DealTerms
246   */
247  public function setTerms(DealTerms $terms)
248  {
249    $this->terms = $terms;
250  }
251  /**
252   * @return DealTerms
253   */
254  public function getTerms()
255  {
256    return $this->terms;
257  }
258  /**
259   * @param string
260   */
261  public function setUpdateTime($updateTime)
262  {
263    $this->updateTime = $updateTime;
264  }
265  /**
266   * @return string
267   */
268  public function getUpdateTime()
269  {
270    return $this->updateTime;
271  }
272  /**
273   * @param string
274   */
275  public function setWebPropertyCode($webPropertyCode)
276  {
277    $this->webPropertyCode = $webPropertyCode;
278  }
279  /**
280   * @return string
281   */
282  public function getWebPropertyCode()
283  {
284    return $this->webPropertyCode;
285  }
286}
287
288// Adding a class alias for backwards compatibility with the previous class name.
289class_alias(Product::class, 'Google_Service_AdExchangeBuyerII_Product');
290