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 ProductPerformanceView 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 | public $clickThroughRate;
|
---|
47 | /**
|
---|
48 | * @var string
|
---|
49 | */
|
---|
50 | public $clicks;
|
---|
51 | public $conversionRate;
|
---|
52 | protected $conversionValueType = Price::class;
|
---|
53 | protected $conversionValueDataType = '';
|
---|
54 | public $conversions;
|
---|
55 | /**
|
---|
56 | * @var string
|
---|
57 | */
|
---|
58 | public $customLabel0;
|
---|
59 | /**
|
---|
60 | * @var string
|
---|
61 | */
|
---|
62 | public $customLabel1;
|
---|
63 | /**
|
---|
64 | * @var string
|
---|
65 | */
|
---|
66 | public $customLabel2;
|
---|
67 | /**
|
---|
68 | * @var string
|
---|
69 | */
|
---|
70 | public $customLabel3;
|
---|
71 | /**
|
---|
72 | * @var string
|
---|
73 | */
|
---|
74 | public $customLabel4;
|
---|
75 | /**
|
---|
76 | * @var string
|
---|
77 | */
|
---|
78 | public $customerCountryCode;
|
---|
79 | protected $dateType = Date::class;
|
---|
80 | protected $dateDataType = '';
|
---|
81 | /**
|
---|
82 | * @var string
|
---|
83 | */
|
---|
84 | public $impressions;
|
---|
85 | /**
|
---|
86 | * @var string
|
---|
87 | */
|
---|
88 | public $marketingMethod;
|
---|
89 | /**
|
---|
90 | * @var string
|
---|
91 | */
|
---|
92 | public $offerId;
|
---|
93 | /**
|
---|
94 | * @var string
|
---|
95 | */
|
---|
96 | public $productTypeL1;
|
---|
97 | /**
|
---|
98 | * @var string
|
---|
99 | */
|
---|
100 | public $productTypeL2;
|
---|
101 | /**
|
---|
102 | * @var string
|
---|
103 | */
|
---|
104 | public $productTypeL3;
|
---|
105 | /**
|
---|
106 | * @var string
|
---|
107 | */
|
---|
108 | public $productTypeL4;
|
---|
109 | /**
|
---|
110 | * @var string
|
---|
111 | */
|
---|
112 | public $productTypeL5;
|
---|
113 | /**
|
---|
114 | * @var string
|
---|
115 | */
|
---|
116 | public $title;
|
---|
117 | protected $weekType = Date::class;
|
---|
118 | protected $weekDataType = '';
|
---|
119 |
|
---|
120 | /**
|
---|
121 | * @param string
|
---|
122 | */
|
---|
123 | public function setBrand($brand)
|
---|
124 | {
|
---|
125 | $this->brand = $brand;
|
---|
126 | }
|
---|
127 | /**
|
---|
128 | * @return string
|
---|
129 | */
|
---|
130 | public function getBrand()
|
---|
131 | {
|
---|
132 | return $this->brand;
|
---|
133 | }
|
---|
134 | /**
|
---|
135 | * @param string
|
---|
136 | */
|
---|
137 | public function setCategoryL1($categoryL1)
|
---|
138 | {
|
---|
139 | $this->categoryL1 = $categoryL1;
|
---|
140 | }
|
---|
141 | /**
|
---|
142 | * @return string
|
---|
143 | */
|
---|
144 | public function getCategoryL1()
|
---|
145 | {
|
---|
146 | return $this->categoryL1;
|
---|
147 | }
|
---|
148 | /**
|
---|
149 | * @param string
|
---|
150 | */
|
---|
151 | public function setCategoryL2($categoryL2)
|
---|
152 | {
|
---|
153 | $this->categoryL2 = $categoryL2;
|
---|
154 | }
|
---|
155 | /**
|
---|
156 | * @return string
|
---|
157 | */
|
---|
158 | public function getCategoryL2()
|
---|
159 | {
|
---|
160 | return $this->categoryL2;
|
---|
161 | }
|
---|
162 | /**
|
---|
163 | * @param string
|
---|
164 | */
|
---|
165 | public function setCategoryL3($categoryL3)
|
---|
166 | {
|
---|
167 | $this->categoryL3 = $categoryL3;
|
---|
168 | }
|
---|
169 | /**
|
---|
170 | * @return string
|
---|
171 | */
|
---|
172 | public function getCategoryL3()
|
---|
173 | {
|
---|
174 | return $this->categoryL3;
|
---|
175 | }
|
---|
176 | /**
|
---|
177 | * @param string
|
---|
178 | */
|
---|
179 | public function setCategoryL4($categoryL4)
|
---|
180 | {
|
---|
181 | $this->categoryL4 = $categoryL4;
|
---|
182 | }
|
---|
183 | /**
|
---|
184 | * @return string
|
---|
185 | */
|
---|
186 | public function getCategoryL4()
|
---|
187 | {
|
---|
188 | return $this->categoryL4;
|
---|
189 | }
|
---|
190 | /**
|
---|
191 | * @param string
|
---|
192 | */
|
---|
193 | public function setCategoryL5($categoryL5)
|
---|
194 | {
|
---|
195 | $this->categoryL5 = $categoryL5;
|
---|
196 | }
|
---|
197 | /**
|
---|
198 | * @return string
|
---|
199 | */
|
---|
200 | public function getCategoryL5()
|
---|
201 | {
|
---|
202 | return $this->categoryL5;
|
---|
203 | }
|
---|
204 | public function setClickThroughRate($clickThroughRate)
|
---|
205 | {
|
---|
206 | $this->clickThroughRate = $clickThroughRate;
|
---|
207 | }
|
---|
208 | public function getClickThroughRate()
|
---|
209 | {
|
---|
210 | return $this->clickThroughRate;
|
---|
211 | }
|
---|
212 | /**
|
---|
213 | * @param string
|
---|
214 | */
|
---|
215 | public function setClicks($clicks)
|
---|
216 | {
|
---|
217 | $this->clicks = $clicks;
|
---|
218 | }
|
---|
219 | /**
|
---|
220 | * @return string
|
---|
221 | */
|
---|
222 | public function getClicks()
|
---|
223 | {
|
---|
224 | return $this->clicks;
|
---|
225 | }
|
---|
226 | public function setConversionRate($conversionRate)
|
---|
227 | {
|
---|
228 | $this->conversionRate = $conversionRate;
|
---|
229 | }
|
---|
230 | public function getConversionRate()
|
---|
231 | {
|
---|
232 | return $this->conversionRate;
|
---|
233 | }
|
---|
234 | /**
|
---|
235 | * @param Price
|
---|
236 | */
|
---|
237 | public function setConversionValue(Price $conversionValue)
|
---|
238 | {
|
---|
239 | $this->conversionValue = $conversionValue;
|
---|
240 | }
|
---|
241 | /**
|
---|
242 | * @return Price
|
---|
243 | */
|
---|
244 | public function getConversionValue()
|
---|
245 | {
|
---|
246 | return $this->conversionValue;
|
---|
247 | }
|
---|
248 | public function setConversions($conversions)
|
---|
249 | {
|
---|
250 | $this->conversions = $conversions;
|
---|
251 | }
|
---|
252 | public function getConversions()
|
---|
253 | {
|
---|
254 | return $this->conversions;
|
---|
255 | }
|
---|
256 | /**
|
---|
257 | * @param string
|
---|
258 | */
|
---|
259 | public function setCustomLabel0($customLabel0)
|
---|
260 | {
|
---|
261 | $this->customLabel0 = $customLabel0;
|
---|
262 | }
|
---|
263 | /**
|
---|
264 | * @return string
|
---|
265 | */
|
---|
266 | public function getCustomLabel0()
|
---|
267 | {
|
---|
268 | return $this->customLabel0;
|
---|
269 | }
|
---|
270 | /**
|
---|
271 | * @param string
|
---|
272 | */
|
---|
273 | public function setCustomLabel1($customLabel1)
|
---|
274 | {
|
---|
275 | $this->customLabel1 = $customLabel1;
|
---|
276 | }
|
---|
277 | /**
|
---|
278 | * @return string
|
---|
279 | */
|
---|
280 | public function getCustomLabel1()
|
---|
281 | {
|
---|
282 | return $this->customLabel1;
|
---|
283 | }
|
---|
284 | /**
|
---|
285 | * @param string
|
---|
286 | */
|
---|
287 | public function setCustomLabel2($customLabel2)
|
---|
288 | {
|
---|
289 | $this->customLabel2 = $customLabel2;
|
---|
290 | }
|
---|
291 | /**
|
---|
292 | * @return string
|
---|
293 | */
|
---|
294 | public function getCustomLabel2()
|
---|
295 | {
|
---|
296 | return $this->customLabel2;
|
---|
297 | }
|
---|
298 | /**
|
---|
299 | * @param string
|
---|
300 | */
|
---|
301 | public function setCustomLabel3($customLabel3)
|
---|
302 | {
|
---|
303 | $this->customLabel3 = $customLabel3;
|
---|
304 | }
|
---|
305 | /**
|
---|
306 | * @return string
|
---|
307 | */
|
---|
308 | public function getCustomLabel3()
|
---|
309 | {
|
---|
310 | return $this->customLabel3;
|
---|
311 | }
|
---|
312 | /**
|
---|
313 | * @param string
|
---|
314 | */
|
---|
315 | public function setCustomLabel4($customLabel4)
|
---|
316 | {
|
---|
317 | $this->customLabel4 = $customLabel4;
|
---|
318 | }
|
---|
319 | /**
|
---|
320 | * @return string
|
---|
321 | */
|
---|
322 | public function getCustomLabel4()
|
---|
323 | {
|
---|
324 | return $this->customLabel4;
|
---|
325 | }
|
---|
326 | /**
|
---|
327 | * @param string
|
---|
328 | */
|
---|
329 | public function setCustomerCountryCode($customerCountryCode)
|
---|
330 | {
|
---|
331 | $this->customerCountryCode = $customerCountryCode;
|
---|
332 | }
|
---|
333 | /**
|
---|
334 | * @return string
|
---|
335 | */
|
---|
336 | public function getCustomerCountryCode()
|
---|
337 | {
|
---|
338 | return $this->customerCountryCode;
|
---|
339 | }
|
---|
340 | /**
|
---|
341 | * @param Date
|
---|
342 | */
|
---|
343 | public function setDate(Date $date)
|
---|
344 | {
|
---|
345 | $this->date = $date;
|
---|
346 | }
|
---|
347 | /**
|
---|
348 | * @return Date
|
---|
349 | */
|
---|
350 | public function getDate()
|
---|
351 | {
|
---|
352 | return $this->date;
|
---|
353 | }
|
---|
354 | /**
|
---|
355 | * @param string
|
---|
356 | */
|
---|
357 | public function setImpressions($impressions)
|
---|
358 | {
|
---|
359 | $this->impressions = $impressions;
|
---|
360 | }
|
---|
361 | /**
|
---|
362 | * @return string
|
---|
363 | */
|
---|
364 | public function getImpressions()
|
---|
365 | {
|
---|
366 | return $this->impressions;
|
---|
367 | }
|
---|
368 | /**
|
---|
369 | * @param string
|
---|
370 | */
|
---|
371 | public function setMarketingMethod($marketingMethod)
|
---|
372 | {
|
---|
373 | $this->marketingMethod = $marketingMethod;
|
---|
374 | }
|
---|
375 | /**
|
---|
376 | * @return string
|
---|
377 | */
|
---|
378 | public function getMarketingMethod()
|
---|
379 | {
|
---|
380 | return $this->marketingMethod;
|
---|
381 | }
|
---|
382 | /**
|
---|
383 | * @param string
|
---|
384 | */
|
---|
385 | public function setOfferId($offerId)
|
---|
386 | {
|
---|
387 | $this->offerId = $offerId;
|
---|
388 | }
|
---|
389 | /**
|
---|
390 | * @return string
|
---|
391 | */
|
---|
392 | public function getOfferId()
|
---|
393 | {
|
---|
394 | return $this->offerId;
|
---|
395 | }
|
---|
396 | /**
|
---|
397 | * @param string
|
---|
398 | */
|
---|
399 | public function setProductTypeL1($productTypeL1)
|
---|
400 | {
|
---|
401 | $this->productTypeL1 = $productTypeL1;
|
---|
402 | }
|
---|
403 | /**
|
---|
404 | * @return string
|
---|
405 | */
|
---|
406 | public function getProductTypeL1()
|
---|
407 | {
|
---|
408 | return $this->productTypeL1;
|
---|
409 | }
|
---|
410 | /**
|
---|
411 | * @param string
|
---|
412 | */
|
---|
413 | public function setProductTypeL2($productTypeL2)
|
---|
414 | {
|
---|
415 | $this->productTypeL2 = $productTypeL2;
|
---|
416 | }
|
---|
417 | /**
|
---|
418 | * @return string
|
---|
419 | */
|
---|
420 | public function getProductTypeL2()
|
---|
421 | {
|
---|
422 | return $this->productTypeL2;
|
---|
423 | }
|
---|
424 | /**
|
---|
425 | * @param string
|
---|
426 | */
|
---|
427 | public function setProductTypeL3($productTypeL3)
|
---|
428 | {
|
---|
429 | $this->productTypeL3 = $productTypeL3;
|
---|
430 | }
|
---|
431 | /**
|
---|
432 | * @return string
|
---|
433 | */
|
---|
434 | public function getProductTypeL3()
|
---|
435 | {
|
---|
436 | return $this->productTypeL3;
|
---|
437 | }
|
---|
438 | /**
|
---|
439 | * @param string
|
---|
440 | */
|
---|
441 | public function setProductTypeL4($productTypeL4)
|
---|
442 | {
|
---|
443 | $this->productTypeL4 = $productTypeL4;
|
---|
444 | }
|
---|
445 | /**
|
---|
446 | * @return string
|
---|
447 | */
|
---|
448 | public function getProductTypeL4()
|
---|
449 | {
|
---|
450 | return $this->productTypeL4;
|
---|
451 | }
|
---|
452 | /**
|
---|
453 | * @param string
|
---|
454 | */
|
---|
455 | public function setProductTypeL5($productTypeL5)
|
---|
456 | {
|
---|
457 | $this->productTypeL5 = $productTypeL5;
|
---|
458 | }
|
---|
459 | /**
|
---|
460 | * @return string
|
---|
461 | */
|
---|
462 | public function getProductTypeL5()
|
---|
463 | {
|
---|
464 | return $this->productTypeL5;
|
---|
465 | }
|
---|
466 | /**
|
---|
467 | * @param string
|
---|
468 | */
|
---|
469 | public function setTitle($title)
|
---|
470 | {
|
---|
471 | $this->title = $title;
|
---|
472 | }
|
---|
473 | /**
|
---|
474 | * @return string
|
---|
475 | */
|
---|
476 | public function getTitle()
|
---|
477 | {
|
---|
478 | return $this->title;
|
---|
479 | }
|
---|
480 | /**
|
---|
481 | * @param Date
|
---|
482 | */
|
---|
483 | public function setWeek(Date $week)
|
---|
484 | {
|
---|
485 | $this->week = $week;
|
---|
486 | }
|
---|
487 | /**
|
---|
488 | * @return Date
|
---|
489 | */
|
---|
490 | public function getWeek()
|
---|
491 | {
|
---|
492 | return $this->week;
|
---|
493 | }
|
---|
494 | }
|
---|
495 |
|
---|
496 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
497 | class_alias(ProductPerformanceView::class, 'Google_Service_Merchant_ProductPerformanceView');
|
---|