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 RepricingRuleReport extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'inapplicableProducts';
|
---|
23 | /**
|
---|
24 | * @var RepricingRuleReportBuyboxWinningRuleStats
|
---|
25 | */
|
---|
26 | public $buyboxWinningRuleStats;
|
---|
27 | protected $buyboxWinningRuleStatsType = RepricingRuleReportBuyboxWinningRuleStats::class;
|
---|
28 | protected $buyboxWinningRuleStatsDataType = '';
|
---|
29 | /**
|
---|
30 | * @var Date
|
---|
31 | */
|
---|
32 | public $date;
|
---|
33 | protected $dateType = Date::class;
|
---|
34 | protected $dateDataType = '';
|
---|
35 | /**
|
---|
36 | * @var string[]
|
---|
37 | */
|
---|
38 | public $impactedProducts;
|
---|
39 | /**
|
---|
40 | * @var InapplicabilityDetails[]
|
---|
41 | */
|
---|
42 | public $inapplicabilityDetails;
|
---|
43 | protected $inapplicabilityDetailsType = InapplicabilityDetails::class;
|
---|
44 | protected $inapplicabilityDetailsDataType = 'array';
|
---|
45 | /**
|
---|
46 | * @var string[]
|
---|
47 | */
|
---|
48 | public $inapplicableProducts;
|
---|
49 | /**
|
---|
50 | * @var int
|
---|
51 | */
|
---|
52 | public $orderItemCount;
|
---|
53 | /**
|
---|
54 | * @var string
|
---|
55 | */
|
---|
56 | public $ruleId;
|
---|
57 | /**
|
---|
58 | * @var PriceAmount
|
---|
59 | */
|
---|
60 | public $totalGmv;
|
---|
61 | protected $totalGmvType = PriceAmount::class;
|
---|
62 | protected $totalGmvDataType = '';
|
---|
63 | /**
|
---|
64 | * @var string
|
---|
65 | */
|
---|
66 | public $type;
|
---|
67 |
|
---|
68 | /**
|
---|
69 | * @param RepricingRuleReportBuyboxWinningRuleStats
|
---|
70 | */
|
---|
71 | public function setBuyboxWinningRuleStats(RepricingRuleReportBuyboxWinningRuleStats $buyboxWinningRuleStats)
|
---|
72 | {
|
---|
73 | $this->buyboxWinningRuleStats = $buyboxWinningRuleStats;
|
---|
74 | }
|
---|
75 | /**
|
---|
76 | * @return RepricingRuleReportBuyboxWinningRuleStats
|
---|
77 | */
|
---|
78 | public function getBuyboxWinningRuleStats()
|
---|
79 | {
|
---|
80 | return $this->buyboxWinningRuleStats;
|
---|
81 | }
|
---|
82 | /**
|
---|
83 | * @param Date
|
---|
84 | */
|
---|
85 | public function setDate(Date $date)
|
---|
86 | {
|
---|
87 | $this->date = $date;
|
---|
88 | }
|
---|
89 | /**
|
---|
90 | * @return Date
|
---|
91 | */
|
---|
92 | public function getDate()
|
---|
93 | {
|
---|
94 | return $this->date;
|
---|
95 | }
|
---|
96 | /**
|
---|
97 | * @param string[]
|
---|
98 | */
|
---|
99 | public function setImpactedProducts($impactedProducts)
|
---|
100 | {
|
---|
101 | $this->impactedProducts = $impactedProducts;
|
---|
102 | }
|
---|
103 | /**
|
---|
104 | * @return string[]
|
---|
105 | */
|
---|
106 | public function getImpactedProducts()
|
---|
107 | {
|
---|
108 | return $this->impactedProducts;
|
---|
109 | }
|
---|
110 | /**
|
---|
111 | * @param InapplicabilityDetails[]
|
---|
112 | */
|
---|
113 | public function setInapplicabilityDetails($inapplicabilityDetails)
|
---|
114 | {
|
---|
115 | $this->inapplicabilityDetails = $inapplicabilityDetails;
|
---|
116 | }
|
---|
117 | /**
|
---|
118 | * @return InapplicabilityDetails[]
|
---|
119 | */
|
---|
120 | public function getInapplicabilityDetails()
|
---|
121 | {
|
---|
122 | return $this->inapplicabilityDetails;
|
---|
123 | }
|
---|
124 | /**
|
---|
125 | * @param string[]
|
---|
126 | */
|
---|
127 | public function setInapplicableProducts($inapplicableProducts)
|
---|
128 | {
|
---|
129 | $this->inapplicableProducts = $inapplicableProducts;
|
---|
130 | }
|
---|
131 | /**
|
---|
132 | * @return string[]
|
---|
133 | */
|
---|
134 | public function getInapplicableProducts()
|
---|
135 | {
|
---|
136 | return $this->inapplicableProducts;
|
---|
137 | }
|
---|
138 | /**
|
---|
139 | * @param int
|
---|
140 | */
|
---|
141 | public function setOrderItemCount($orderItemCount)
|
---|
142 | {
|
---|
143 | $this->orderItemCount = $orderItemCount;
|
---|
144 | }
|
---|
145 | /**
|
---|
146 | * @return int
|
---|
147 | */
|
---|
148 | public function getOrderItemCount()
|
---|
149 | {
|
---|
150 | return $this->orderItemCount;
|
---|
151 | }
|
---|
152 | /**
|
---|
153 | * @param string
|
---|
154 | */
|
---|
155 | public function setRuleId($ruleId)
|
---|
156 | {
|
---|
157 | $this->ruleId = $ruleId;
|
---|
158 | }
|
---|
159 | /**
|
---|
160 | * @return string
|
---|
161 | */
|
---|
162 | public function getRuleId()
|
---|
163 | {
|
---|
164 | return $this->ruleId;
|
---|
165 | }
|
---|
166 | /**
|
---|
167 | * @param PriceAmount
|
---|
168 | */
|
---|
169 | public function setTotalGmv(PriceAmount $totalGmv)
|
---|
170 | {
|
---|
171 | $this->totalGmv = $totalGmv;
|
---|
172 | }
|
---|
173 | /**
|
---|
174 | * @return PriceAmount
|
---|
175 | */
|
---|
176 | public function getTotalGmv()
|
---|
177 | {
|
---|
178 | return $this->totalGmv;
|
---|
179 | }
|
---|
180 | /**
|
---|
181 | * @param string
|
---|
182 | */
|
---|
183 | public function setType($type)
|
---|
184 | {
|
---|
185 | $this->type = $type;
|
---|
186 | }
|
---|
187 | /**
|
---|
188 | * @return string
|
---|
189 | */
|
---|
190 | public function getType()
|
---|
191 | {
|
---|
192 | return $this->type;
|
---|
193 | }
|
---|
194 | }
|
---|
195 |
|
---|
196 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
197 | class_alias(RepricingRuleReport::class, 'Google_Service_ShoppingContent_RepricingRuleReport');
|
---|