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\ShoppingContent; 19 20class Product extends \Google\Collection 21{ 22 protected $collection_key = 'taxes'; 23 /** 24 * @var string[] 25 */ 26 public $additionalImageLinks; 27 /** 28 * @var string 29 */ 30 public $additionalSizeType; 31 /** 32 * @var string 33 */ 34 public $adsGrouping; 35 /** 36 * @var string[] 37 */ 38 public $adsLabels; 39 /** 40 * @var string 41 */ 42 public $adsRedirect; 43 /** 44 * @var bool 45 */ 46 public $adult; 47 /** 48 * @var string 49 */ 50 public $ageGroup; 51 /** 52 * @var string 53 */ 54 public $availability; 55 /** 56 * @var string 57 */ 58 public $availabilityDate; 59 /** 60 * @var string 61 */ 62 public $brand; 63 /** 64 * @var string 65 */ 66 public $canonicalLink; 67 /** 68 * @var string 69 */ 70 public $channel; 71 /** 72 * @var string 73 */ 74 public $color; 75 /** 76 * @var string 77 */ 78 public $condition; 79 /** 80 * @var string 81 */ 82 public $contentLanguage; 83 protected $costOfGoodsSoldType = Price::class; 84 protected $costOfGoodsSoldDataType = ''; 85 protected $customAttributesType = CustomAttribute::class; 86 protected $customAttributesDataType = 'array'; 87 /** 88 * @var string 89 */ 90 public $customLabel0; 91 /** 92 * @var string 93 */ 94 public $customLabel1; 95 /** 96 * @var string 97 */ 98 public $customLabel2; 99 /** 100 * @var string 101 */ 102 public $customLabel3; 103 /** 104 * @var string 105 */ 106 public $customLabel4; 107 /** 108 * @var string 109 */ 110 public $description; 111 /** 112 * @var string 113 */ 114 public $displayAdsId; 115 /** 116 * @var string 117 */ 118 public $displayAdsLink; 119 /** 120 * @var string[] 121 */ 122 public $displayAdsSimilarIds; 123 /** 124 * @var string 125 */ 126 public $displayAdsTitle; 127 public $displayAdsValue; 128 /** 129 * @var string 130 */ 131 public $energyEfficiencyClass; 132 /** 133 * @var string[] 134 */ 135 public $excludedDestinations; 136 /** 137 * @var string 138 */ 139 public $expirationDate; 140 /** 141 * @var string 142 */ 143 public $externalSellerId; 144 /** 145 * @var string 146 */ 147 public $gender; 148 /** 149 * @var string 150 */ 151 public $googleProductCategory; 152 /** 153 * @var string 154 */ 155 public $gtin; 156 /** 157 * @var string 158 */ 159 public $id; 160 /** 161 * @var bool 162 */ 163 public $identifierExists; 164 /** 165 * @var string 166 */ 167 public $imageLink; 168 /** 169 * @var string[] 170 */ 171 public $includedDestinations; 172 protected $installmentType = Installment::class; 173 protected $installmentDataType = ''; 174 /** 175 * @var bool 176 */ 177 public $isBundle; 178 /** 179 * @var string 180 */ 181 public $itemGroupId; 182 /** 183 * @var string 184 */ 185 public $kind; 186 /** 187 * @var string 188 */ 189 public $link; 190 /** 191 * @var string 192 */ 193 public $linkTemplate; 194 protected $loyaltyPointsType = LoyaltyPoints::class; 195 protected $loyaltyPointsDataType = ''; 196 /** 197 * @var string 198 */ 199 public $material; 200 /** 201 * @var string 202 */ 203 public $maxEnergyEfficiencyClass; 204 /** 205 * @var string 206 */ 207 public $maxHandlingTime; 208 /** 209 * @var string 210 */ 211 public $minEnergyEfficiencyClass; 212 /** 213 * @var string 214 */ 215 public $minHandlingTime; 216 /** 217 * @var string 218 */ 219 public $mobileLink; 220 /** 221 * @var string 222 */ 223 public $mobileLinkTemplate; 224 /** 225 * @var string 226 */ 227 public $mpn; 228 /** 229 * @var string 230 */ 231 public $multipack; 232 /** 233 * @var string 234 */ 235 public $offerId; 236 /** 237 * @var string 238 */ 239 public $pattern; 240 /** 241 * @var string 242 */ 243 public $pickupMethod; 244 /** 245 * @var string 246 */ 247 public $pickupSla; 248 protected $priceType = Price::class; 249 protected $priceDataType = ''; 250 protected $productDetailsType = ProductProductDetail::class; 251 protected $productDetailsDataType = 'array'; 252 protected $productHeightType = ProductDimension::class; 253 protected $productHeightDataType = ''; 254 /** 255 * @var string[] 256 */ 257 public $productHighlights; 258 protected $productLengthType = ProductDimension::class; 259 protected $productLengthDataType = ''; 260 /** 261 * @var string[] 262 */ 263 public $productTypes; 264 protected $productWeightType = ProductWeight::class; 265 protected $productWeightDataType = ''; 266 protected $productWidthType = ProductDimension::class; 267 protected $productWidthDataType = ''; 268 /** 269 * @var string[] 270 */ 271 public $promotionIds; 272 protected $salePriceType = Price::class; 273 protected $salePriceDataType = ''; 274 /** 275 * @var string 276 */ 277 public $salePriceEffectiveDate; 278 /** 279 * @var string 280 */ 281 public $sellOnGoogleQuantity; 282 protected $shippingType = ProductShipping::class; 283 protected $shippingDataType = 'array'; 284 protected $shippingHeightType = ProductShippingDimension::class; 285 protected $shippingHeightDataType = ''; 286 /** 287 * @var string 288 */ 289 public $shippingLabel; 290 protected $shippingLengthType = ProductShippingDimension::class; 291 protected $shippingLengthDataType = ''; 292 protected $shippingWeightType = ProductShippingWeight::class; 293 protected $shippingWeightDataType = ''; 294 protected $shippingWidthType = ProductShippingDimension::class; 295 protected $shippingWidthDataType = ''; 296 /** 297 * @var string[] 298 */ 299 public $shoppingAdsExcludedCountries; 300 /** 301 * @var string 302 */ 303 public $sizeSystem; 304 /** 305 * @var string 306 */ 307 public $sizeType; 308 /** 309 * @var string[] 310 */ 311 public $sizes; 312 /** 313 * @var string 314 */ 315 public $source; 316 protected $subscriptionCostType = ProductSubscriptionCost::class; 317 protected $subscriptionCostDataType = ''; 318 /** 319 * @var string 320 */ 321 public $targetCountry; 322 /** 323 * @var string 324 */ 325 public $taxCategory; 326 protected $taxesType = ProductTax::class; 327 protected $taxesDataType = 'array'; 328 /** 329 * @var string 330 */ 331 public $title; 332 /** 333 * @var string 334 */ 335 public $transitTimeLabel; 336 protected $unitPricingBaseMeasureType = ProductUnitPricingBaseMeasure::class; 337 protected $unitPricingBaseMeasureDataType = ''; 338 protected $unitPricingMeasureType = ProductUnitPricingMeasure::class; 339 protected $unitPricingMeasureDataType = ''; 340 341 /** 342 * @param string[] 343 */ 344 public function setAdditionalImageLinks($additionalImageLinks) 345 { 346 $this->additionalImageLinks = $additionalImageLinks; 347 } 348 /** 349 * @return string[] 350 */ 351 public function getAdditionalImageLinks() 352 { 353 return $this->additionalImageLinks; 354 } 355 /** 356 * @param string 357 */ 358 public function setAdditionalSizeType($additionalSizeType) 359 { 360 $this->additionalSizeType = $additionalSizeType; 361 } 362 /** 363 * @return string 364 */ 365 public function getAdditionalSizeType() 366 { 367 return $this->additionalSizeType; 368 } 369 /** 370 * @param string 371 */ 372 public function setAdsGrouping($adsGrouping) 373 { 374 $this->adsGrouping = $adsGrouping; 375 } 376 /** 377 * @return string 378 */ 379 public function getAdsGrouping() 380 { 381 return $this->adsGrouping; 382 } 383 /** 384 * @param string[] 385 */ 386 public function setAdsLabels($adsLabels) 387 { 388 $this->adsLabels = $adsLabels; 389 } 390 /** 391 * @return string[] 392 */ 393 public function getAdsLabels() 394 { 395 return $this->adsLabels; 396 } 397 /** 398 * @param string 399 */ 400 public function setAdsRedirect($adsRedirect) 401 { 402 $this->adsRedirect = $adsRedirect; 403 } 404 /** 405 * @return string 406 */ 407 public function getAdsRedirect() 408 { 409 return $this->adsRedirect; 410 } 411 /** 412 * @param bool 413 */ 414 public function setAdult($adult) 415 { 416 $this->adult = $adult; 417 } 418 /** 419 * @return bool 420 */ 421 public function getAdult() 422 { 423 return $this->adult; 424 } 425 /** 426 * @param string 427 */ 428 public function setAgeGroup($ageGroup) 429 { 430 $this->ageGroup = $ageGroup; 431 } 432 /** 433 * @return string 434 */ 435 public function getAgeGroup() 436 { 437 return $this->ageGroup; 438 } 439 /** 440 * @param string 441 */ 442 public function setAvailability($availability) 443 { 444 $this->availability = $availability; 445 } 446 /** 447 * @return string 448 */ 449 public function getAvailability() 450 { 451 return $this->availability; 452 } 453 /** 454 * @param string 455 */ 456 public function setAvailabilityDate($availabilityDate) 457 { 458 $this->availabilityDate = $availabilityDate; 459 } 460 /** 461 * @return string 462 */ 463 public function getAvailabilityDate() 464 { 465 return $this->availabilityDate; 466 } 467 /** 468 * @param string 469 */ 470 public function setBrand($brand) 471 { 472 $this->brand = $brand; 473 } 474 /** 475 * @return string 476 */ 477 public function getBrand() 478 { 479 return $this->brand; 480 } 481 /** 482 * @param string 483 */ 484 public function setCanonicalLink($canonicalLink) 485 { 486 $this->canonicalLink = $canonicalLink; 487 } 488 /** 489 * @return string 490 */ 491 public function getCanonicalLink() 492 { 493 return $this->canonicalLink; 494 } 495 /** 496 * @param string 497 */ 498 public function setChannel($channel) 499 { 500 $this->channel = $channel; 501 } 502 /** 503 * @return string 504 */ 505 public function getChannel() 506 { 507 return $this->channel; 508 } 509 /** 510 * @param string 511 */ 512 public function setColor($color) 513 { 514 $this->color = $color; 515 } 516 /** 517 * @return string 518 */ 519 public function getColor() 520 { 521 return $this->color; 522 } 523 /** 524 * @param string 525 */ 526 public function setCondition($condition) 527 { 528 $this->condition = $condition; 529 } 530 /** 531 * @return string 532 */ 533 public function getCondition() 534 { 535 return $this->condition; 536 } 537 /** 538 * @param string 539 */ 540 public function setContentLanguage($contentLanguage) 541 { 542 $this->contentLanguage = $contentLanguage; 543 } 544 /** 545 * @return string 546 */ 547 public function getContentLanguage() 548 { 549 return $this->contentLanguage; 550 } 551 /** 552 * @param Price 553 */ 554 public function setCostOfGoodsSold(Price $costOfGoodsSold) 555 { 556 $this->costOfGoodsSold = $costOfGoodsSold; 557 } 558 /** 559 * @return Price 560 */ 561 public function getCostOfGoodsSold() 562 { 563 return $this->costOfGoodsSold; 564 } 565 /** 566 * @param CustomAttribute[] 567 */ 568 public function setCustomAttributes($customAttributes) 569 { 570 $this->customAttributes = $customAttributes; 571 } 572 /** 573 * @return CustomAttribute[] 574 */ 575 public function getCustomAttributes() 576 { 577 return $this->customAttributes; 578 } 579 /** 580 * @param string 581 */ 582 public function setCustomLabel0($customLabel0) 583 { 584 $this->customLabel0 = $customLabel0; 585 } 586 /** 587 * @return string 588 */ 589 public function getCustomLabel0() 590 { 591 return $this->customLabel0; 592 } 593 /** 594 * @param string 595 */ 596 public function setCustomLabel1($customLabel1) 597 { 598 $this->customLabel1 = $customLabel1; 599 } 600 /** 601 * @return string 602 */ 603 public function getCustomLabel1() 604 { 605 return $this->customLabel1; 606 } 607 /** 608 * @param string 609 */ 610 public function setCustomLabel2($customLabel2) 611 { 612 $this->customLabel2 = $customLabel2; 613 } 614 /** 615 * @return string 616 */ 617 public function getCustomLabel2() 618 { 619 return $this->customLabel2; 620 } 621 /** 622 * @param string 623 */ 624 public function setCustomLabel3($customLabel3) 625 { 626 $this->customLabel3 = $customLabel3; 627 } 628 /** 629 * @return string 630 */ 631 public function getCustomLabel3() 632 { 633 return $this->customLabel3; 634 } 635 /** 636 * @param string 637 */ 638 public function setCustomLabel4($customLabel4) 639 { 640 $this->customLabel4 = $customLabel4; 641 } 642 /** 643 * @return string 644 */ 645 public function getCustomLabel4() 646 { 647 return $this->customLabel4; 648 } 649 /** 650 * @param string 651 */ 652 public function setDescription($description) 653 { 654 $this->description = $description; 655 } 656 /** 657 * @return string 658 */ 659 public function getDescription() 660 { 661 return $this->description; 662 } 663 /** 664 * @param string 665 */ 666 public function setDisplayAdsId($displayAdsId) 667 { 668 $this->displayAdsId = $displayAdsId; 669 } 670 /** 671 * @return string 672 */ 673 public function getDisplayAdsId() 674 { 675 return $this->displayAdsId; 676 } 677 /** 678 * @param string 679 */ 680 public function setDisplayAdsLink($displayAdsLink) 681 { 682 $this->displayAdsLink = $displayAdsLink; 683 } 684 /** 685 * @return string 686 */ 687 public function getDisplayAdsLink() 688 { 689 return $this->displayAdsLink; 690 } 691 /** 692 * @param string[] 693 */ 694 public function setDisplayAdsSimilarIds($displayAdsSimilarIds) 695 { 696 $this->displayAdsSimilarIds = $displayAdsSimilarIds; 697 } 698 /** 699 * @return string[] 700 */ 701 public function getDisplayAdsSimilarIds() 702 { 703 return $this->displayAdsSimilarIds; 704 } 705 /** 706 * @param string 707 */ 708 public function setDisplayAdsTitle($displayAdsTitle) 709 { 710 $this->displayAdsTitle = $displayAdsTitle; 711 } 712 /** 713 * @return string 714 */ 715 public function getDisplayAdsTitle() 716 { 717 return $this->displayAdsTitle; 718 } 719 public function setDisplayAdsValue($displayAdsValue) 720 { 721 $this->displayAdsValue = $displayAdsValue; 722 } 723 public function getDisplayAdsValue() 724 { 725 return $this->displayAdsValue; 726 } 727 /** 728 * @param string 729 */ 730 public function setEnergyEfficiencyClass($energyEfficiencyClass) 731 { 732 $this->energyEfficiencyClass = $energyEfficiencyClass; 733 } 734 /** 735 * @return string 736 */ 737 public function getEnergyEfficiencyClass() 738 { 739 return $this->energyEfficiencyClass; 740 } 741 /** 742 * @param string[] 743 */ 744 public function setExcludedDestinations($excludedDestinations) 745 { 746 $this->excludedDestinations = $excludedDestinations; 747 } 748 /** 749 * @return string[] 750 */ 751 public function getExcludedDestinations() 752 { 753 return $this->excludedDestinations; 754 } 755 /** 756 * @param string 757 */ 758 public function setExpirationDate($expirationDate) 759 { 760 $this->expirationDate = $expirationDate; 761 } 762 /** 763 * @return string 764 */ 765 public function getExpirationDate() 766 { 767 return $this->expirationDate; 768 } 769 /** 770 * @param string 771 */ 772 public function setExternalSellerId($externalSellerId) 773 { 774 $this->externalSellerId = $externalSellerId; 775 } 776 /** 777 * @return string 778 */ 779 public function getExternalSellerId() 780 { 781 return $this->externalSellerId; 782 } 783 /** 784 * @param string 785 */ 786 public function setGender($gender) 787 { 788 $this->gender = $gender; 789 } 790 /** 791 * @return string 792 */ 793 public function getGender() 794 { 795 return $this->gender; 796 } 797 /** 798 * @param string 799 */ 800 public function setGoogleProductCategory($googleProductCategory) 801 { 802 $this->googleProductCategory = $googleProductCategory; 803 } 804 /** 805 * @return string 806 */ 807 public function getGoogleProductCategory() 808 { 809 return $this->googleProductCategory; 810 } 811 /** 812 * @param string 813 */ 814 public function setGtin($gtin) 815 { 816 $this->gtin = $gtin; 817 } 818 /** 819 * @return string 820 */ 821 public function getGtin() 822 { 823 return $this->gtin; 824 } 825 /** 826 * @param string 827 */ 828 public function setId($id) 829 { 830 $this->id = $id; 831 } 832 /** 833 * @return string 834 */ 835 public function getId() 836 { 837 return $this->id; 838 } 839 /** 840 * @param bool 841 */ 842 public function setIdentifierExists($identifierExists) 843 { 844 $this->identifierExists = $identifierExists; 845 } 846 /** 847 * @return bool 848 */ 849 public function getIdentifierExists() 850 { 851 return $this->identifierExists; 852 } 853 /** 854 * @param string 855 */ 856 public function setImageLink($imageLink) 857 { 858 $this->imageLink = $imageLink; 859 } 860 /** 861 * @return string 862 */ 863 public function getImageLink() 864 { 865 return $this->imageLink; 866 } 867 /** 868 * @param string[] 869 */ 870 public function setIncludedDestinations($includedDestinations) 871 { 872 $this->includedDestinations = $includedDestinations; 873 } 874 /** 875 * @return string[] 876 */ 877 public function getIncludedDestinations() 878 { 879 return $this->includedDestinations; 880 } 881 /** 882 * @param Installment 883 */ 884 public function setInstallment(Installment $installment) 885 { 886 $this->installment = $installment; 887 } 888 /** 889 * @return Installment 890 */ 891 public function getInstallment() 892 { 893 return $this->installment; 894 } 895 /** 896 * @param bool 897 */ 898 public function setIsBundle($isBundle) 899 { 900 $this->isBundle = $isBundle; 901 } 902 /** 903 * @return bool 904 */ 905 public function getIsBundle() 906 { 907 return $this->isBundle; 908 } 909 /** 910 * @param string 911 */ 912 public function setItemGroupId($itemGroupId) 913 { 914 $this->itemGroupId = $itemGroupId; 915 } 916 /** 917 * @return string 918 */ 919 public function getItemGroupId() 920 { 921 return $this->itemGroupId; 922 } 923 /** 924 * @param string 925 */ 926 public function setKind($kind) 927 { 928 $this->kind = $kind; 929 } 930 /** 931 * @return string 932 */ 933 public function getKind() 934 { 935 return $this->kind; 936 } 937 /** 938 * @param string 939 */ 940 public function setLink($link) 941 { 942 $this->link = $link; 943 } 944 /** 945 * @return string 946 */ 947 public function getLink() 948 { 949 return $this->link; 950 } 951 /** 952 * @param string 953 */ 954 public function setLinkTemplate($linkTemplate) 955 { 956 $this->linkTemplate = $linkTemplate; 957 } 958 /** 959 * @return string 960 */ 961 public function getLinkTemplate() 962 { 963 return $this->linkTemplate; 964 } 965 /** 966 * @param LoyaltyPoints 967 */ 968 public function setLoyaltyPoints(LoyaltyPoints $loyaltyPoints) 969 { 970 $this->loyaltyPoints = $loyaltyPoints; 971 } 972 /** 973 * @return LoyaltyPoints 974 */ 975 public function getLoyaltyPoints() 976 { 977 return $this->loyaltyPoints; 978 } 979 /** 980 * @param string 981 */ 982 public function setMaterial($material) 983 { 984 $this->material = $material; 985 } 986 /** 987 * @return string 988 */ 989 public function getMaterial() 990 { 991 return $this->material; 992 } 993 /** 994 * @param string 995 */ 996 public function setMaxEnergyEfficiencyClass($maxEnergyEfficiencyClass) 997 { 998 $this->maxEnergyEfficiencyClass = $maxEnergyEfficiencyClass; 999 } 1000 /** 1001 * @return string 1002 */ 1003 public function getMaxEnergyEfficiencyClass() 1004 { 1005 return $this->maxEnergyEfficiencyClass; 1006 } 1007 /** 1008 * @param string 1009 */ 1010 public function setMaxHandlingTime($maxHandlingTime) 1011 { 1012 $this->maxHandlingTime = $maxHandlingTime; 1013 } 1014 /** 1015 * @return string 1016 */ 1017 public function getMaxHandlingTime() 1018 { 1019 return $this->maxHandlingTime; 1020 } 1021 /** 1022 * @param string 1023 */ 1024 public function setMinEnergyEfficiencyClass($minEnergyEfficiencyClass) 1025 { 1026 $this->minEnergyEfficiencyClass = $minEnergyEfficiencyClass; 1027 } 1028 /** 1029 * @return string 1030 */ 1031 public function getMinEnergyEfficiencyClass() 1032 { 1033 return $this->minEnergyEfficiencyClass; 1034 } 1035 /** 1036 * @param string 1037 */ 1038 public function setMinHandlingTime($minHandlingTime) 1039 { 1040 $this->minHandlingTime = $minHandlingTime; 1041 } 1042 /** 1043 * @return string 1044 */ 1045 public function getMinHandlingTime() 1046 { 1047 return $this->minHandlingTime; 1048 } 1049 /** 1050 * @param string 1051 */ 1052 public function setMobileLink($mobileLink) 1053 { 1054 $this->mobileLink = $mobileLink; 1055 } 1056 /** 1057 * @return string 1058 */ 1059 public function getMobileLink() 1060 { 1061 return $this->mobileLink; 1062 } 1063 /** 1064 * @param string 1065 */ 1066 public function setMobileLinkTemplate($mobileLinkTemplate) 1067 { 1068 $this->mobileLinkTemplate = $mobileLinkTemplate; 1069 } 1070 /** 1071 * @return string 1072 */ 1073 public function getMobileLinkTemplate() 1074 { 1075 return $this->mobileLinkTemplate; 1076 } 1077 /** 1078 * @param string 1079 */ 1080 public function setMpn($mpn) 1081 { 1082 $this->mpn = $mpn; 1083 } 1084 /** 1085 * @return string 1086 */ 1087 public function getMpn() 1088 { 1089 return $this->mpn; 1090 } 1091 /** 1092 * @param string 1093 */ 1094 public function setMultipack($multipack) 1095 { 1096 $this->multipack = $multipack; 1097 } 1098 /** 1099 * @return string 1100 */ 1101 public function getMultipack() 1102 { 1103 return $this->multipack; 1104 } 1105 /** 1106 * @param string 1107 */ 1108 public function setOfferId($offerId) 1109 { 1110 $this->offerId = $offerId; 1111 } 1112 /** 1113 * @return string 1114 */ 1115 public function getOfferId() 1116 { 1117 return $this->offerId; 1118 } 1119 /** 1120 * @param string 1121 */ 1122 public function setPattern($pattern) 1123 { 1124 $this->pattern = $pattern; 1125 } 1126 /** 1127 * @return string 1128 */ 1129 public function getPattern() 1130 { 1131 return $this->pattern; 1132 } 1133 /** 1134 * @param string 1135 */ 1136 public function setPickupMethod($pickupMethod) 1137 { 1138 $this->pickupMethod = $pickupMethod; 1139 } 1140 /** 1141 * @return string 1142 */ 1143 public function getPickupMethod() 1144 { 1145 return $this->pickupMethod; 1146 } 1147 /** 1148 * @param string 1149 */ 1150 public function setPickupSla($pickupSla) 1151 { 1152 $this->pickupSla = $pickupSla; 1153 } 1154 /** 1155 * @return string 1156 */ 1157 public function getPickupSla() 1158 { 1159 return $this->pickupSla; 1160 } 1161 /** 1162 * @param Price 1163 */ 1164 public function setPrice(Price $price) 1165 { 1166 $this->price = $price; 1167 } 1168 /** 1169 * @return Price 1170 */ 1171 public function getPrice() 1172 { 1173 return $this->price; 1174 } 1175 /** 1176 * @param ProductProductDetail[] 1177 */ 1178 public function setProductDetails($productDetails) 1179 { 1180 $this->productDetails = $productDetails; 1181 } 1182 /** 1183 * @return ProductProductDetail[] 1184 */ 1185 public function getProductDetails() 1186 { 1187 return $this->productDetails; 1188 } 1189 /** 1190 * @param ProductDimension 1191 */ 1192 public function setProductHeight(ProductDimension $productHeight) 1193 { 1194 $this->productHeight = $productHeight; 1195 } 1196 /** 1197 * @return ProductDimension 1198 */ 1199 public function getProductHeight() 1200 { 1201 return $this->productHeight; 1202 } 1203 /** 1204 * @param string[] 1205 */ 1206 public function setProductHighlights($productHighlights) 1207 { 1208 $this->productHighlights = $productHighlights; 1209 } 1210 /** 1211 * @return string[] 1212 */ 1213 public function getProductHighlights() 1214 { 1215 return $this->productHighlights; 1216 } 1217 /** 1218 * @param ProductDimension 1219 */ 1220 public function setProductLength(ProductDimension $productLength) 1221 { 1222 $this->productLength = $productLength; 1223 } 1224 /** 1225 * @return ProductDimension 1226 */ 1227 public function getProductLength() 1228 { 1229 return $this->productLength; 1230 } 1231 /** 1232 * @param string[] 1233 */ 1234 public function setProductTypes($productTypes) 1235 { 1236 $this->productTypes = $productTypes; 1237 } 1238 /** 1239 * @return string[] 1240 */ 1241 public function getProductTypes() 1242 { 1243 return $this->productTypes; 1244 } 1245 /** 1246 * @param ProductWeight 1247 */ 1248 public function setProductWeight(ProductWeight $productWeight) 1249 { 1250 $this->productWeight = $productWeight; 1251 } 1252 /** 1253 * @return ProductWeight 1254 */ 1255 public function getProductWeight() 1256 { 1257 return $this->productWeight; 1258 } 1259 /** 1260 * @param ProductDimension 1261 */ 1262 public function setProductWidth(ProductDimension $productWidth) 1263 { 1264 $this->productWidth = $productWidth; 1265 } 1266 /** 1267 * @return ProductDimension 1268 */ 1269 public function getProductWidth() 1270 { 1271 return $this->productWidth; 1272 } 1273 /** 1274 * @param string[] 1275 */ 1276 public function setPromotionIds($promotionIds) 1277 { 1278 $this->promotionIds = $promotionIds; 1279 } 1280 /** 1281 * @return string[] 1282 */ 1283 public function getPromotionIds() 1284 { 1285 return $this->promotionIds; 1286 } 1287 /** 1288 * @param Price 1289 */ 1290 public function setSalePrice(Price $salePrice) 1291 { 1292 $this->salePrice = $salePrice; 1293 } 1294 /** 1295 * @return Price 1296 */ 1297 public function getSalePrice() 1298 { 1299 return $this->salePrice; 1300 } 1301 /** 1302 * @param string 1303 */ 1304 public function setSalePriceEffectiveDate($salePriceEffectiveDate) 1305 { 1306 $this->salePriceEffectiveDate = $salePriceEffectiveDate; 1307 } 1308 /** 1309 * @return string 1310 */ 1311 public function getSalePriceEffectiveDate() 1312 { 1313 return $this->salePriceEffectiveDate; 1314 } 1315 /** 1316 * @param string 1317 */ 1318 public function setSellOnGoogleQuantity($sellOnGoogleQuantity) 1319 { 1320 $this->sellOnGoogleQuantity = $sellOnGoogleQuantity; 1321 } 1322 /** 1323 * @return string 1324 */ 1325 public function getSellOnGoogleQuantity() 1326 { 1327 return $this->sellOnGoogleQuantity; 1328 } 1329 /** 1330 * @param ProductShipping[] 1331 */ 1332 public function setShipping($shipping) 1333 { 1334 $this->shipping = $shipping; 1335 } 1336 /** 1337 * @return ProductShipping[] 1338 */ 1339 public function getShipping() 1340 { 1341 return $this->shipping; 1342 } 1343 /** 1344 * @param ProductShippingDimension 1345 */ 1346 public function setShippingHeight(ProductShippingDimension $shippingHeight) 1347 { 1348 $this->shippingHeight = $shippingHeight; 1349 } 1350 /** 1351 * @return ProductShippingDimension 1352 */ 1353 public function getShippingHeight() 1354 { 1355 return $this->shippingHeight; 1356 } 1357 /** 1358 * @param string 1359 */ 1360 public function setShippingLabel($shippingLabel) 1361 { 1362 $this->shippingLabel = $shippingLabel; 1363 } 1364 /** 1365 * @return string 1366 */ 1367 public function getShippingLabel() 1368 { 1369 return $this->shippingLabel; 1370 } 1371 /** 1372 * @param ProductShippingDimension 1373 */ 1374 public function setShippingLength(ProductShippingDimension $shippingLength) 1375 { 1376 $this->shippingLength = $shippingLength; 1377 } 1378 /** 1379 * @return ProductShippingDimension 1380 */ 1381 public function getShippingLength() 1382 { 1383 return $this->shippingLength; 1384 } 1385 /** 1386 * @param ProductShippingWeight 1387 */ 1388 public function setShippingWeight(ProductShippingWeight $shippingWeight) 1389 { 1390 $this->shippingWeight = $shippingWeight; 1391 } 1392 /** 1393 * @return ProductShippingWeight 1394 */ 1395 public function getShippingWeight() 1396 { 1397 return $this->shippingWeight; 1398 } 1399 /** 1400 * @param ProductShippingDimension 1401 */ 1402 public function setShippingWidth(ProductShippingDimension $shippingWidth) 1403 { 1404 $this->shippingWidth = $shippingWidth; 1405 } 1406 /** 1407 * @return ProductShippingDimension 1408 */ 1409 public function getShippingWidth() 1410 { 1411 return $this->shippingWidth; 1412 } 1413 /** 1414 * @param string[] 1415 */ 1416 public function setShoppingAdsExcludedCountries($shoppingAdsExcludedCountries) 1417 { 1418 $this->shoppingAdsExcludedCountries = $shoppingAdsExcludedCountries; 1419 } 1420 /** 1421 * @return string[] 1422 */ 1423 public function getShoppingAdsExcludedCountries() 1424 { 1425 return $this->shoppingAdsExcludedCountries; 1426 } 1427 /** 1428 * @param string 1429 */ 1430 public function setSizeSystem($sizeSystem) 1431 { 1432 $this->sizeSystem = $sizeSystem; 1433 } 1434 /** 1435 * @return string 1436 */ 1437 public function getSizeSystem() 1438 { 1439 return $this->sizeSystem; 1440 } 1441 /** 1442 * @param string 1443 */ 1444 public function setSizeType($sizeType) 1445 { 1446 $this->sizeType = $sizeType; 1447 } 1448 /** 1449 * @return string 1450 */ 1451 public function getSizeType() 1452 { 1453 return $this->sizeType; 1454 } 1455 /** 1456 * @param string[] 1457 */ 1458 public function setSizes($sizes) 1459 { 1460 $this->sizes = $sizes; 1461 } 1462 /** 1463 * @return string[] 1464 */ 1465 public function getSizes() 1466 { 1467 return $this->sizes; 1468 } 1469 /** 1470 * @param string 1471 */ 1472 public function setSource($source) 1473 { 1474 $this->source = $source; 1475 } 1476 /** 1477 * @return string 1478 */ 1479 public function getSource() 1480 { 1481 return $this->source; 1482 } 1483 /** 1484 * @param ProductSubscriptionCost 1485 */ 1486 public function setSubscriptionCost(ProductSubscriptionCost $subscriptionCost) 1487 { 1488 $this->subscriptionCost = $subscriptionCost; 1489 } 1490 /** 1491 * @return ProductSubscriptionCost 1492 */ 1493 public function getSubscriptionCost() 1494 { 1495 return $this->subscriptionCost; 1496 } 1497 /** 1498 * @param string 1499 */ 1500 public function setTargetCountry($targetCountry) 1501 { 1502 $this->targetCountry = $targetCountry; 1503 } 1504 /** 1505 * @return string 1506 */ 1507 public function getTargetCountry() 1508 { 1509 return $this->targetCountry; 1510 } 1511 /** 1512 * @param string 1513 */ 1514 public function setTaxCategory($taxCategory) 1515 { 1516 $this->taxCategory = $taxCategory; 1517 } 1518 /** 1519 * @return string 1520 */ 1521 public function getTaxCategory() 1522 { 1523 return $this->taxCategory; 1524 } 1525 /** 1526 * @param ProductTax[] 1527 */ 1528 public function setTaxes($taxes) 1529 { 1530 $this->taxes = $taxes; 1531 } 1532 /** 1533 * @return ProductTax[] 1534 */ 1535 public function getTaxes() 1536 { 1537 return $this->taxes; 1538 } 1539 /** 1540 * @param string 1541 */ 1542 public function setTitle($title) 1543 { 1544 $this->title = $title; 1545 } 1546 /** 1547 * @return string 1548 */ 1549 public function getTitle() 1550 { 1551 return $this->title; 1552 } 1553 /** 1554 * @param string 1555 */ 1556 public function setTransitTimeLabel($transitTimeLabel) 1557 { 1558 $this->transitTimeLabel = $transitTimeLabel; 1559 } 1560 /** 1561 * @return string 1562 */ 1563 public function getTransitTimeLabel() 1564 { 1565 return $this->transitTimeLabel; 1566 } 1567 /** 1568 * @param ProductUnitPricingBaseMeasure 1569 */ 1570 public function setUnitPricingBaseMeasure(ProductUnitPricingBaseMeasure $unitPricingBaseMeasure) 1571 { 1572 $this->unitPricingBaseMeasure = $unitPricingBaseMeasure; 1573 } 1574 /** 1575 * @return ProductUnitPricingBaseMeasure 1576 */ 1577 public function getUnitPricingBaseMeasure() 1578 { 1579 return $this->unitPricingBaseMeasure; 1580 } 1581 /** 1582 * @param ProductUnitPricingMeasure 1583 */ 1584 public function setUnitPricingMeasure(ProductUnitPricingMeasure $unitPricingMeasure) 1585 { 1586 $this->unitPricingMeasure = $unitPricingMeasure; 1587 } 1588 /** 1589 * @return ProductUnitPricingMeasure 1590 */ 1591 public function getUnitPricingMeasure() 1592 { 1593 return $this->unitPricingMeasure; 1594 } 1595} 1596 1597// Adding a class alias for backwards compatibility with the previous class name. 1598class_alias(Product::class, 'Google_Service_ShoppingContent_Product'); 1599