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 |
|
---|
18 | namespace Google\Service\Merchant;
|
---|
19 |
|
---|
20 | class PriceInsightsProductView extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $brand;
|
---|
26 | /**
|
---|
27 | * @var string
|
---|
28 | */
|
---|
29 | public $categoryL1;
|
---|
30 | /**
|
---|
31 | * @var string
|
---|
32 | */
|
---|
33 | public $categoryL2;
|
---|
34 | /**
|
---|
35 | * @var string
|
---|
36 | */
|
---|
37 | public $categoryL3;
|
---|
38 | /**
|
---|
39 | * @var string
|
---|
40 | */
|
---|
41 | public $categoryL4;
|
---|
42 | /**
|
---|
43 | * @var string
|
---|
44 | */
|
---|
45 | public $categoryL5;
|
---|
46 | /**
|
---|
47 | * @var string
|
---|
48 | */
|
---|
49 | public $effectiveness;
|
---|
50 | /**
|
---|
51 | * @var string
|
---|
52 | */
|
---|
53 | public $id;
|
---|
54 | /**
|
---|
55 | * @var string
|
---|
56 | */
|
---|
57 | public $offerId;
|
---|
58 | public $predictedClicksChangeFraction;
|
---|
59 | public $predictedConversionsChangeFraction;
|
---|
60 | public $predictedImpressionsChangeFraction;
|
---|
61 | protected $priceType = Price::class;
|
---|
62 | protected $priceDataType = '';
|
---|
63 | /**
|
---|
64 | * @var string
|
---|
65 | */
|
---|
66 | public $productTypeL1;
|
---|
67 | /**
|
---|
68 | * @var string
|
---|
69 | */
|
---|
70 | public $productTypeL2;
|
---|
71 | /**
|
---|
72 | * @var string
|
---|
73 | */
|
---|
74 | public $productTypeL3;
|
---|
75 | /**
|
---|
76 | * @var string
|
---|
77 | */
|
---|
78 | public $productTypeL4;
|
---|
79 | /**
|
---|
80 | * @var string
|
---|
81 | */
|
---|
82 | public $productTypeL5;
|
---|
83 | protected $suggestedPriceType = Price::class;
|
---|
84 | protected $suggestedPriceDataType = '';
|
---|
85 | /**
|
---|
86 | * @var string
|
---|
87 | */
|
---|
88 | public $title;
|
---|
89 |
|
---|
90 | /**
|
---|
91 | * @param string
|
---|
92 | */
|
---|
93 | public function setBrand($brand)
|
---|
94 | {
|
---|
95 | $this->brand = $brand;
|
---|
96 | }
|
---|
97 | /**
|
---|
98 | * @return string
|
---|
99 | */
|
---|
100 | public function getBrand()
|
---|
101 | {
|
---|
102 | return $this->brand;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @param string
|
---|
106 | */
|
---|
107 | public function setCategoryL1($categoryL1)
|
---|
108 | {
|
---|
109 | $this->categoryL1 = $categoryL1;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @return string
|
---|
113 | */
|
---|
114 | public function getCategoryL1()
|
---|
115 | {
|
---|
116 | return $this->categoryL1;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @param string
|
---|
120 | */
|
---|
121 | public function setCategoryL2($categoryL2)
|
---|
122 | {
|
---|
123 | $this->categoryL2 = $categoryL2;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @return string
|
---|
127 | */
|
---|
128 | public function getCategoryL2()
|
---|
129 | {
|
---|
130 | return $this->categoryL2;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @param string
|
---|
134 | */
|
---|
135 | public function setCategoryL3($categoryL3)
|
---|
136 | {
|
---|
137 | $this->categoryL3 = $categoryL3;
|
---|
138 | }
|
---|
139 | /**
|
---|
140 | * @return string
|
---|
141 | */
|
---|
142 | public function getCategoryL3()
|
---|
143 | {
|
---|
144 | return $this->categoryL3;
|
---|
145 | }
|
---|
146 | /**
|
---|
147 | * @param string
|
---|
148 | */
|
---|
149 | public function setCategoryL4($categoryL4)
|
---|
150 | {
|
---|
151 | $this->categoryL4 = $categoryL4;
|
---|
152 | }
|
---|
153 | /**
|
---|
154 | * @return string
|
---|
155 | */
|
---|
156 | public function getCategoryL4()
|
---|
157 | {
|
---|
158 | return $this->categoryL4;
|
---|
159 | }
|
---|
160 | /**
|
---|
161 | * @param string
|
---|
162 | */
|
---|
163 | public function setCategoryL5($categoryL5)
|
---|
164 | {
|
---|
165 | $this->categoryL5 = $categoryL5;
|
---|
166 | }
|
---|
167 | /**
|
---|
168 | * @return string
|
---|
169 | */
|
---|
170 | public function getCategoryL5()
|
---|
171 | {
|
---|
172 | return $this->categoryL5;
|
---|
173 | }
|
---|
174 | /**
|
---|
175 | * @param string
|
---|
176 | */
|
---|
177 | public function setEffectiveness($effectiveness)
|
---|
178 | {
|
---|
179 | $this->effectiveness = $effectiveness;
|
---|
180 | }
|
---|
181 | /**
|
---|
182 | * @return string
|
---|
183 | */
|
---|
184 | public function getEffectiveness()
|
---|
185 | {
|
---|
186 | return $this->effectiveness;
|
---|
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 setOfferId($offerId)
|
---|
206 | {
|
---|
207 | $this->offerId = $offerId;
|
---|
208 | }
|
---|
209 | /**
|
---|
210 | * @return string
|
---|
211 | */
|
---|
212 | public function getOfferId()
|
---|
213 | {
|
---|
214 | return $this->offerId;
|
---|
215 | }
|
---|
216 | public function setPredictedClicksChangeFraction($predictedClicksChangeFraction)
|
---|
217 | {
|
---|
218 | $this->predictedClicksChangeFraction = $predictedClicksChangeFraction;
|
---|
219 | }
|
---|
220 | public function getPredictedClicksChangeFraction()
|
---|
221 | {
|
---|
222 | return $this->predictedClicksChangeFraction;
|
---|
223 | }
|
---|
224 | public function setPredictedConversionsChangeFraction($predictedConversionsChangeFraction)
|
---|
225 | {
|
---|
226 | $this->predictedConversionsChangeFraction = $predictedConversionsChangeFraction;
|
---|
227 | }
|
---|
228 | public function getPredictedConversionsChangeFraction()
|
---|
229 | {
|
---|
230 | return $this->predictedConversionsChangeFraction;
|
---|
231 | }
|
---|
232 | public function setPredictedImpressionsChangeFraction($predictedImpressionsChangeFraction)
|
---|
233 | {
|
---|
234 | $this->predictedImpressionsChangeFraction = $predictedImpressionsChangeFraction;
|
---|
235 | }
|
---|
236 | public function getPredictedImpressionsChangeFraction()
|
---|
237 | {
|
---|
238 | return $this->predictedImpressionsChangeFraction;
|
---|
239 | }
|
---|
240 | /**
|
---|
241 | * @param Price
|
---|
242 | */
|
---|
243 | public function setPrice(Price $price)
|
---|
244 | {
|
---|
245 | $this->price = $price;
|
---|
246 | }
|
---|
247 | /**
|
---|
248 | * @return Price
|
---|
249 | */
|
---|
250 | public function getPrice()
|
---|
251 | {
|
---|
252 | return $this->price;
|
---|
253 | }
|
---|
254 | /**
|
---|
255 | * @param string
|
---|
256 | */
|
---|
257 | public function setProductTypeL1($productTypeL1)
|
---|
258 | {
|
---|
259 | $this->productTypeL1 = $productTypeL1;
|
---|
260 | }
|
---|
261 | /**
|
---|
262 | * @return string
|
---|
263 | */
|
---|
264 | public function getProductTypeL1()
|
---|
265 | {
|
---|
266 | return $this->productTypeL1;
|
---|
267 | }
|
---|
268 | /**
|
---|
269 | * @param string
|
---|
270 | */
|
---|
271 | public function setProductTypeL2($productTypeL2)
|
---|
272 | {
|
---|
273 | $this->productTypeL2 = $productTypeL2;
|
---|
274 | }
|
---|
275 | /**
|
---|
276 | * @return string
|
---|
277 | */
|
---|
278 | public function getProductTypeL2()
|
---|
279 | {
|
---|
280 | return $this->productTypeL2;
|
---|
281 | }
|
---|
282 | /**
|
---|
283 | * @param string
|
---|
284 | */
|
---|
285 | public function setProductTypeL3($productTypeL3)
|
---|
286 | {
|
---|
287 | $this->productTypeL3 = $productTypeL3;
|
---|
288 | }
|
---|
289 | /**
|
---|
290 | * @return string
|
---|
291 | */
|
---|
292 | public function getProductTypeL3()
|
---|
293 | {
|
---|
294 | return $this->productTypeL3;
|
---|
295 | }
|
---|
296 | /**
|
---|
297 | * @param string
|
---|
298 | */
|
---|
299 | public function setProductTypeL4($productTypeL4)
|
---|
300 | {
|
---|
301 | $this->productTypeL4 = $productTypeL4;
|
---|
302 | }
|
---|
303 | /**
|
---|
304 | * @return string
|
---|
305 | */
|
---|
306 | public function getProductTypeL4()
|
---|
307 | {
|
---|
308 | return $this->productTypeL4;
|
---|
309 | }
|
---|
310 | /**
|
---|
311 | * @param string
|
---|
312 | */
|
---|
313 | public function setProductTypeL5($productTypeL5)
|
---|
314 | {
|
---|
315 | $this->productTypeL5 = $productTypeL5;
|
---|
316 | }
|
---|
317 | /**
|
---|
318 | * @return string
|
---|
319 | */
|
---|
320 | public function getProductTypeL5()
|
---|
321 | {
|
---|
322 | return $this->productTypeL5;
|
---|
323 | }
|
---|
324 | /**
|
---|
325 | * @param Price
|
---|
326 | */
|
---|
327 | public function setSuggestedPrice(Price $suggestedPrice)
|
---|
328 | {
|
---|
329 | $this->suggestedPrice = $suggestedPrice;
|
---|
330 | }
|
---|
331 | /**
|
---|
332 | * @return Price
|
---|
333 | */
|
---|
334 | public function getSuggestedPrice()
|
---|
335 | {
|
---|
336 | return $this->suggestedPrice;
|
---|
337 | }
|
---|
338 | /**
|
---|
339 | * @param string
|
---|
340 | */
|
---|
341 | public function setTitle($title)
|
---|
342 | {
|
---|
343 | $this->title = $title;
|
---|
344 | }
|
---|
345 | /**
|
---|
346 | * @return string
|
---|
347 | */
|
---|
348 | public function getTitle()
|
---|
349 | {
|
---|
350 | return $this->title;
|
---|
351 | }
|
---|
352 | }
|
---|
353 |
|
---|
354 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
355 | class_alias(PriceInsightsProductView::class, 'Google_Service_Merchant_PriceInsightsProductView');
|
---|