source: vendor/google/apiclient-services/src/ManufacturerCenter/Nutrition.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: 14.2 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\ManufacturerCenter;
19
20class Nutrition extends \Google\Collection
21{
22 protected $collection_key = 'voluntaryNutritionFact';
23 protected $addedSugarsType = FloatUnit::class;
24 protected $addedSugarsDataType = '';
25 public $addedSugarsDailyPercentage;
26 protected $calciumType = FloatUnit::class;
27 protected $calciumDataType = '';
28 public $calciumDailyPercentage;
29 protected $cholesterolType = FloatUnit::class;
30 protected $cholesterolDataType = '';
31 public $cholesterolDailyPercentage;
32 protected $dietaryFiberType = FloatUnit::class;
33 protected $dietaryFiberDataType = '';
34 public $dietaryFiberDailyPercentage;
35 protected $energyType = FloatUnit::class;
36 protected $energyDataType = '';
37 protected $energyFromFatType = FloatUnit::class;
38 protected $energyFromFatDataType = '';
39 public $folateDailyPercentage;
40 protected $folateFolicAcidType = FloatUnit::class;
41 protected $folateFolicAcidDataType = '';
42 public $folateMcgDfe;
43 protected $ironType = FloatUnit::class;
44 protected $ironDataType = '';
45 public $ironDailyPercentage;
46 protected $monounsaturatedFatType = FloatUnit::class;
47 protected $monounsaturatedFatDataType = '';
48 /**
49 * @var string
50 */
51 public $nutritionFactMeasure;
52 protected $polyolsType = FloatUnit::class;
53 protected $polyolsDataType = '';
54 protected $polyunsaturatedFatType = FloatUnit::class;
55 protected $polyunsaturatedFatDataType = '';
56 protected $potassiumType = FloatUnit::class;
57 protected $potassiumDataType = '';
58 public $potassiumDailyPercentage;
59 /**
60 * @var string
61 */
62 public $preparedSizeDescription;
63 protected $proteinType = FloatUnit::class;
64 protected $proteinDataType = '';
65 public $proteinDailyPercentage;
66 protected $saturatedFatType = FloatUnit::class;
67 protected $saturatedFatDataType = '';
68 public $saturatedFatDailyPercentage;
69 /**
70 * @var string
71 */
72 public $servingSizeDescription;
73 protected $servingSizeMeasureType = FloatUnit::class;
74 protected $servingSizeMeasureDataType = '';
75 /**
76 * @var string
77 */
78 public $servingsPerContainer;
79 protected $sodiumType = FloatUnit::class;
80 protected $sodiumDataType = '';
81 public $sodiumDailyPercentage;
82 protected $starchType = FloatUnit::class;
83 protected $starchDataType = '';
84 protected $totalCarbohydrateType = FloatUnit::class;
85 protected $totalCarbohydrateDataType = '';
86 public $totalCarbohydrateDailyPercentage;
87 protected $totalFatType = FloatUnit::class;
88 protected $totalFatDataType = '';
89 public $totalFatDailyPercentage;
90 protected $totalSugarsType = FloatUnit::class;
91 protected $totalSugarsDataType = '';
92 public $totalSugarsDailyPercentage;
93 protected $transFatType = FloatUnit::class;
94 protected $transFatDataType = '';
95 public $transFatDailyPercentage;
96 protected $vitaminDType = FloatUnit::class;
97 protected $vitaminDDataType = '';
98 public $vitaminDDailyPercentage;
99 protected $voluntaryNutritionFactType = VoluntaryNutritionFact::class;
100 protected $voluntaryNutritionFactDataType = 'array';
101
102 /**
103 * @param FloatUnit
104 */
105 public function setAddedSugars(FloatUnit $addedSugars)
106 {
107 $this->addedSugars = $addedSugars;
108 }
109 /**
110 * @return FloatUnit
111 */
112 public function getAddedSugars()
113 {
114 return $this->addedSugars;
115 }
116 public function setAddedSugarsDailyPercentage($addedSugarsDailyPercentage)
117 {
118 $this->addedSugarsDailyPercentage = $addedSugarsDailyPercentage;
119 }
120 public function getAddedSugarsDailyPercentage()
121 {
122 return $this->addedSugarsDailyPercentage;
123 }
124 /**
125 * @param FloatUnit
126 */
127 public function setCalcium(FloatUnit $calcium)
128 {
129 $this->calcium = $calcium;
130 }
131 /**
132 * @return FloatUnit
133 */
134 public function getCalcium()
135 {
136 return $this->calcium;
137 }
138 public function setCalciumDailyPercentage($calciumDailyPercentage)
139 {
140 $this->calciumDailyPercentage = $calciumDailyPercentage;
141 }
142 public function getCalciumDailyPercentage()
143 {
144 return $this->calciumDailyPercentage;
145 }
146 /**
147 * @param FloatUnit
148 */
149 public function setCholesterol(FloatUnit $cholesterol)
150 {
151 $this->cholesterol = $cholesterol;
152 }
153 /**
154 * @return FloatUnit
155 */
156 public function getCholesterol()
157 {
158 return $this->cholesterol;
159 }
160 public function setCholesterolDailyPercentage($cholesterolDailyPercentage)
161 {
162 $this->cholesterolDailyPercentage = $cholesterolDailyPercentage;
163 }
164 public function getCholesterolDailyPercentage()
165 {
166 return $this->cholesterolDailyPercentage;
167 }
168 /**
169 * @param FloatUnit
170 */
171 public function setDietaryFiber(FloatUnit $dietaryFiber)
172 {
173 $this->dietaryFiber = $dietaryFiber;
174 }
175 /**
176 * @return FloatUnit
177 */
178 public function getDietaryFiber()
179 {
180 return $this->dietaryFiber;
181 }
182 public function setDietaryFiberDailyPercentage($dietaryFiberDailyPercentage)
183 {
184 $this->dietaryFiberDailyPercentage = $dietaryFiberDailyPercentage;
185 }
186 public function getDietaryFiberDailyPercentage()
187 {
188 return $this->dietaryFiberDailyPercentage;
189 }
190 /**
191 * @param FloatUnit
192 */
193 public function setEnergy(FloatUnit $energy)
194 {
195 $this->energy = $energy;
196 }
197 /**
198 * @return FloatUnit
199 */
200 public function getEnergy()
201 {
202 return $this->energy;
203 }
204 /**
205 * @param FloatUnit
206 */
207 public function setEnergyFromFat(FloatUnit $energyFromFat)
208 {
209 $this->energyFromFat = $energyFromFat;
210 }
211 /**
212 * @return FloatUnit
213 */
214 public function getEnergyFromFat()
215 {
216 return $this->energyFromFat;
217 }
218 public function setFolateDailyPercentage($folateDailyPercentage)
219 {
220 $this->folateDailyPercentage = $folateDailyPercentage;
221 }
222 public function getFolateDailyPercentage()
223 {
224 return $this->folateDailyPercentage;
225 }
226 /**
227 * @param FloatUnit
228 */
229 public function setFolateFolicAcid(FloatUnit $folateFolicAcid)
230 {
231 $this->folateFolicAcid = $folateFolicAcid;
232 }
233 /**
234 * @return FloatUnit
235 */
236 public function getFolateFolicAcid()
237 {
238 return $this->folateFolicAcid;
239 }
240 public function setFolateMcgDfe($folateMcgDfe)
241 {
242 $this->folateMcgDfe = $folateMcgDfe;
243 }
244 public function getFolateMcgDfe()
245 {
246 return $this->folateMcgDfe;
247 }
248 /**
249 * @param FloatUnit
250 */
251 public function setIron(FloatUnit $iron)
252 {
253 $this->iron = $iron;
254 }
255 /**
256 * @return FloatUnit
257 */
258 public function getIron()
259 {
260 return $this->iron;
261 }
262 public function setIronDailyPercentage($ironDailyPercentage)
263 {
264 $this->ironDailyPercentage = $ironDailyPercentage;
265 }
266 public function getIronDailyPercentage()
267 {
268 return $this->ironDailyPercentage;
269 }
270 /**
271 * @param FloatUnit
272 */
273 public function setMonounsaturatedFat(FloatUnit $monounsaturatedFat)
274 {
275 $this->monounsaturatedFat = $monounsaturatedFat;
276 }
277 /**
278 * @return FloatUnit
279 */
280 public function getMonounsaturatedFat()
281 {
282 return $this->monounsaturatedFat;
283 }
284 /**
285 * @param string
286 */
287 public function setNutritionFactMeasure($nutritionFactMeasure)
288 {
289 $this->nutritionFactMeasure = $nutritionFactMeasure;
290 }
291 /**
292 * @return string
293 */
294 public function getNutritionFactMeasure()
295 {
296 return $this->nutritionFactMeasure;
297 }
298 /**
299 * @param FloatUnit
300 */
301 public function setPolyols(FloatUnit $polyols)
302 {
303 $this->polyols = $polyols;
304 }
305 /**
306 * @return FloatUnit
307 */
308 public function getPolyols()
309 {
310 return $this->polyols;
311 }
312 /**
313 * @param FloatUnit
314 */
315 public function setPolyunsaturatedFat(FloatUnit $polyunsaturatedFat)
316 {
317 $this->polyunsaturatedFat = $polyunsaturatedFat;
318 }
319 /**
320 * @return FloatUnit
321 */
322 public function getPolyunsaturatedFat()
323 {
324 return $this->polyunsaturatedFat;
325 }
326 /**
327 * @param FloatUnit
328 */
329 public function setPotassium(FloatUnit $potassium)
330 {
331 $this->potassium = $potassium;
332 }
333 /**
334 * @return FloatUnit
335 */
336 public function getPotassium()
337 {
338 return $this->potassium;
339 }
340 public function setPotassiumDailyPercentage($potassiumDailyPercentage)
341 {
342 $this->potassiumDailyPercentage = $potassiumDailyPercentage;
343 }
344 public function getPotassiumDailyPercentage()
345 {
346 return $this->potassiumDailyPercentage;
347 }
348 /**
349 * @param string
350 */
351 public function setPreparedSizeDescription($preparedSizeDescription)
352 {
353 $this->preparedSizeDescription = $preparedSizeDescription;
354 }
355 /**
356 * @return string
357 */
358 public function getPreparedSizeDescription()
359 {
360 return $this->preparedSizeDescription;
361 }
362 /**
363 * @param FloatUnit
364 */
365 public function setProtein(FloatUnit $protein)
366 {
367 $this->protein = $protein;
368 }
369 /**
370 * @return FloatUnit
371 */
372 public function getProtein()
373 {
374 return $this->protein;
375 }
376 public function setProteinDailyPercentage($proteinDailyPercentage)
377 {
378 $this->proteinDailyPercentage = $proteinDailyPercentage;
379 }
380 public function getProteinDailyPercentage()
381 {
382 return $this->proteinDailyPercentage;
383 }
384 /**
385 * @param FloatUnit
386 */
387 public function setSaturatedFat(FloatUnit $saturatedFat)
388 {
389 $this->saturatedFat = $saturatedFat;
390 }
391 /**
392 * @return FloatUnit
393 */
394 public function getSaturatedFat()
395 {
396 return $this->saturatedFat;
397 }
398 public function setSaturatedFatDailyPercentage($saturatedFatDailyPercentage)
399 {
400 $this->saturatedFatDailyPercentage = $saturatedFatDailyPercentage;
401 }
402 public function getSaturatedFatDailyPercentage()
403 {
404 return $this->saturatedFatDailyPercentage;
405 }
406 /**
407 * @param string
408 */
409 public function setServingSizeDescription($servingSizeDescription)
410 {
411 $this->servingSizeDescription = $servingSizeDescription;
412 }
413 /**
414 * @return string
415 */
416 public function getServingSizeDescription()
417 {
418 return $this->servingSizeDescription;
419 }
420 /**
421 * @param FloatUnit
422 */
423 public function setServingSizeMeasure(FloatUnit $servingSizeMeasure)
424 {
425 $this->servingSizeMeasure = $servingSizeMeasure;
426 }
427 /**
428 * @return FloatUnit
429 */
430 public function getServingSizeMeasure()
431 {
432 return $this->servingSizeMeasure;
433 }
434 /**
435 * @param string
436 */
437 public function setServingsPerContainer($servingsPerContainer)
438 {
439 $this->servingsPerContainer = $servingsPerContainer;
440 }
441 /**
442 * @return string
443 */
444 public function getServingsPerContainer()
445 {
446 return $this->servingsPerContainer;
447 }
448 /**
449 * @param FloatUnit
450 */
451 public function setSodium(FloatUnit $sodium)
452 {
453 $this->sodium = $sodium;
454 }
455 /**
456 * @return FloatUnit
457 */
458 public function getSodium()
459 {
460 return $this->sodium;
461 }
462 public function setSodiumDailyPercentage($sodiumDailyPercentage)
463 {
464 $this->sodiumDailyPercentage = $sodiumDailyPercentage;
465 }
466 public function getSodiumDailyPercentage()
467 {
468 return $this->sodiumDailyPercentage;
469 }
470 /**
471 * @param FloatUnit
472 */
473 public function setStarch(FloatUnit $starch)
474 {
475 $this->starch = $starch;
476 }
477 /**
478 * @return FloatUnit
479 */
480 public function getStarch()
481 {
482 return $this->starch;
483 }
484 /**
485 * @param FloatUnit
486 */
487 public function setTotalCarbohydrate(FloatUnit $totalCarbohydrate)
488 {
489 $this->totalCarbohydrate = $totalCarbohydrate;
490 }
491 /**
492 * @return FloatUnit
493 */
494 public function getTotalCarbohydrate()
495 {
496 return $this->totalCarbohydrate;
497 }
498 public function setTotalCarbohydrateDailyPercentage($totalCarbohydrateDailyPercentage)
499 {
500 $this->totalCarbohydrateDailyPercentage = $totalCarbohydrateDailyPercentage;
501 }
502 public function getTotalCarbohydrateDailyPercentage()
503 {
504 return $this->totalCarbohydrateDailyPercentage;
505 }
506 /**
507 * @param FloatUnit
508 */
509 public function setTotalFat(FloatUnit $totalFat)
510 {
511 $this->totalFat = $totalFat;
512 }
513 /**
514 * @return FloatUnit
515 */
516 public function getTotalFat()
517 {
518 return $this->totalFat;
519 }
520 public function setTotalFatDailyPercentage($totalFatDailyPercentage)
521 {
522 $this->totalFatDailyPercentage = $totalFatDailyPercentage;
523 }
524 public function getTotalFatDailyPercentage()
525 {
526 return $this->totalFatDailyPercentage;
527 }
528 /**
529 * @param FloatUnit
530 */
531 public function setTotalSugars(FloatUnit $totalSugars)
532 {
533 $this->totalSugars = $totalSugars;
534 }
535 /**
536 * @return FloatUnit
537 */
538 public function getTotalSugars()
539 {
540 return $this->totalSugars;
541 }
542 public function setTotalSugarsDailyPercentage($totalSugarsDailyPercentage)
543 {
544 $this->totalSugarsDailyPercentage = $totalSugarsDailyPercentage;
545 }
546 public function getTotalSugarsDailyPercentage()
547 {
548 return $this->totalSugarsDailyPercentage;
549 }
550 /**
551 * @param FloatUnit
552 */
553 public function setTransFat(FloatUnit $transFat)
554 {
555 $this->transFat = $transFat;
556 }
557 /**
558 * @return FloatUnit
559 */
560 public function getTransFat()
561 {
562 return $this->transFat;
563 }
564 public function setTransFatDailyPercentage($transFatDailyPercentage)
565 {
566 $this->transFatDailyPercentage = $transFatDailyPercentage;
567 }
568 public function getTransFatDailyPercentage()
569 {
570 return $this->transFatDailyPercentage;
571 }
572 /**
573 * @param FloatUnit
574 */
575 public function setVitaminD(FloatUnit $vitaminD)
576 {
577 $this->vitaminD = $vitaminD;
578 }
579 /**
580 * @return FloatUnit
581 */
582 public function getVitaminD()
583 {
584 return $this->vitaminD;
585 }
586 public function setVitaminDDailyPercentage($vitaminDDailyPercentage)
587 {
588 $this->vitaminDDailyPercentage = $vitaminDDailyPercentage;
589 }
590 public function getVitaminDDailyPercentage()
591 {
592 return $this->vitaminDDailyPercentage;
593 }
594 /**
595 * @param VoluntaryNutritionFact[]
596 */
597 public function setVoluntaryNutritionFact($voluntaryNutritionFact)
598 {
599 $this->voluntaryNutritionFact = $voluntaryNutritionFact;
600 }
601 /**
602 * @return VoluntaryNutritionFact[]
603 */
604 public function getVoluntaryNutritionFact()
605 {
606 return $this->voluntaryNutritionFact;
607 }
608}
609
610// Adding a class alias for backwards compatibility with the previous class name.
611class_alias(Nutrition::class, 'Google_Service_ManufacturerCenter_Nutrition');
Note: See TracBrowser for help on using the repository browser.