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\ManufacturerCenter;
|
---|
19 |
|
---|
20 | class Grocery extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'nutritionClaim';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $activeIngredients;
|
---|
27 | public $alcoholByVolume;
|
---|
28 | /**
|
---|
29 | * @var string
|
---|
30 | */
|
---|
31 | public $allergens;
|
---|
32 | /**
|
---|
33 | * @var string[]
|
---|
34 | */
|
---|
35 | public $derivedNutritionClaim;
|
---|
36 | /**
|
---|
37 | * @var string
|
---|
38 | */
|
---|
39 | public $directions;
|
---|
40 | /**
|
---|
41 | * @var string
|
---|
42 | */
|
---|
43 | public $indications;
|
---|
44 | /**
|
---|
45 | * @var string
|
---|
46 | */
|
---|
47 | public $ingredients;
|
---|
48 | /**
|
---|
49 | * @var string[]
|
---|
50 | */
|
---|
51 | public $nutritionClaim;
|
---|
52 | /**
|
---|
53 | * @var string
|
---|
54 | */
|
---|
55 | public $storageInstructions;
|
---|
56 |
|
---|
57 | /**
|
---|
58 | * @param string
|
---|
59 | */
|
---|
60 | public function setActiveIngredients($activeIngredients)
|
---|
61 | {
|
---|
62 | $this->activeIngredients = $activeIngredients;
|
---|
63 | }
|
---|
64 | /**
|
---|
65 | * @return string
|
---|
66 | */
|
---|
67 | public function getActiveIngredients()
|
---|
68 | {
|
---|
69 | return $this->activeIngredients;
|
---|
70 | }
|
---|
71 | public function setAlcoholByVolume($alcoholByVolume)
|
---|
72 | {
|
---|
73 | $this->alcoholByVolume = $alcoholByVolume;
|
---|
74 | }
|
---|
75 | public function getAlcoholByVolume()
|
---|
76 | {
|
---|
77 | return $this->alcoholByVolume;
|
---|
78 | }
|
---|
79 | /**
|
---|
80 | * @param string
|
---|
81 | */
|
---|
82 | public function setAllergens($allergens)
|
---|
83 | {
|
---|
84 | $this->allergens = $allergens;
|
---|
85 | }
|
---|
86 | /**
|
---|
87 | * @return string
|
---|
88 | */
|
---|
89 | public function getAllergens()
|
---|
90 | {
|
---|
91 | return $this->allergens;
|
---|
92 | }
|
---|
93 | /**
|
---|
94 | * @param string[]
|
---|
95 | */
|
---|
96 | public function setDerivedNutritionClaim($derivedNutritionClaim)
|
---|
97 | {
|
---|
98 | $this->derivedNutritionClaim = $derivedNutritionClaim;
|
---|
99 | }
|
---|
100 | /**
|
---|
101 | * @return string[]
|
---|
102 | */
|
---|
103 | public function getDerivedNutritionClaim()
|
---|
104 | {
|
---|
105 | return $this->derivedNutritionClaim;
|
---|
106 | }
|
---|
107 | /**
|
---|
108 | * @param string
|
---|
109 | */
|
---|
110 | public function setDirections($directions)
|
---|
111 | {
|
---|
112 | $this->directions = $directions;
|
---|
113 | }
|
---|
114 | /**
|
---|
115 | * @return string
|
---|
116 | */
|
---|
117 | public function getDirections()
|
---|
118 | {
|
---|
119 | return $this->directions;
|
---|
120 | }
|
---|
121 | /**
|
---|
122 | * @param string
|
---|
123 | */
|
---|
124 | public function setIndications($indications)
|
---|
125 | {
|
---|
126 | $this->indications = $indications;
|
---|
127 | }
|
---|
128 | /**
|
---|
129 | * @return string
|
---|
130 | */
|
---|
131 | public function getIndications()
|
---|
132 | {
|
---|
133 | return $this->indications;
|
---|
134 | }
|
---|
135 | /**
|
---|
136 | * @param string
|
---|
137 | */
|
---|
138 | public function setIngredients($ingredients)
|
---|
139 | {
|
---|
140 | $this->ingredients = $ingredients;
|
---|
141 | }
|
---|
142 | /**
|
---|
143 | * @return string
|
---|
144 | */
|
---|
145 | public function getIngredients()
|
---|
146 | {
|
---|
147 | return $this->ingredients;
|
---|
148 | }
|
---|
149 | /**
|
---|
150 | * @param string[]
|
---|
151 | */
|
---|
152 | public function setNutritionClaim($nutritionClaim)
|
---|
153 | {
|
---|
154 | $this->nutritionClaim = $nutritionClaim;
|
---|
155 | }
|
---|
156 | /**
|
---|
157 | * @return string[]
|
---|
158 | */
|
---|
159 | public function getNutritionClaim()
|
---|
160 | {
|
---|
161 | return $this->nutritionClaim;
|
---|
162 | }
|
---|
163 | /**
|
---|
164 | * @param string
|
---|
165 | */
|
---|
166 | public function setStorageInstructions($storageInstructions)
|
---|
167 | {
|
---|
168 | $this->storageInstructions = $storageInstructions;
|
---|
169 | }
|
---|
170 | /**
|
---|
171 | * @return string
|
---|
172 | */
|
---|
173 | public function getStorageInstructions()
|
---|
174 | {
|
---|
175 | return $this->storageInstructions;
|
---|
176 | }
|
---|
177 | }
|
---|
178 |
|
---|
179 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
180 | class_alias(Grocery::class, 'Google_Service_ManufacturerCenter_Grocery');
|
---|