[e3d4e0a] | 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 ProductReviewAttributes extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'skus';
|
---|
| 23 | /**
|
---|
| 24 | * @var string
|
---|
| 25 | */
|
---|
| 26 | public $aggregatorName;
|
---|
| 27 | /**
|
---|
| 28 | * @var string[]
|
---|
| 29 | */
|
---|
| 30 | public $asins;
|
---|
| 31 | /**
|
---|
| 32 | * @var string[]
|
---|
| 33 | */
|
---|
| 34 | public $brands;
|
---|
| 35 | /**
|
---|
| 36 | * @var string
|
---|
| 37 | */
|
---|
| 38 | public $collectionMethod;
|
---|
| 39 | /**
|
---|
| 40 | * @var string[]
|
---|
| 41 | */
|
---|
| 42 | public $cons;
|
---|
| 43 | /**
|
---|
| 44 | * @var string
|
---|
| 45 | */
|
---|
| 46 | public $content;
|
---|
| 47 | /**
|
---|
| 48 | * @var string[]
|
---|
| 49 | */
|
---|
| 50 | public $gtins;
|
---|
| 51 | /**
|
---|
| 52 | * @var bool
|
---|
| 53 | */
|
---|
| 54 | public $isSpam;
|
---|
| 55 | /**
|
---|
| 56 | * @var string
|
---|
| 57 | */
|
---|
| 58 | public $maxRating;
|
---|
| 59 | /**
|
---|
| 60 | * @var string
|
---|
| 61 | */
|
---|
| 62 | public $minRating;
|
---|
| 63 | /**
|
---|
| 64 | * @var string[]
|
---|
| 65 | */
|
---|
| 66 | public $mpns;
|
---|
| 67 | /**
|
---|
| 68 | * @var string[]
|
---|
| 69 | */
|
---|
| 70 | public $productLinks;
|
---|
| 71 | /**
|
---|
| 72 | * @var string[]
|
---|
| 73 | */
|
---|
| 74 | public $productNames;
|
---|
| 75 | /**
|
---|
| 76 | * @var string[]
|
---|
| 77 | */
|
---|
| 78 | public $pros;
|
---|
| 79 | /**
|
---|
| 80 | * @var string
|
---|
| 81 | */
|
---|
| 82 | public $publisherFavicon;
|
---|
| 83 | /**
|
---|
| 84 | * @var string
|
---|
| 85 | */
|
---|
| 86 | public $publisherName;
|
---|
| 87 | public $rating;
|
---|
| 88 | /**
|
---|
| 89 | * @var string
|
---|
| 90 | */
|
---|
| 91 | public $reviewCountry;
|
---|
| 92 | /**
|
---|
| 93 | * @var string
|
---|
| 94 | */
|
---|
| 95 | public $reviewLanguage;
|
---|
| 96 | protected $reviewLinkType = ReviewLink::class;
|
---|
| 97 | protected $reviewLinkDataType = '';
|
---|
| 98 | /**
|
---|
| 99 | * @var string
|
---|
| 100 | */
|
---|
| 101 | public $reviewTime;
|
---|
| 102 | /**
|
---|
| 103 | * @var string
|
---|
| 104 | */
|
---|
| 105 | public $reviewerId;
|
---|
| 106 | /**
|
---|
| 107 | * @var string[]
|
---|
| 108 | */
|
---|
| 109 | public $reviewerImageLinks;
|
---|
| 110 | /**
|
---|
| 111 | * @var bool
|
---|
| 112 | */
|
---|
| 113 | public $reviewerIsAnonymous;
|
---|
| 114 | /**
|
---|
| 115 | * @var string
|
---|
| 116 | */
|
---|
| 117 | public $reviewerUsername;
|
---|
| 118 | /**
|
---|
| 119 | * @var string[]
|
---|
| 120 | */
|
---|
| 121 | public $skus;
|
---|
| 122 | /**
|
---|
| 123 | * @var string
|
---|
| 124 | */
|
---|
| 125 | public $subclientName;
|
---|
| 126 | /**
|
---|
| 127 | * @var string
|
---|
| 128 | */
|
---|
| 129 | public $title;
|
---|
| 130 | /**
|
---|
| 131 | * @var string
|
---|
| 132 | */
|
---|
| 133 | public $transactionId;
|
---|
| 134 |
|
---|
| 135 | /**
|
---|
| 136 | * @param string
|
---|
| 137 | */
|
---|
| 138 | public function setAggregatorName($aggregatorName)
|
---|
| 139 | {
|
---|
| 140 | $this->aggregatorName = $aggregatorName;
|
---|
| 141 | }
|
---|
| 142 | /**
|
---|
| 143 | * @return string
|
---|
| 144 | */
|
---|
| 145 | public function getAggregatorName()
|
---|
| 146 | {
|
---|
| 147 | return $this->aggregatorName;
|
---|
| 148 | }
|
---|
| 149 | /**
|
---|
| 150 | * @param string[]
|
---|
| 151 | */
|
---|
| 152 | public function setAsins($asins)
|
---|
| 153 | {
|
---|
| 154 | $this->asins = $asins;
|
---|
| 155 | }
|
---|
| 156 | /**
|
---|
| 157 | * @return string[]
|
---|
| 158 | */
|
---|
| 159 | public function getAsins()
|
---|
| 160 | {
|
---|
| 161 | return $this->asins;
|
---|
| 162 | }
|
---|
| 163 | /**
|
---|
| 164 | * @param string[]
|
---|
| 165 | */
|
---|
| 166 | public function setBrands($brands)
|
---|
| 167 | {
|
---|
| 168 | $this->brands = $brands;
|
---|
| 169 | }
|
---|
| 170 | /**
|
---|
| 171 | * @return string[]
|
---|
| 172 | */
|
---|
| 173 | public function getBrands()
|
---|
| 174 | {
|
---|
| 175 | return $this->brands;
|
---|
| 176 | }
|
---|
| 177 | /**
|
---|
| 178 | * @param string
|
---|
| 179 | */
|
---|
| 180 | public function setCollectionMethod($collectionMethod)
|
---|
| 181 | {
|
---|
| 182 | $this->collectionMethod = $collectionMethod;
|
---|
| 183 | }
|
---|
| 184 | /**
|
---|
| 185 | * @return string
|
---|
| 186 | */
|
---|
| 187 | public function getCollectionMethod()
|
---|
| 188 | {
|
---|
| 189 | return $this->collectionMethod;
|
---|
| 190 | }
|
---|
| 191 | /**
|
---|
| 192 | * @param string[]
|
---|
| 193 | */
|
---|
| 194 | public function setCons($cons)
|
---|
| 195 | {
|
---|
| 196 | $this->cons = $cons;
|
---|
| 197 | }
|
---|
| 198 | /**
|
---|
| 199 | * @return string[]
|
---|
| 200 | */
|
---|
| 201 | public function getCons()
|
---|
| 202 | {
|
---|
| 203 | return $this->cons;
|
---|
| 204 | }
|
---|
| 205 | /**
|
---|
| 206 | * @param string
|
---|
| 207 | */
|
---|
| 208 | public function setContent($content)
|
---|
| 209 | {
|
---|
| 210 | $this->content = $content;
|
---|
| 211 | }
|
---|
| 212 | /**
|
---|
| 213 | * @return string
|
---|
| 214 | */
|
---|
| 215 | public function getContent()
|
---|
| 216 | {
|
---|
| 217 | return $this->content;
|
---|
| 218 | }
|
---|
| 219 | /**
|
---|
| 220 | * @param string[]
|
---|
| 221 | */
|
---|
| 222 | public function setGtins($gtins)
|
---|
| 223 | {
|
---|
| 224 | $this->gtins = $gtins;
|
---|
| 225 | }
|
---|
| 226 | /**
|
---|
| 227 | * @return string[]
|
---|
| 228 | */
|
---|
| 229 | public function getGtins()
|
---|
| 230 | {
|
---|
| 231 | return $this->gtins;
|
---|
| 232 | }
|
---|
| 233 | /**
|
---|
| 234 | * @param bool
|
---|
| 235 | */
|
---|
| 236 | public function setIsSpam($isSpam)
|
---|
| 237 | {
|
---|
| 238 | $this->isSpam = $isSpam;
|
---|
| 239 | }
|
---|
| 240 | /**
|
---|
| 241 | * @return bool
|
---|
| 242 | */
|
---|
| 243 | public function getIsSpam()
|
---|
| 244 | {
|
---|
| 245 | return $this->isSpam;
|
---|
| 246 | }
|
---|
| 247 | /**
|
---|
| 248 | * @param string
|
---|
| 249 | */
|
---|
| 250 | public function setMaxRating($maxRating)
|
---|
| 251 | {
|
---|
| 252 | $this->maxRating = $maxRating;
|
---|
| 253 | }
|
---|
| 254 | /**
|
---|
| 255 | * @return string
|
---|
| 256 | */
|
---|
| 257 | public function getMaxRating()
|
---|
| 258 | {
|
---|
| 259 | return $this->maxRating;
|
---|
| 260 | }
|
---|
| 261 | /**
|
---|
| 262 | * @param string
|
---|
| 263 | */
|
---|
| 264 | public function setMinRating($minRating)
|
---|
| 265 | {
|
---|
| 266 | $this->minRating = $minRating;
|
---|
| 267 | }
|
---|
| 268 | /**
|
---|
| 269 | * @return string
|
---|
| 270 | */
|
---|
| 271 | public function getMinRating()
|
---|
| 272 | {
|
---|
| 273 | return $this->minRating;
|
---|
| 274 | }
|
---|
| 275 | /**
|
---|
| 276 | * @param string[]
|
---|
| 277 | */
|
---|
| 278 | public function setMpns($mpns)
|
---|
| 279 | {
|
---|
| 280 | $this->mpns = $mpns;
|
---|
| 281 | }
|
---|
| 282 | /**
|
---|
| 283 | * @return string[]
|
---|
| 284 | */
|
---|
| 285 | public function getMpns()
|
---|
| 286 | {
|
---|
| 287 | return $this->mpns;
|
---|
| 288 | }
|
---|
| 289 | /**
|
---|
| 290 | * @param string[]
|
---|
| 291 | */
|
---|
| 292 | public function setProductLinks($productLinks)
|
---|
| 293 | {
|
---|
| 294 | $this->productLinks = $productLinks;
|
---|
| 295 | }
|
---|
| 296 | /**
|
---|
| 297 | * @return string[]
|
---|
| 298 | */
|
---|
| 299 | public function getProductLinks()
|
---|
| 300 | {
|
---|
| 301 | return $this->productLinks;
|
---|
| 302 | }
|
---|
| 303 | /**
|
---|
| 304 | * @param string[]
|
---|
| 305 | */
|
---|
| 306 | public function setProductNames($productNames)
|
---|
| 307 | {
|
---|
| 308 | $this->productNames = $productNames;
|
---|
| 309 | }
|
---|
| 310 | /**
|
---|
| 311 | * @return string[]
|
---|
| 312 | */
|
---|
| 313 | public function getProductNames()
|
---|
| 314 | {
|
---|
| 315 | return $this->productNames;
|
---|
| 316 | }
|
---|
| 317 | /**
|
---|
| 318 | * @param string[]
|
---|
| 319 | */
|
---|
| 320 | public function setPros($pros)
|
---|
| 321 | {
|
---|
| 322 | $this->pros = $pros;
|
---|
| 323 | }
|
---|
| 324 | /**
|
---|
| 325 | * @return string[]
|
---|
| 326 | */
|
---|
| 327 | public function getPros()
|
---|
| 328 | {
|
---|
| 329 | return $this->pros;
|
---|
| 330 | }
|
---|
| 331 | /**
|
---|
| 332 | * @param string
|
---|
| 333 | */
|
---|
| 334 | public function setPublisherFavicon($publisherFavicon)
|
---|
| 335 | {
|
---|
| 336 | $this->publisherFavicon = $publisherFavicon;
|
---|
| 337 | }
|
---|
| 338 | /**
|
---|
| 339 | * @return string
|
---|
| 340 | */
|
---|
| 341 | public function getPublisherFavicon()
|
---|
| 342 | {
|
---|
| 343 | return $this->publisherFavicon;
|
---|
| 344 | }
|
---|
| 345 | /**
|
---|
| 346 | * @param string
|
---|
| 347 | */
|
---|
| 348 | public function setPublisherName($publisherName)
|
---|
| 349 | {
|
---|
| 350 | $this->publisherName = $publisherName;
|
---|
| 351 | }
|
---|
| 352 | /**
|
---|
| 353 | * @return string
|
---|
| 354 | */
|
---|
| 355 | public function getPublisherName()
|
---|
| 356 | {
|
---|
| 357 | return $this->publisherName;
|
---|
| 358 | }
|
---|
| 359 | public function setRating($rating)
|
---|
| 360 | {
|
---|
| 361 | $this->rating = $rating;
|
---|
| 362 | }
|
---|
| 363 | public function getRating()
|
---|
| 364 | {
|
---|
| 365 | return $this->rating;
|
---|
| 366 | }
|
---|
| 367 | /**
|
---|
| 368 | * @param string
|
---|
| 369 | */
|
---|
| 370 | public function setReviewCountry($reviewCountry)
|
---|
| 371 | {
|
---|
| 372 | $this->reviewCountry = $reviewCountry;
|
---|
| 373 | }
|
---|
| 374 | /**
|
---|
| 375 | * @return string
|
---|
| 376 | */
|
---|
| 377 | public function getReviewCountry()
|
---|
| 378 | {
|
---|
| 379 | return $this->reviewCountry;
|
---|
| 380 | }
|
---|
| 381 | /**
|
---|
| 382 | * @param string
|
---|
| 383 | */
|
---|
| 384 | public function setReviewLanguage($reviewLanguage)
|
---|
| 385 | {
|
---|
| 386 | $this->reviewLanguage = $reviewLanguage;
|
---|
| 387 | }
|
---|
| 388 | /**
|
---|
| 389 | * @return string
|
---|
| 390 | */
|
---|
| 391 | public function getReviewLanguage()
|
---|
| 392 | {
|
---|
| 393 | return $this->reviewLanguage;
|
---|
| 394 | }
|
---|
| 395 | /**
|
---|
| 396 | * @param ReviewLink
|
---|
| 397 | */
|
---|
| 398 | public function setReviewLink(ReviewLink $reviewLink)
|
---|
| 399 | {
|
---|
| 400 | $this->reviewLink = $reviewLink;
|
---|
| 401 | }
|
---|
| 402 | /**
|
---|
| 403 | * @return ReviewLink
|
---|
| 404 | */
|
---|
| 405 | public function getReviewLink()
|
---|
| 406 | {
|
---|
| 407 | return $this->reviewLink;
|
---|
| 408 | }
|
---|
| 409 | /**
|
---|
| 410 | * @param string
|
---|
| 411 | */
|
---|
| 412 | public function setReviewTime($reviewTime)
|
---|
| 413 | {
|
---|
| 414 | $this->reviewTime = $reviewTime;
|
---|
| 415 | }
|
---|
| 416 | /**
|
---|
| 417 | * @return string
|
---|
| 418 | */
|
---|
| 419 | public function getReviewTime()
|
---|
| 420 | {
|
---|
| 421 | return $this->reviewTime;
|
---|
| 422 | }
|
---|
| 423 | /**
|
---|
| 424 | * @param string
|
---|
| 425 | */
|
---|
| 426 | public function setReviewerId($reviewerId)
|
---|
| 427 | {
|
---|
| 428 | $this->reviewerId = $reviewerId;
|
---|
| 429 | }
|
---|
| 430 | /**
|
---|
| 431 | * @return string
|
---|
| 432 | */
|
---|
| 433 | public function getReviewerId()
|
---|
| 434 | {
|
---|
| 435 | return $this->reviewerId;
|
---|
| 436 | }
|
---|
| 437 | /**
|
---|
| 438 | * @param string[]
|
---|
| 439 | */
|
---|
| 440 | public function setReviewerImageLinks($reviewerImageLinks)
|
---|
| 441 | {
|
---|
| 442 | $this->reviewerImageLinks = $reviewerImageLinks;
|
---|
| 443 | }
|
---|
| 444 | /**
|
---|
| 445 | * @return string[]
|
---|
| 446 | */
|
---|
| 447 | public function getReviewerImageLinks()
|
---|
| 448 | {
|
---|
| 449 | return $this->reviewerImageLinks;
|
---|
| 450 | }
|
---|
| 451 | /**
|
---|
| 452 | * @param bool
|
---|
| 453 | */
|
---|
| 454 | public function setReviewerIsAnonymous($reviewerIsAnonymous)
|
---|
| 455 | {
|
---|
| 456 | $this->reviewerIsAnonymous = $reviewerIsAnonymous;
|
---|
| 457 | }
|
---|
| 458 | /**
|
---|
| 459 | * @return bool
|
---|
| 460 | */
|
---|
| 461 | public function getReviewerIsAnonymous()
|
---|
| 462 | {
|
---|
| 463 | return $this->reviewerIsAnonymous;
|
---|
| 464 | }
|
---|
| 465 | /**
|
---|
| 466 | * @param string
|
---|
| 467 | */
|
---|
| 468 | public function setReviewerUsername($reviewerUsername)
|
---|
| 469 | {
|
---|
| 470 | $this->reviewerUsername = $reviewerUsername;
|
---|
| 471 | }
|
---|
| 472 | /**
|
---|
| 473 | * @return string
|
---|
| 474 | */
|
---|
| 475 | public function getReviewerUsername()
|
---|
| 476 | {
|
---|
| 477 | return $this->reviewerUsername;
|
---|
| 478 | }
|
---|
| 479 | /**
|
---|
| 480 | * @param string[]
|
---|
| 481 | */
|
---|
| 482 | public function setSkus($skus)
|
---|
| 483 | {
|
---|
| 484 | $this->skus = $skus;
|
---|
| 485 | }
|
---|
| 486 | /**
|
---|
| 487 | * @return string[]
|
---|
| 488 | */
|
---|
| 489 | public function getSkus()
|
---|
| 490 | {
|
---|
| 491 | return $this->skus;
|
---|
| 492 | }
|
---|
| 493 | /**
|
---|
| 494 | * @param string
|
---|
| 495 | */
|
---|
| 496 | public function setSubclientName($subclientName)
|
---|
| 497 | {
|
---|
| 498 | $this->subclientName = $subclientName;
|
---|
| 499 | }
|
---|
| 500 | /**
|
---|
| 501 | * @return string
|
---|
| 502 | */
|
---|
| 503 | public function getSubclientName()
|
---|
| 504 | {
|
---|
| 505 | return $this->subclientName;
|
---|
| 506 | }
|
---|
| 507 | /**
|
---|
| 508 | * @param string
|
---|
| 509 | */
|
---|
| 510 | public function setTitle($title)
|
---|
| 511 | {
|
---|
| 512 | $this->title = $title;
|
---|
| 513 | }
|
---|
| 514 | /**
|
---|
| 515 | * @return string
|
---|
| 516 | */
|
---|
| 517 | public function getTitle()
|
---|
| 518 | {
|
---|
| 519 | return $this->title;
|
---|
| 520 | }
|
---|
| 521 | /**
|
---|
| 522 | * @param string
|
---|
| 523 | */
|
---|
| 524 | public function setTransactionId($transactionId)
|
---|
| 525 | {
|
---|
| 526 | $this->transactionId = $transactionId;
|
---|
| 527 | }
|
---|
| 528 | /**
|
---|
| 529 | * @return string
|
---|
| 530 | */
|
---|
| 531 | public function getTransactionId()
|
---|
| 532 | {
|
---|
| 533 | return $this->transactionId;
|
---|
| 534 | }
|
---|
| 535 | }
|
---|
| 536 |
|
---|
| 537 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 538 | class_alias(ProductReviewAttributes::class, 'Google_Service_Merchant_ProductReviewAttributes');
|
---|