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 Metrics extends \Google\Model
|
---|
21 | {
|
---|
22 | public $aos;
|
---|
23 | public $aovMicros;
|
---|
24 | /**
|
---|
25 | * @var string
|
---|
26 | */
|
---|
27 | public $clicks;
|
---|
28 | public $conversionRate;
|
---|
29 | /**
|
---|
30 | * @var string
|
---|
31 | */
|
---|
32 | public $conversionValueMicros;
|
---|
33 | public $conversions;
|
---|
34 | public $ctr;
|
---|
35 | public $daysToShip;
|
---|
36 | /**
|
---|
37 | * @var string
|
---|
38 | */
|
---|
39 | public $impressions;
|
---|
40 | public $itemDaysToShip;
|
---|
41 | public $itemFillRate;
|
---|
42 | /**
|
---|
43 | * @var string
|
---|
44 | */
|
---|
45 | public $orderedItemSalesMicros;
|
---|
46 | /**
|
---|
47 | * @var string
|
---|
48 | */
|
---|
49 | public $orderedItems;
|
---|
50 | /**
|
---|
51 | * @var string
|
---|
52 | */
|
---|
53 | public $orders;
|
---|
54 | /**
|
---|
55 | * @var string
|
---|
56 | */
|
---|
57 | public $rejectedItems;
|
---|
58 | public $returnRate;
|
---|
59 | /**
|
---|
60 | * @var string
|
---|
61 | */
|
---|
62 | public $returnedItems;
|
---|
63 | /**
|
---|
64 | * @var string
|
---|
65 | */
|
---|
66 | public $returnsMicros;
|
---|
67 | /**
|
---|
68 | * @var string
|
---|
69 | */
|
---|
70 | public $shippedItemSalesMicros;
|
---|
71 | /**
|
---|
72 | * @var string
|
---|
73 | */
|
---|
74 | public $shippedItems;
|
---|
75 | /**
|
---|
76 | * @var string
|
---|
77 | */
|
---|
78 | public $shippedOrders;
|
---|
79 | public $unshippedItems;
|
---|
80 | public $unshippedOrders;
|
---|
81 |
|
---|
82 | public function setAos($aos)
|
---|
83 | {
|
---|
84 | $this->aos = $aos;
|
---|
85 | }
|
---|
86 | public function getAos()
|
---|
87 | {
|
---|
88 | return $this->aos;
|
---|
89 | }
|
---|
90 | public function setAovMicros($aovMicros)
|
---|
91 | {
|
---|
92 | $this->aovMicros = $aovMicros;
|
---|
93 | }
|
---|
94 | public function getAovMicros()
|
---|
95 | {
|
---|
96 | return $this->aovMicros;
|
---|
97 | }
|
---|
98 | /**
|
---|
99 | * @param string
|
---|
100 | */
|
---|
101 | public function setClicks($clicks)
|
---|
102 | {
|
---|
103 | $this->clicks = $clicks;
|
---|
104 | }
|
---|
105 | /**
|
---|
106 | * @return string
|
---|
107 | */
|
---|
108 | public function getClicks()
|
---|
109 | {
|
---|
110 | return $this->clicks;
|
---|
111 | }
|
---|
112 | public function setConversionRate($conversionRate)
|
---|
113 | {
|
---|
114 | $this->conversionRate = $conversionRate;
|
---|
115 | }
|
---|
116 | public function getConversionRate()
|
---|
117 | {
|
---|
118 | return $this->conversionRate;
|
---|
119 | }
|
---|
120 | /**
|
---|
121 | * @param string
|
---|
122 | */
|
---|
123 | public function setConversionValueMicros($conversionValueMicros)
|
---|
124 | {
|
---|
125 | $this->conversionValueMicros = $conversionValueMicros;
|
---|
126 | }
|
---|
127 | /**
|
---|
128 | * @return string
|
---|
129 | */
|
---|
130 | public function getConversionValueMicros()
|
---|
131 | {
|
---|
132 | return $this->conversionValueMicros;
|
---|
133 | }
|
---|
134 | public function setConversions($conversions)
|
---|
135 | {
|
---|
136 | $this->conversions = $conversions;
|
---|
137 | }
|
---|
138 | public function getConversions()
|
---|
139 | {
|
---|
140 | return $this->conversions;
|
---|
141 | }
|
---|
142 | public function setCtr($ctr)
|
---|
143 | {
|
---|
144 | $this->ctr = $ctr;
|
---|
145 | }
|
---|
146 | public function getCtr()
|
---|
147 | {
|
---|
148 | return $this->ctr;
|
---|
149 | }
|
---|
150 | public function setDaysToShip($daysToShip)
|
---|
151 | {
|
---|
152 | $this->daysToShip = $daysToShip;
|
---|
153 | }
|
---|
154 | public function getDaysToShip()
|
---|
155 | {
|
---|
156 | return $this->daysToShip;
|
---|
157 | }
|
---|
158 | /**
|
---|
159 | * @param string
|
---|
160 | */
|
---|
161 | public function setImpressions($impressions)
|
---|
162 | {
|
---|
163 | $this->impressions = $impressions;
|
---|
164 | }
|
---|
165 | /**
|
---|
166 | * @return string
|
---|
167 | */
|
---|
168 | public function getImpressions()
|
---|
169 | {
|
---|
170 | return $this->impressions;
|
---|
171 | }
|
---|
172 | public function setItemDaysToShip($itemDaysToShip)
|
---|
173 | {
|
---|
174 | $this->itemDaysToShip = $itemDaysToShip;
|
---|
175 | }
|
---|
176 | public function getItemDaysToShip()
|
---|
177 | {
|
---|
178 | return $this->itemDaysToShip;
|
---|
179 | }
|
---|
180 | public function setItemFillRate($itemFillRate)
|
---|
181 | {
|
---|
182 | $this->itemFillRate = $itemFillRate;
|
---|
183 | }
|
---|
184 | public function getItemFillRate()
|
---|
185 | {
|
---|
186 | return $this->itemFillRate;
|
---|
187 | }
|
---|
188 | /**
|
---|
189 | * @param string
|
---|
190 | */
|
---|
191 | public function setOrderedItemSalesMicros($orderedItemSalesMicros)
|
---|
192 | {
|
---|
193 | $this->orderedItemSalesMicros = $orderedItemSalesMicros;
|
---|
194 | }
|
---|
195 | /**
|
---|
196 | * @return string
|
---|
197 | */
|
---|
198 | public function getOrderedItemSalesMicros()
|
---|
199 | {
|
---|
200 | return $this->orderedItemSalesMicros;
|
---|
201 | }
|
---|
202 | /**
|
---|
203 | * @param string
|
---|
204 | */
|
---|
205 | public function setOrderedItems($orderedItems)
|
---|
206 | {
|
---|
207 | $this->orderedItems = $orderedItems;
|
---|
208 | }
|
---|
209 | /**
|
---|
210 | * @return string
|
---|
211 | */
|
---|
212 | public function getOrderedItems()
|
---|
213 | {
|
---|
214 | return $this->orderedItems;
|
---|
215 | }
|
---|
216 | /**
|
---|
217 | * @param string
|
---|
218 | */
|
---|
219 | public function setOrders($orders)
|
---|
220 | {
|
---|
221 | $this->orders = $orders;
|
---|
222 | }
|
---|
223 | /**
|
---|
224 | * @return string
|
---|
225 | */
|
---|
226 | public function getOrders()
|
---|
227 | {
|
---|
228 | return $this->orders;
|
---|
229 | }
|
---|
230 | /**
|
---|
231 | * @param string
|
---|
232 | */
|
---|
233 | public function setRejectedItems($rejectedItems)
|
---|
234 | {
|
---|
235 | $this->rejectedItems = $rejectedItems;
|
---|
236 | }
|
---|
237 | /**
|
---|
238 | * @return string
|
---|
239 | */
|
---|
240 | public function getRejectedItems()
|
---|
241 | {
|
---|
242 | return $this->rejectedItems;
|
---|
243 | }
|
---|
244 | public function setReturnRate($returnRate)
|
---|
245 | {
|
---|
246 | $this->returnRate = $returnRate;
|
---|
247 | }
|
---|
248 | public function getReturnRate()
|
---|
249 | {
|
---|
250 | return $this->returnRate;
|
---|
251 | }
|
---|
252 | /**
|
---|
253 | * @param string
|
---|
254 | */
|
---|
255 | public function setReturnedItems($returnedItems)
|
---|
256 | {
|
---|
257 | $this->returnedItems = $returnedItems;
|
---|
258 | }
|
---|
259 | /**
|
---|
260 | * @return string
|
---|
261 | */
|
---|
262 | public function getReturnedItems()
|
---|
263 | {
|
---|
264 | return $this->returnedItems;
|
---|
265 | }
|
---|
266 | /**
|
---|
267 | * @param string
|
---|
268 | */
|
---|
269 | public function setReturnsMicros($returnsMicros)
|
---|
270 | {
|
---|
271 | $this->returnsMicros = $returnsMicros;
|
---|
272 | }
|
---|
273 | /**
|
---|
274 | * @return string
|
---|
275 | */
|
---|
276 | public function getReturnsMicros()
|
---|
277 | {
|
---|
278 | return $this->returnsMicros;
|
---|
279 | }
|
---|
280 | /**
|
---|
281 | * @param string
|
---|
282 | */
|
---|
283 | public function setShippedItemSalesMicros($shippedItemSalesMicros)
|
---|
284 | {
|
---|
285 | $this->shippedItemSalesMicros = $shippedItemSalesMicros;
|
---|
286 | }
|
---|
287 | /**
|
---|
288 | * @return string
|
---|
289 | */
|
---|
290 | public function getShippedItemSalesMicros()
|
---|
291 | {
|
---|
292 | return $this->shippedItemSalesMicros;
|
---|
293 | }
|
---|
294 | /**
|
---|
295 | * @param string
|
---|
296 | */
|
---|
297 | public function setShippedItems($shippedItems)
|
---|
298 | {
|
---|
299 | $this->shippedItems = $shippedItems;
|
---|
300 | }
|
---|
301 | /**
|
---|
302 | * @return string
|
---|
303 | */
|
---|
304 | public function getShippedItems()
|
---|
305 | {
|
---|
306 | return $this->shippedItems;
|
---|
307 | }
|
---|
308 | /**
|
---|
309 | * @param string
|
---|
310 | */
|
---|
311 | public function setShippedOrders($shippedOrders)
|
---|
312 | {
|
---|
313 | $this->shippedOrders = $shippedOrders;
|
---|
314 | }
|
---|
315 | /**
|
---|
316 | * @return string
|
---|
317 | */
|
---|
318 | public function getShippedOrders()
|
---|
319 | {
|
---|
320 | return $this->shippedOrders;
|
---|
321 | }
|
---|
322 | public function setUnshippedItems($unshippedItems)
|
---|
323 | {
|
---|
324 | $this->unshippedItems = $unshippedItems;
|
---|
325 | }
|
---|
326 | public function getUnshippedItems()
|
---|
327 | {
|
---|
328 | return $this->unshippedItems;
|
---|
329 | }
|
---|
330 | public function setUnshippedOrders($unshippedOrders)
|
---|
331 | {
|
---|
332 | $this->unshippedOrders = $unshippedOrders;
|
---|
333 | }
|
---|
334 | public function getUnshippedOrders()
|
---|
335 | {
|
---|
336 | return $this->unshippedOrders;
|
---|
337 | }
|
---|
338 | }
|
---|
339 |
|
---|
340 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
341 | class_alias(Metrics::class, 'Google_Service_ShoppingContent_Metrics');
|
---|