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\ShoppingContent;
|
---|
19 |
|
---|
20 | class Promotion extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'storeCodeExclusion';
|
---|
23 | /**
|
---|
24 | * @var string[]
|
---|
25 | */
|
---|
26 | public $brand;
|
---|
27 | /**
|
---|
28 | * @var string[]
|
---|
29 | */
|
---|
30 | public $brandExclusion;
|
---|
31 | /**
|
---|
32 | * @var string
|
---|
33 | */
|
---|
34 | public $contentLanguage;
|
---|
35 | /**
|
---|
36 | * @var string
|
---|
37 | */
|
---|
38 | public $couponValueType;
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $freeGiftDescription;
|
---|
43 | /**
|
---|
44 | * @var string
|
---|
45 | */
|
---|
46 | public $freeGiftItemId;
|
---|
47 | protected $freeGiftValueType = PriceAmount::class;
|
---|
48 | protected $freeGiftValueDataType = '';
|
---|
49 | /**
|
---|
50 | * @var string
|
---|
51 | */
|
---|
52 | public $genericRedemptionCode;
|
---|
53 | /**
|
---|
54 | * @var int
|
---|
55 | */
|
---|
56 | public $getThisQuantityDiscounted;
|
---|
57 | /**
|
---|
58 | * @var string
|
---|
59 | */
|
---|
60 | public $id;
|
---|
61 | /**
|
---|
62 | * @var string[]
|
---|
63 | */
|
---|
64 | public $itemGroupId;
|
---|
65 | /**
|
---|
66 | * @var string[]
|
---|
67 | */
|
---|
68 | public $itemGroupIdExclusion;
|
---|
69 | /**
|
---|
70 | * @var string[]
|
---|
71 | */
|
---|
72 | public $itemId;
|
---|
73 | /**
|
---|
74 | * @var string[]
|
---|
75 | */
|
---|
76 | public $itemIdExclusion;
|
---|
77 | /**
|
---|
78 | * @var int
|
---|
79 | */
|
---|
80 | public $limitQuantity;
|
---|
81 | protected $limitValueType = PriceAmount::class;
|
---|
82 | protected $limitValueDataType = '';
|
---|
83 | /**
|
---|
84 | * @var string
|
---|
85 | */
|
---|
86 | public $longTitle;
|
---|
87 | protected $minimumPurchaseAmountType = PriceAmount::class;
|
---|
88 | protected $minimumPurchaseAmountDataType = '';
|
---|
89 | /**
|
---|
90 | * @var int
|
---|
91 | */
|
---|
92 | public $minimumPurchaseQuantity;
|
---|
93 | protected $moneyBudgetType = PriceAmount::class;
|
---|
94 | protected $moneyBudgetDataType = '';
|
---|
95 | protected $moneyOffAmountType = PriceAmount::class;
|
---|
96 | protected $moneyOffAmountDataType = '';
|
---|
97 | /**
|
---|
98 | * @var string
|
---|
99 | */
|
---|
100 | public $offerType;
|
---|
101 | /**
|
---|
102 | * @var int
|
---|
103 | */
|
---|
104 | public $orderLimit;
|
---|
105 | /**
|
---|
106 | * @var int
|
---|
107 | */
|
---|
108 | public $percentOff;
|
---|
109 | /**
|
---|
110 | * @var string
|
---|
111 | */
|
---|
112 | public $productApplicability;
|
---|
113 | /**
|
---|
114 | * @var string[]
|
---|
115 | */
|
---|
116 | public $productType;
|
---|
117 | /**
|
---|
118 | * @var string[]
|
---|
119 | */
|
---|
120 | public $productTypeExclusion;
|
---|
121 | /**
|
---|
122 | * @var string[]
|
---|
123 | */
|
---|
124 | public $promotionDestinationIds;
|
---|
125 | /**
|
---|
126 | * @var string
|
---|
127 | */
|
---|
128 | public $promotionDisplayDates;
|
---|
129 | protected $promotionDisplayTimePeriodType = TimePeriod::class;
|
---|
130 | protected $promotionDisplayTimePeriodDataType = '';
|
---|
131 | /**
|
---|
132 | * @var string
|
---|
133 | */
|
---|
134 | public $promotionEffectiveDates;
|
---|
135 | protected $promotionEffectiveTimePeriodType = TimePeriod::class;
|
---|
136 | protected $promotionEffectiveTimePeriodDataType = '';
|
---|
137 | /**
|
---|
138 | * @var string
|
---|
139 | */
|
---|
140 | public $promotionId;
|
---|
141 | protected $promotionStatusType = PromotionPromotionStatus::class;
|
---|
142 | protected $promotionStatusDataType = '';
|
---|
143 | /**
|
---|
144 | * @var string
|
---|
145 | */
|
---|
146 | public $promotionUrl;
|
---|
147 | /**
|
---|
148 | * @var string[]
|
---|
149 | */
|
---|
150 | public $redemptionChannel;
|
---|
151 | /**
|
---|
152 | * @var string[]
|
---|
153 | */
|
---|
154 | public $shippingServiceNames;
|
---|
155 | /**
|
---|
156 | * @var string
|
---|
157 | */
|
---|
158 | public $storeApplicability;
|
---|
159 | /**
|
---|
160 | * @var string[]
|
---|
161 | */
|
---|
162 | public $storeCode;
|
---|
163 | /**
|
---|
164 | * @var string[]
|
---|
165 | */
|
---|
166 | public $storeCodeExclusion;
|
---|
167 | /**
|
---|
168 | * @var string
|
---|
169 | */
|
---|
170 | public $targetCountry;
|
---|
171 |
|
---|
172 | /**
|
---|
173 | * @param string[]
|
---|
174 | */
|
---|
175 | public function setBrand($brand)
|
---|
176 | {
|
---|
177 | $this->brand = $brand;
|
---|
178 | }
|
---|
179 | /**
|
---|
180 | * @return string[]
|
---|
181 | */
|
---|
182 | public function getBrand()
|
---|
183 | {
|
---|
184 | return $this->brand;
|
---|
185 | }
|
---|
186 | /**
|
---|
187 | * @param string[]
|
---|
188 | */
|
---|
189 | public function setBrandExclusion($brandExclusion)
|
---|
190 | {
|
---|
191 | $this->brandExclusion = $brandExclusion;
|
---|
192 | }
|
---|
193 | /**
|
---|
194 | * @return string[]
|
---|
195 | */
|
---|
196 | public function getBrandExclusion()
|
---|
197 | {
|
---|
198 | return $this->brandExclusion;
|
---|
199 | }
|
---|
200 | /**
|
---|
201 | * @param string
|
---|
202 | */
|
---|
203 | public function setContentLanguage($contentLanguage)
|
---|
204 | {
|
---|
205 | $this->contentLanguage = $contentLanguage;
|
---|
206 | }
|
---|
207 | /**
|
---|
208 | * @return string
|
---|
209 | */
|
---|
210 | public function getContentLanguage()
|
---|
211 | {
|
---|
212 | return $this->contentLanguage;
|
---|
213 | }
|
---|
214 | /**
|
---|
215 | * @param string
|
---|
216 | */
|
---|
217 | public function setCouponValueType($couponValueType)
|
---|
218 | {
|
---|
219 | $this->couponValueType = $couponValueType;
|
---|
220 | }
|
---|
221 | /**
|
---|
222 | * @return string
|
---|
223 | */
|
---|
224 | public function getCouponValueType()
|
---|
225 | {
|
---|
226 | return $this->couponValueType;
|
---|
227 | }
|
---|
228 | /**
|
---|
229 | * @param string
|
---|
230 | */
|
---|
231 | public function setFreeGiftDescription($freeGiftDescription)
|
---|
232 | {
|
---|
233 | $this->freeGiftDescription = $freeGiftDescription;
|
---|
234 | }
|
---|
235 | /**
|
---|
236 | * @return string
|
---|
237 | */
|
---|
238 | public function getFreeGiftDescription()
|
---|
239 | {
|
---|
240 | return $this->freeGiftDescription;
|
---|
241 | }
|
---|
242 | /**
|
---|
243 | * @param string
|
---|
244 | */
|
---|
245 | public function setFreeGiftItemId($freeGiftItemId)
|
---|
246 | {
|
---|
247 | $this->freeGiftItemId = $freeGiftItemId;
|
---|
248 | }
|
---|
249 | /**
|
---|
250 | * @return string
|
---|
251 | */
|
---|
252 | public function getFreeGiftItemId()
|
---|
253 | {
|
---|
254 | return $this->freeGiftItemId;
|
---|
255 | }
|
---|
256 | /**
|
---|
257 | * @param PriceAmount
|
---|
258 | */
|
---|
259 | public function setFreeGiftValue(PriceAmount $freeGiftValue)
|
---|
260 | {
|
---|
261 | $this->freeGiftValue = $freeGiftValue;
|
---|
262 | }
|
---|
263 | /**
|
---|
264 | * @return PriceAmount
|
---|
265 | */
|
---|
266 | public function getFreeGiftValue()
|
---|
267 | {
|
---|
268 | return $this->freeGiftValue;
|
---|
269 | }
|
---|
270 | /**
|
---|
271 | * @param string
|
---|
272 | */
|
---|
273 | public function setGenericRedemptionCode($genericRedemptionCode)
|
---|
274 | {
|
---|
275 | $this->genericRedemptionCode = $genericRedemptionCode;
|
---|
276 | }
|
---|
277 | /**
|
---|
278 | * @return string
|
---|
279 | */
|
---|
280 | public function getGenericRedemptionCode()
|
---|
281 | {
|
---|
282 | return $this->genericRedemptionCode;
|
---|
283 | }
|
---|
284 | /**
|
---|
285 | * @param int
|
---|
286 | */
|
---|
287 | public function setGetThisQuantityDiscounted($getThisQuantityDiscounted)
|
---|
288 | {
|
---|
289 | $this->getThisQuantityDiscounted = $getThisQuantityDiscounted;
|
---|
290 | }
|
---|
291 | /**
|
---|
292 | * @return int
|
---|
293 | */
|
---|
294 | public function getGetThisQuantityDiscounted()
|
---|
295 | {
|
---|
296 | return $this->getThisQuantityDiscounted;
|
---|
297 | }
|
---|
298 | /**
|
---|
299 | * @param string
|
---|
300 | */
|
---|
301 | public function setId($id)
|
---|
302 | {
|
---|
303 | $this->id = $id;
|
---|
304 | }
|
---|
305 | /**
|
---|
306 | * @return string
|
---|
307 | */
|
---|
308 | public function getId()
|
---|
309 | {
|
---|
310 | return $this->id;
|
---|
311 | }
|
---|
312 | /**
|
---|
313 | * @param string[]
|
---|
314 | */
|
---|
315 | public function setItemGroupId($itemGroupId)
|
---|
316 | {
|
---|
317 | $this->itemGroupId = $itemGroupId;
|
---|
318 | }
|
---|
319 | /**
|
---|
320 | * @return string[]
|
---|
321 | */
|
---|
322 | public function getItemGroupId()
|
---|
323 | {
|
---|
324 | return $this->itemGroupId;
|
---|
325 | }
|
---|
326 | /**
|
---|
327 | * @param string[]
|
---|
328 | */
|
---|
329 | public function setItemGroupIdExclusion($itemGroupIdExclusion)
|
---|
330 | {
|
---|
331 | $this->itemGroupIdExclusion = $itemGroupIdExclusion;
|
---|
332 | }
|
---|
333 | /**
|
---|
334 | * @return string[]
|
---|
335 | */
|
---|
336 | public function getItemGroupIdExclusion()
|
---|
337 | {
|
---|
338 | return $this->itemGroupIdExclusion;
|
---|
339 | }
|
---|
340 | /**
|
---|
341 | * @param string[]
|
---|
342 | */
|
---|
343 | public function setItemId($itemId)
|
---|
344 | {
|
---|
345 | $this->itemId = $itemId;
|
---|
346 | }
|
---|
347 | /**
|
---|
348 | * @return string[]
|
---|
349 | */
|
---|
350 | public function getItemId()
|
---|
351 | {
|
---|
352 | return $this->itemId;
|
---|
353 | }
|
---|
354 | /**
|
---|
355 | * @param string[]
|
---|
356 | */
|
---|
357 | public function setItemIdExclusion($itemIdExclusion)
|
---|
358 | {
|
---|
359 | $this->itemIdExclusion = $itemIdExclusion;
|
---|
360 | }
|
---|
361 | /**
|
---|
362 | * @return string[]
|
---|
363 | */
|
---|
364 | public function getItemIdExclusion()
|
---|
365 | {
|
---|
366 | return $this->itemIdExclusion;
|
---|
367 | }
|
---|
368 | /**
|
---|
369 | * @param int
|
---|
370 | */
|
---|
371 | public function setLimitQuantity($limitQuantity)
|
---|
372 | {
|
---|
373 | $this->limitQuantity = $limitQuantity;
|
---|
374 | }
|
---|
375 | /**
|
---|
376 | * @return int
|
---|
377 | */
|
---|
378 | public function getLimitQuantity()
|
---|
379 | {
|
---|
380 | return $this->limitQuantity;
|
---|
381 | }
|
---|
382 | /**
|
---|
383 | * @param PriceAmount
|
---|
384 | */
|
---|
385 | public function setLimitValue(PriceAmount $limitValue)
|
---|
386 | {
|
---|
387 | $this->limitValue = $limitValue;
|
---|
388 | }
|
---|
389 | /**
|
---|
390 | * @return PriceAmount
|
---|
391 | */
|
---|
392 | public function getLimitValue()
|
---|
393 | {
|
---|
394 | return $this->limitValue;
|
---|
395 | }
|
---|
396 | /**
|
---|
397 | * @param string
|
---|
398 | */
|
---|
399 | public function setLongTitle($longTitle)
|
---|
400 | {
|
---|
401 | $this->longTitle = $longTitle;
|
---|
402 | }
|
---|
403 | /**
|
---|
404 | * @return string
|
---|
405 | */
|
---|
406 | public function getLongTitle()
|
---|
407 | {
|
---|
408 | return $this->longTitle;
|
---|
409 | }
|
---|
410 | /**
|
---|
411 | * @param PriceAmount
|
---|
412 | */
|
---|
413 | public function setMinimumPurchaseAmount(PriceAmount $minimumPurchaseAmount)
|
---|
414 | {
|
---|
415 | $this->minimumPurchaseAmount = $minimumPurchaseAmount;
|
---|
416 | }
|
---|
417 | /**
|
---|
418 | * @return PriceAmount
|
---|
419 | */
|
---|
420 | public function getMinimumPurchaseAmount()
|
---|
421 | {
|
---|
422 | return $this->minimumPurchaseAmount;
|
---|
423 | }
|
---|
424 | /**
|
---|
425 | * @param int
|
---|
426 | */
|
---|
427 | public function setMinimumPurchaseQuantity($minimumPurchaseQuantity)
|
---|
428 | {
|
---|
429 | $this->minimumPurchaseQuantity = $minimumPurchaseQuantity;
|
---|
430 | }
|
---|
431 | /**
|
---|
432 | * @return int
|
---|
433 | */
|
---|
434 | public function getMinimumPurchaseQuantity()
|
---|
435 | {
|
---|
436 | return $this->minimumPurchaseQuantity;
|
---|
437 | }
|
---|
438 | /**
|
---|
439 | * @param PriceAmount
|
---|
440 | */
|
---|
441 | public function setMoneyBudget(PriceAmount $moneyBudget)
|
---|
442 | {
|
---|
443 | $this->moneyBudget = $moneyBudget;
|
---|
444 | }
|
---|
445 | /**
|
---|
446 | * @return PriceAmount
|
---|
447 | */
|
---|
448 | public function getMoneyBudget()
|
---|
449 | {
|
---|
450 | return $this->moneyBudget;
|
---|
451 | }
|
---|
452 | /**
|
---|
453 | * @param PriceAmount
|
---|
454 | */
|
---|
455 | public function setMoneyOffAmount(PriceAmount $moneyOffAmount)
|
---|
456 | {
|
---|
457 | $this->moneyOffAmount = $moneyOffAmount;
|
---|
458 | }
|
---|
459 | /**
|
---|
460 | * @return PriceAmount
|
---|
461 | */
|
---|
462 | public function getMoneyOffAmount()
|
---|
463 | {
|
---|
464 | return $this->moneyOffAmount;
|
---|
465 | }
|
---|
466 | /**
|
---|
467 | * @param string
|
---|
468 | */
|
---|
469 | public function setOfferType($offerType)
|
---|
470 | {
|
---|
471 | $this->offerType = $offerType;
|
---|
472 | }
|
---|
473 | /**
|
---|
474 | * @return string
|
---|
475 | */
|
---|
476 | public function getOfferType()
|
---|
477 | {
|
---|
478 | return $this->offerType;
|
---|
479 | }
|
---|
480 | /**
|
---|
481 | * @param int
|
---|
482 | */
|
---|
483 | public function setOrderLimit($orderLimit)
|
---|
484 | {
|
---|
485 | $this->orderLimit = $orderLimit;
|
---|
486 | }
|
---|
487 | /**
|
---|
488 | * @return int
|
---|
489 | */
|
---|
490 | public function getOrderLimit()
|
---|
491 | {
|
---|
492 | return $this->orderLimit;
|
---|
493 | }
|
---|
494 | /**
|
---|
495 | * @param int
|
---|
496 | */
|
---|
497 | public function setPercentOff($percentOff)
|
---|
498 | {
|
---|
499 | $this->percentOff = $percentOff;
|
---|
500 | }
|
---|
501 | /**
|
---|
502 | * @return int
|
---|
503 | */
|
---|
504 | public function getPercentOff()
|
---|
505 | {
|
---|
506 | return $this->percentOff;
|
---|
507 | }
|
---|
508 | /**
|
---|
509 | * @param string
|
---|
510 | */
|
---|
511 | public function setProductApplicability($productApplicability)
|
---|
512 | {
|
---|
513 | $this->productApplicability = $productApplicability;
|
---|
514 | }
|
---|
515 | /**
|
---|
516 | * @return string
|
---|
517 | */
|
---|
518 | public function getProductApplicability()
|
---|
519 | {
|
---|
520 | return $this->productApplicability;
|
---|
521 | }
|
---|
522 | /**
|
---|
523 | * @param string[]
|
---|
524 | */
|
---|
525 | public function setProductType($productType)
|
---|
526 | {
|
---|
527 | $this->productType = $productType;
|
---|
528 | }
|
---|
529 | /**
|
---|
530 | * @return string[]
|
---|
531 | */
|
---|
532 | public function getProductType()
|
---|
533 | {
|
---|
534 | return $this->productType;
|
---|
535 | }
|
---|
536 | /**
|
---|
537 | * @param string[]
|
---|
538 | */
|
---|
539 | public function setProductTypeExclusion($productTypeExclusion)
|
---|
540 | {
|
---|
541 | $this->productTypeExclusion = $productTypeExclusion;
|
---|
542 | }
|
---|
543 | /**
|
---|
544 | * @return string[]
|
---|
545 | */
|
---|
546 | public function getProductTypeExclusion()
|
---|
547 | {
|
---|
548 | return $this->productTypeExclusion;
|
---|
549 | }
|
---|
550 | /**
|
---|
551 | * @param string[]
|
---|
552 | */
|
---|
553 | public function setPromotionDestinationIds($promotionDestinationIds)
|
---|
554 | {
|
---|
555 | $this->promotionDestinationIds = $promotionDestinationIds;
|
---|
556 | }
|
---|
557 | /**
|
---|
558 | * @return string[]
|
---|
559 | */
|
---|
560 | public function getPromotionDestinationIds()
|
---|
561 | {
|
---|
562 | return $this->promotionDestinationIds;
|
---|
563 | }
|
---|
564 | /**
|
---|
565 | * @param string
|
---|
566 | */
|
---|
567 | public function setPromotionDisplayDates($promotionDisplayDates)
|
---|
568 | {
|
---|
569 | $this->promotionDisplayDates = $promotionDisplayDates;
|
---|
570 | }
|
---|
571 | /**
|
---|
572 | * @return string
|
---|
573 | */
|
---|
574 | public function getPromotionDisplayDates()
|
---|
575 | {
|
---|
576 | return $this->promotionDisplayDates;
|
---|
577 | }
|
---|
578 | /**
|
---|
579 | * @param TimePeriod
|
---|
580 | */
|
---|
581 | public function setPromotionDisplayTimePeriod(TimePeriod $promotionDisplayTimePeriod)
|
---|
582 | {
|
---|
583 | $this->promotionDisplayTimePeriod = $promotionDisplayTimePeriod;
|
---|
584 | }
|
---|
585 | /**
|
---|
586 | * @return TimePeriod
|
---|
587 | */
|
---|
588 | public function getPromotionDisplayTimePeriod()
|
---|
589 | {
|
---|
590 | return $this->promotionDisplayTimePeriod;
|
---|
591 | }
|
---|
592 | /**
|
---|
593 | * @param string
|
---|
594 | */
|
---|
595 | public function setPromotionEffectiveDates($promotionEffectiveDates)
|
---|
596 | {
|
---|
597 | $this->promotionEffectiveDates = $promotionEffectiveDates;
|
---|
598 | }
|
---|
599 | /**
|
---|
600 | * @return string
|
---|
601 | */
|
---|
602 | public function getPromotionEffectiveDates()
|
---|
603 | {
|
---|
604 | return $this->promotionEffectiveDates;
|
---|
605 | }
|
---|
606 | /**
|
---|
607 | * @param TimePeriod
|
---|
608 | */
|
---|
609 | public function setPromotionEffectiveTimePeriod(TimePeriod $promotionEffectiveTimePeriod)
|
---|
610 | {
|
---|
611 | $this->promotionEffectiveTimePeriod = $promotionEffectiveTimePeriod;
|
---|
612 | }
|
---|
613 | /**
|
---|
614 | * @return TimePeriod
|
---|
615 | */
|
---|
616 | public function getPromotionEffectiveTimePeriod()
|
---|
617 | {
|
---|
618 | return $this->promotionEffectiveTimePeriod;
|
---|
619 | }
|
---|
620 | /**
|
---|
621 | * @param string
|
---|
622 | */
|
---|
623 | public function setPromotionId($promotionId)
|
---|
624 | {
|
---|
625 | $this->promotionId = $promotionId;
|
---|
626 | }
|
---|
627 | /**
|
---|
628 | * @return string
|
---|
629 | */
|
---|
630 | public function getPromotionId()
|
---|
631 | {
|
---|
632 | return $this->promotionId;
|
---|
633 | }
|
---|
634 | /**
|
---|
635 | * @param PromotionPromotionStatus
|
---|
636 | */
|
---|
637 | public function setPromotionStatus(PromotionPromotionStatus $promotionStatus)
|
---|
638 | {
|
---|
639 | $this->promotionStatus = $promotionStatus;
|
---|
640 | }
|
---|
641 | /**
|
---|
642 | * @return PromotionPromotionStatus
|
---|
643 | */
|
---|
644 | public function getPromotionStatus()
|
---|
645 | {
|
---|
646 | return $this->promotionStatus;
|
---|
647 | }
|
---|
648 | /**
|
---|
649 | * @param string
|
---|
650 | */
|
---|
651 | public function setPromotionUrl($promotionUrl)
|
---|
652 | {
|
---|
653 | $this->promotionUrl = $promotionUrl;
|
---|
654 | }
|
---|
655 | /**
|
---|
656 | * @return string
|
---|
657 | */
|
---|
658 | public function getPromotionUrl()
|
---|
659 | {
|
---|
660 | return $this->promotionUrl;
|
---|
661 | }
|
---|
662 | /**
|
---|
663 | * @param string[]
|
---|
664 | */
|
---|
665 | public function setRedemptionChannel($redemptionChannel)
|
---|
666 | {
|
---|
667 | $this->redemptionChannel = $redemptionChannel;
|
---|
668 | }
|
---|
669 | /**
|
---|
670 | * @return string[]
|
---|
671 | */
|
---|
672 | public function getRedemptionChannel()
|
---|
673 | {
|
---|
674 | return $this->redemptionChannel;
|
---|
675 | }
|
---|
676 | /**
|
---|
677 | * @param string[]
|
---|
678 | */
|
---|
679 | public function setShippingServiceNames($shippingServiceNames)
|
---|
680 | {
|
---|
681 | $this->shippingServiceNames = $shippingServiceNames;
|
---|
682 | }
|
---|
683 | /**
|
---|
684 | * @return string[]
|
---|
685 | */
|
---|
686 | public function getShippingServiceNames()
|
---|
687 | {
|
---|
688 | return $this->shippingServiceNames;
|
---|
689 | }
|
---|
690 | /**
|
---|
691 | * @param string
|
---|
692 | */
|
---|
693 | public function setStoreApplicability($storeApplicability)
|
---|
694 | {
|
---|
695 | $this->storeApplicability = $storeApplicability;
|
---|
696 | }
|
---|
697 | /**
|
---|
698 | * @return string
|
---|
699 | */
|
---|
700 | public function getStoreApplicability()
|
---|
701 | {
|
---|
702 | return $this->storeApplicability;
|
---|
703 | }
|
---|
704 | /**
|
---|
705 | * @param string[]
|
---|
706 | */
|
---|
707 | public function setStoreCode($storeCode)
|
---|
708 | {
|
---|
709 | $this->storeCode = $storeCode;
|
---|
710 | }
|
---|
711 | /**
|
---|
712 | * @return string[]
|
---|
713 | */
|
---|
714 | public function getStoreCode()
|
---|
715 | {
|
---|
716 | return $this->storeCode;
|
---|
717 | }
|
---|
718 | /**
|
---|
719 | * @param string[]
|
---|
720 | */
|
---|
721 | public function setStoreCodeExclusion($storeCodeExclusion)
|
---|
722 | {
|
---|
723 | $this->storeCodeExclusion = $storeCodeExclusion;
|
---|
724 | }
|
---|
725 | /**
|
---|
726 | * @return string[]
|
---|
727 | */
|
---|
728 | public function getStoreCodeExclusion()
|
---|
729 | {
|
---|
730 | return $this->storeCodeExclusion;
|
---|
731 | }
|
---|
732 | /**
|
---|
733 | * @param string
|
---|
734 | */
|
---|
735 | public function setTargetCountry($targetCountry)
|
---|
736 | {
|
---|
737 | $this->targetCountry = $targetCountry;
|
---|
738 | }
|
---|
739 | /**
|
---|
740 | * @return string
|
---|
741 | */
|
---|
742 | public function getTargetCountry()
|
---|
743 | {
|
---|
744 | return $this->targetCountry;
|
---|
745 | }
|
---|
746 | }
|
---|
747 |
|
---|
748 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
749 | class_alias(Promotion::class, 'Google_Service_ShoppingContent_Promotion');
|
---|