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\Merchant;
|
---|
19 |
|
---|
20 | class MerchantReviewAttributes extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $collectionMethod;
|
---|
26 | /**
|
---|
27 | * @var string
|
---|
28 | */
|
---|
29 | public $content;
|
---|
30 | /**
|
---|
31 | * @var bool
|
---|
32 | */
|
---|
33 | public $isAnonymous;
|
---|
34 | /**
|
---|
35 | * @var string
|
---|
36 | */
|
---|
37 | public $maxRating;
|
---|
38 | /**
|
---|
39 | * @var string
|
---|
40 | */
|
---|
41 | public $merchantDisplayName;
|
---|
42 | /**
|
---|
43 | * @var string
|
---|
44 | */
|
---|
45 | public $merchantId;
|
---|
46 | /**
|
---|
47 | * @var string
|
---|
48 | */
|
---|
49 | public $merchantLink;
|
---|
50 | /**
|
---|
51 | * @var string
|
---|
52 | */
|
---|
53 | public $merchantRatingLink;
|
---|
54 | /**
|
---|
55 | * @var string
|
---|
56 | */
|
---|
57 | public $minRating;
|
---|
58 | public $rating;
|
---|
59 | /**
|
---|
60 | * @var string
|
---|
61 | */
|
---|
62 | public $reviewCountry;
|
---|
63 | /**
|
---|
64 | * @var string
|
---|
65 | */
|
---|
66 | public $reviewLanguage;
|
---|
67 | /**
|
---|
68 | * @var string
|
---|
69 | */
|
---|
70 | public $reviewTime;
|
---|
71 | /**
|
---|
72 | * @var string
|
---|
73 | */
|
---|
74 | public $reviewerId;
|
---|
75 | /**
|
---|
76 | * @var string
|
---|
77 | */
|
---|
78 | public $reviewerUsername;
|
---|
79 | /**
|
---|
80 | * @var string
|
---|
81 | */
|
---|
82 | public $title;
|
---|
83 |
|
---|
84 | /**
|
---|
85 | * @param string
|
---|
86 | */
|
---|
87 | public function setCollectionMethod($collectionMethod)
|
---|
88 | {
|
---|
89 | $this->collectionMethod = $collectionMethod;
|
---|
90 | }
|
---|
91 | /**
|
---|
92 | * @return string
|
---|
93 | */
|
---|
94 | public function getCollectionMethod()
|
---|
95 | {
|
---|
96 | return $this->collectionMethod;
|
---|
97 | }
|
---|
98 | /**
|
---|
99 | * @param string
|
---|
100 | */
|
---|
101 | public function setContent($content)
|
---|
102 | {
|
---|
103 | $this->content = $content;
|
---|
104 | }
|
---|
105 | /**
|
---|
106 | * @return string
|
---|
107 | */
|
---|
108 | public function getContent()
|
---|
109 | {
|
---|
110 | return $this->content;
|
---|
111 | }
|
---|
112 | /**
|
---|
113 | * @param bool
|
---|
114 | */
|
---|
115 | public function setIsAnonymous($isAnonymous)
|
---|
116 | {
|
---|
117 | $this->isAnonymous = $isAnonymous;
|
---|
118 | }
|
---|
119 | /**
|
---|
120 | * @return bool
|
---|
121 | */
|
---|
122 | public function getIsAnonymous()
|
---|
123 | {
|
---|
124 | return $this->isAnonymous;
|
---|
125 | }
|
---|
126 | /**
|
---|
127 | * @param string
|
---|
128 | */
|
---|
129 | public function setMaxRating($maxRating)
|
---|
130 | {
|
---|
131 | $this->maxRating = $maxRating;
|
---|
132 | }
|
---|
133 | /**
|
---|
134 | * @return string
|
---|
135 | */
|
---|
136 | public function getMaxRating()
|
---|
137 | {
|
---|
138 | return $this->maxRating;
|
---|
139 | }
|
---|
140 | /**
|
---|
141 | * @param string
|
---|
142 | */
|
---|
143 | public function setMerchantDisplayName($merchantDisplayName)
|
---|
144 | {
|
---|
145 | $this->merchantDisplayName = $merchantDisplayName;
|
---|
146 | }
|
---|
147 | /**
|
---|
148 | * @return string
|
---|
149 | */
|
---|
150 | public function getMerchantDisplayName()
|
---|
151 | {
|
---|
152 | return $this->merchantDisplayName;
|
---|
153 | }
|
---|
154 | /**
|
---|
155 | * @param string
|
---|
156 | */
|
---|
157 | public function setMerchantId($merchantId)
|
---|
158 | {
|
---|
159 | $this->merchantId = $merchantId;
|
---|
160 | }
|
---|
161 | /**
|
---|
162 | * @return string
|
---|
163 | */
|
---|
164 | public function getMerchantId()
|
---|
165 | {
|
---|
166 | return $this->merchantId;
|
---|
167 | }
|
---|
168 | /**
|
---|
169 | * @param string
|
---|
170 | */
|
---|
171 | public function setMerchantLink($merchantLink)
|
---|
172 | {
|
---|
173 | $this->merchantLink = $merchantLink;
|
---|
174 | }
|
---|
175 | /**
|
---|
176 | * @return string
|
---|
177 | */
|
---|
178 | public function getMerchantLink()
|
---|
179 | {
|
---|
180 | return $this->merchantLink;
|
---|
181 | }
|
---|
182 | /**
|
---|
183 | * @param string
|
---|
184 | */
|
---|
185 | public function setMerchantRatingLink($merchantRatingLink)
|
---|
186 | {
|
---|
187 | $this->merchantRatingLink = $merchantRatingLink;
|
---|
188 | }
|
---|
189 | /**
|
---|
190 | * @return string
|
---|
191 | */
|
---|
192 | public function getMerchantRatingLink()
|
---|
193 | {
|
---|
194 | return $this->merchantRatingLink;
|
---|
195 | }
|
---|
196 | /**
|
---|
197 | * @param string
|
---|
198 | */
|
---|
199 | public function setMinRating($minRating)
|
---|
200 | {
|
---|
201 | $this->minRating = $minRating;
|
---|
202 | }
|
---|
203 | /**
|
---|
204 | * @return string
|
---|
205 | */
|
---|
206 | public function getMinRating()
|
---|
207 | {
|
---|
208 | return $this->minRating;
|
---|
209 | }
|
---|
210 | public function setRating($rating)
|
---|
211 | {
|
---|
212 | $this->rating = $rating;
|
---|
213 | }
|
---|
214 | public function getRating()
|
---|
215 | {
|
---|
216 | return $this->rating;
|
---|
217 | }
|
---|
218 | /**
|
---|
219 | * @param string
|
---|
220 | */
|
---|
221 | public function setReviewCountry($reviewCountry)
|
---|
222 | {
|
---|
223 | $this->reviewCountry = $reviewCountry;
|
---|
224 | }
|
---|
225 | /**
|
---|
226 | * @return string
|
---|
227 | */
|
---|
228 | public function getReviewCountry()
|
---|
229 | {
|
---|
230 | return $this->reviewCountry;
|
---|
231 | }
|
---|
232 | /**
|
---|
233 | * @param string
|
---|
234 | */
|
---|
235 | public function setReviewLanguage($reviewLanguage)
|
---|
236 | {
|
---|
237 | $this->reviewLanguage = $reviewLanguage;
|
---|
238 | }
|
---|
239 | /**
|
---|
240 | * @return string
|
---|
241 | */
|
---|
242 | public function getReviewLanguage()
|
---|
243 | {
|
---|
244 | return $this->reviewLanguage;
|
---|
245 | }
|
---|
246 | /**
|
---|
247 | * @param string
|
---|
248 | */
|
---|
249 | public function setReviewTime($reviewTime)
|
---|
250 | {
|
---|
251 | $this->reviewTime = $reviewTime;
|
---|
252 | }
|
---|
253 | /**
|
---|
254 | * @return string
|
---|
255 | */
|
---|
256 | public function getReviewTime()
|
---|
257 | {
|
---|
258 | return $this->reviewTime;
|
---|
259 | }
|
---|
260 | /**
|
---|
261 | * @param string
|
---|
262 | */
|
---|
263 | public function setReviewerId($reviewerId)
|
---|
264 | {
|
---|
265 | $this->reviewerId = $reviewerId;
|
---|
266 | }
|
---|
267 | /**
|
---|
268 | * @return string
|
---|
269 | */
|
---|
270 | public function getReviewerId()
|
---|
271 | {
|
---|
272 | return $this->reviewerId;
|
---|
273 | }
|
---|
274 | /**
|
---|
275 | * @param string
|
---|
276 | */
|
---|
277 | public function setReviewerUsername($reviewerUsername)
|
---|
278 | {
|
---|
279 | $this->reviewerUsername = $reviewerUsername;
|
---|
280 | }
|
---|
281 | /**
|
---|
282 | * @return string
|
---|
283 | */
|
---|
284 | public function getReviewerUsername()
|
---|
285 | {
|
---|
286 | return $this->reviewerUsername;
|
---|
287 | }
|
---|
288 | /**
|
---|
289 | * @param string
|
---|
290 | */
|
---|
291 | public function setTitle($title)
|
---|
292 | {
|
---|
293 | $this->title = $title;
|
---|
294 | }
|
---|
295 | /**
|
---|
296 | * @return string
|
---|
297 | */
|
---|
298 | public function getTitle()
|
---|
299 | {
|
---|
300 | return $this->title;
|
---|
301 | }
|
---|
302 | }
|
---|
303 |
|
---|
304 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
305 | class_alias(MerchantReviewAttributes::class, 'Google_Service_Merchant_MerchantReviewAttributes');
|
---|