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\ShoppingContent;
19
20class TestOrderLineItemProduct extends \Google\Collection
21{
22  protected $collection_key = 'variantAttributes';
23  /**
24   * @var string
25   */
26  public $brand;
27  /**
28   * @var string
29   */
30  public $condition;
31  /**
32   * @var string
33   */
34  public $contentLanguage;
35  protected $feesType = OrderLineItemProductFee::class;
36  protected $feesDataType = 'array';
37  /**
38   * @var string
39   */
40  public $gtin;
41  /**
42   * @var string
43   */
44  public $imageLink;
45  /**
46   * @var string
47   */
48  public $itemGroupId;
49  /**
50   * @var string
51   */
52  public $mpn;
53  /**
54   * @var string
55   */
56  public $offerId;
57  protected $priceType = Price::class;
58  protected $priceDataType = '';
59  /**
60   * @var string
61   */
62  public $targetCountry;
63  /**
64   * @var string
65   */
66  public $title;
67  protected $variantAttributesType = OrderLineItemProductVariantAttribute::class;
68  protected $variantAttributesDataType = 'array';
69
70  /**
71   * @param string
72   */
73  public function setBrand($brand)
74  {
75    $this->brand = $brand;
76  }
77  /**
78   * @return string
79   */
80  public function getBrand()
81  {
82    return $this->brand;
83  }
84  /**
85   * @param string
86   */
87  public function setCondition($condition)
88  {
89    $this->condition = $condition;
90  }
91  /**
92   * @return string
93   */
94  public function getCondition()
95  {
96    return $this->condition;
97  }
98  /**
99   * @param string
100   */
101  public function setContentLanguage($contentLanguage)
102  {
103    $this->contentLanguage = $contentLanguage;
104  }
105  /**
106   * @return string
107   */
108  public function getContentLanguage()
109  {
110    return $this->contentLanguage;
111  }
112  /**
113   * @param OrderLineItemProductFee[]
114   */
115  public function setFees($fees)
116  {
117    $this->fees = $fees;
118  }
119  /**
120   * @return OrderLineItemProductFee[]
121   */
122  public function getFees()
123  {
124    return $this->fees;
125  }
126  /**
127   * @param string
128   */
129  public function setGtin($gtin)
130  {
131    $this->gtin = $gtin;
132  }
133  /**
134   * @return string
135   */
136  public function getGtin()
137  {
138    return $this->gtin;
139  }
140  /**
141   * @param string
142   */
143  public function setImageLink($imageLink)
144  {
145    $this->imageLink = $imageLink;
146  }
147  /**
148   * @return string
149   */
150  public function getImageLink()
151  {
152    return $this->imageLink;
153  }
154  /**
155   * @param string
156   */
157  public function setItemGroupId($itemGroupId)
158  {
159    $this->itemGroupId = $itemGroupId;
160  }
161  /**
162   * @return string
163   */
164  public function getItemGroupId()
165  {
166    return $this->itemGroupId;
167  }
168  /**
169   * @param string
170   */
171  public function setMpn($mpn)
172  {
173    $this->mpn = $mpn;
174  }
175  /**
176   * @return string
177   */
178  public function getMpn()
179  {
180    return $this->mpn;
181  }
182  /**
183   * @param string
184   */
185  public function setOfferId($offerId)
186  {
187    $this->offerId = $offerId;
188  }
189  /**
190   * @return string
191   */
192  public function getOfferId()
193  {
194    return $this->offerId;
195  }
196  /**
197   * @param Price
198   */
199  public function setPrice(Price $price)
200  {
201    $this->price = $price;
202  }
203  /**
204   * @return Price
205   */
206  public function getPrice()
207  {
208    return $this->price;
209  }
210  /**
211   * @param string
212   */
213  public function setTargetCountry($targetCountry)
214  {
215    $this->targetCountry = $targetCountry;
216  }
217  /**
218   * @return string
219   */
220  public function getTargetCountry()
221  {
222    return $this->targetCountry;
223  }
224  /**
225   * @param string
226   */
227  public function setTitle($title)
228  {
229    $this->title = $title;
230  }
231  /**
232   * @return string
233   */
234  public function getTitle()
235  {
236    return $this->title;
237  }
238  /**
239   * @param OrderLineItemProductVariantAttribute[]
240   */
241  public function setVariantAttributes($variantAttributes)
242  {
243    $this->variantAttributes = $variantAttributes;
244  }
245  /**
246   * @return OrderLineItemProductVariantAttribute[]
247   */
248  public function getVariantAttributes()
249  {
250    return $this->variantAttributes;
251  }
252}
253
254// Adding a class alias for backwards compatibility with the previous class name.
255class_alias(TestOrderLineItemProduct::class, 'Google_Service_ShoppingContent_TestOrderLineItemProduct');
256