source: vendor/google/apiclient-services/src/ShoppingContent/RepricingRuleEligibleOfferMatcher.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 3.3 KB
Line 
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 RepricingRuleEligibleOfferMatcher extends \Google\Model
21{
22 /**
23 * @var RepricingRuleEligibleOfferMatcherStringMatcher
24 */
25 public $brandMatcher;
26 protected $brandMatcherType = RepricingRuleEligibleOfferMatcherStringMatcher::class;
27 protected $brandMatcherDataType = '';
28 /**
29 * @var RepricingRuleEligibleOfferMatcherStringMatcher
30 */
31 public $itemGroupIdMatcher;
32 protected $itemGroupIdMatcherType = RepricingRuleEligibleOfferMatcherStringMatcher::class;
33 protected $itemGroupIdMatcherDataType = '';
34 /**
35 * @var string
36 */
37 public $matcherOption;
38 /**
39 * @var RepricingRuleEligibleOfferMatcherStringMatcher
40 */
41 public $offerIdMatcher;
42 protected $offerIdMatcherType = RepricingRuleEligibleOfferMatcherStringMatcher::class;
43 protected $offerIdMatcherDataType = '';
44 /**
45 * @var bool
46 */
47 public $skipWhenOnPromotion;
48
49 /**
50 * @param RepricingRuleEligibleOfferMatcherStringMatcher
51 */
52 public function setBrandMatcher(RepricingRuleEligibleOfferMatcherStringMatcher $brandMatcher)
53 {
54 $this->brandMatcher = $brandMatcher;
55 }
56 /**
57 * @return RepricingRuleEligibleOfferMatcherStringMatcher
58 */
59 public function getBrandMatcher()
60 {
61 return $this->brandMatcher;
62 }
63 /**
64 * @param RepricingRuleEligibleOfferMatcherStringMatcher
65 */
66 public function setItemGroupIdMatcher(RepricingRuleEligibleOfferMatcherStringMatcher $itemGroupIdMatcher)
67 {
68 $this->itemGroupIdMatcher = $itemGroupIdMatcher;
69 }
70 /**
71 * @return RepricingRuleEligibleOfferMatcherStringMatcher
72 */
73 public function getItemGroupIdMatcher()
74 {
75 return $this->itemGroupIdMatcher;
76 }
77 /**
78 * @param string
79 */
80 public function setMatcherOption($matcherOption)
81 {
82 $this->matcherOption = $matcherOption;
83 }
84 /**
85 * @return string
86 */
87 public function getMatcherOption()
88 {
89 return $this->matcherOption;
90 }
91 /**
92 * @param RepricingRuleEligibleOfferMatcherStringMatcher
93 */
94 public function setOfferIdMatcher(RepricingRuleEligibleOfferMatcherStringMatcher $offerIdMatcher)
95 {
96 $this->offerIdMatcher = $offerIdMatcher;
97 }
98 /**
99 * @return RepricingRuleEligibleOfferMatcherStringMatcher
100 */
101 public function getOfferIdMatcher()
102 {
103 return $this->offerIdMatcher;
104 }
105 /**
106 * @param bool
107 */
108 public function setSkipWhenOnPromotion($skipWhenOnPromotion)
109 {
110 $this->skipWhenOnPromotion = $skipWhenOnPromotion;
111 }
112 /**
113 * @return bool
114 */
115 public function getSkipWhenOnPromotion()
116 {
117 return $this->skipWhenOnPromotion;
118 }
119}
120
121// Adding a class alias for backwards compatibility with the previous class name.
122class_alias(RepricingRuleEligibleOfferMatcher::class, 'Google_Service_ShoppingContent_RepricingRuleEligibleOfferMatcher');
Note: See TracBrowser for help on using the repository browser.