Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,204 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class BestSellersBrandView extends \Google\Model
{
/**
* @var string
*/
public $brand;
/**
* @var string
*/
public $previousRank;
/**
* @var string
*/
public $previousRelativeDemand;
/**
* @var string
*/
public $rank;
/**
* @var string
*/
public $relativeDemand;
/**
* @var string
*/
public $relativeDemandChange;
/**
* @var string
*/
public $reportCategoryId;
/**
* @var string
*/
public $reportCountryCode;
protected $reportDateType = Date::class;
protected $reportDateDataType = '';
/**
* @var string
*/
public $reportGranularity;
/**
* @param string
*/
public function setBrand($brand)
{
$this->brand = $brand;
}
/**
* @return string
*/
public function getBrand()
{
return $this->brand;
}
/**
* @param string
*/
public function setPreviousRank($previousRank)
{
$this->previousRank = $previousRank;
}
/**
* @return string
*/
public function getPreviousRank()
{
return $this->previousRank;
}
/**
* @param string
*/
public function setPreviousRelativeDemand($previousRelativeDemand)
{
$this->previousRelativeDemand = $previousRelativeDemand;
}
/**
* @return string
*/
public function getPreviousRelativeDemand()
{
return $this->previousRelativeDemand;
}
/**
* @param string
*/
public function setRank($rank)
{
$this->rank = $rank;
}
/**
* @return string
*/
public function getRank()
{
return $this->rank;
}
/**
* @param string
*/
public function setRelativeDemand($relativeDemand)
{
$this->relativeDemand = $relativeDemand;
}
/**
* @return string
*/
public function getRelativeDemand()
{
return $this->relativeDemand;
}
/**
* @param string
*/
public function setRelativeDemandChange($relativeDemandChange)
{
$this->relativeDemandChange = $relativeDemandChange;
}
/**
* @return string
*/
public function getRelativeDemandChange()
{
return $this->relativeDemandChange;
}
/**
* @param string
*/
public function setReportCategoryId($reportCategoryId)
{
$this->reportCategoryId = $reportCategoryId;
}
/**
* @return string
*/
public function getReportCategoryId()
{
return $this->reportCategoryId;
}
/**
* @param string
*/
public function setReportCountryCode($reportCountryCode)
{
$this->reportCountryCode = $reportCountryCode;
}
/**
* @return string
*/
public function getReportCountryCode()
{
return $this->reportCountryCode;
}
/**
* @param Date
*/
public function setReportDate(Date $reportDate)
{
$this->reportDate = $reportDate;
}
/**
* @return Date
*/
public function getReportDate()
{
return $this->reportDate;
}
/**
* @param string
*/
public function setReportGranularity($reportGranularity)
{
$this->reportGranularity = $reportGranularity;
}
/**
* @return string
*/
public function getReportGranularity()
{
return $this->reportGranularity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BestSellersBrandView::class, 'Google_Service_Merchant_BestSellersBrandView');

View File

@@ -0,0 +1,367 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class BestSellersProductClusterView extends \Google\Collection
{
protected $collection_key = 'variantGtins';
/**
* @var string
*/
public $brand;
/**
* @var string
*/
public $brandInventoryStatus;
/**
* @var string
*/
public $categoryL1;
/**
* @var string
*/
public $categoryL2;
/**
* @var string
*/
public $categoryL3;
/**
* @var string
*/
public $categoryL4;
/**
* @var string
*/
public $categoryL5;
/**
* @var string
*/
public $inventoryStatus;
/**
* @var string
*/
public $previousRank;
/**
* @var string
*/
public $previousRelativeDemand;
/**
* @var string
*/
public $rank;
/**
* @var string
*/
public $relativeDemand;
/**
* @var string
*/
public $relativeDemandChange;
/**
* @var string
*/
public $reportCategoryId;
/**
* @var string
*/
public $reportCountryCode;
protected $reportDateType = Date::class;
protected $reportDateDataType = '';
/**
* @var string
*/
public $reportGranularity;
/**
* @var string
*/
public $title;
/**
* @var string[]
*/
public $variantGtins;
/**
* @param string
*/
public function setBrand($brand)
{
$this->brand = $brand;
}
/**
* @return string
*/
public function getBrand()
{
return $this->brand;
}
/**
* @param string
*/
public function setBrandInventoryStatus($brandInventoryStatus)
{
$this->brandInventoryStatus = $brandInventoryStatus;
}
/**
* @return string
*/
public function getBrandInventoryStatus()
{
return $this->brandInventoryStatus;
}
/**
* @param string
*/
public function setCategoryL1($categoryL1)
{
$this->categoryL1 = $categoryL1;
}
/**
* @return string
*/
public function getCategoryL1()
{
return $this->categoryL1;
}
/**
* @param string
*/
public function setCategoryL2($categoryL2)
{
$this->categoryL2 = $categoryL2;
}
/**
* @return string
*/
public function getCategoryL2()
{
return $this->categoryL2;
}
/**
* @param string
*/
public function setCategoryL3($categoryL3)
{
$this->categoryL3 = $categoryL3;
}
/**
* @return string
*/
public function getCategoryL3()
{
return $this->categoryL3;
}
/**
* @param string
*/
public function setCategoryL4($categoryL4)
{
$this->categoryL4 = $categoryL4;
}
/**
* @return string
*/
public function getCategoryL4()
{
return $this->categoryL4;
}
/**
* @param string
*/
public function setCategoryL5($categoryL5)
{
$this->categoryL5 = $categoryL5;
}
/**
* @return string
*/
public function getCategoryL5()
{
return $this->categoryL5;
}
/**
* @param string
*/
public function setInventoryStatus($inventoryStatus)
{
$this->inventoryStatus = $inventoryStatus;
}
/**
* @return string
*/
public function getInventoryStatus()
{
return $this->inventoryStatus;
}
/**
* @param string
*/
public function setPreviousRank($previousRank)
{
$this->previousRank = $previousRank;
}
/**
* @return string
*/
public function getPreviousRank()
{
return $this->previousRank;
}
/**
* @param string
*/
public function setPreviousRelativeDemand($previousRelativeDemand)
{
$this->previousRelativeDemand = $previousRelativeDemand;
}
/**
* @return string
*/
public function getPreviousRelativeDemand()
{
return $this->previousRelativeDemand;
}
/**
* @param string
*/
public function setRank($rank)
{
$this->rank = $rank;
}
/**
* @return string
*/
public function getRank()
{
return $this->rank;
}
/**
* @param string
*/
public function setRelativeDemand($relativeDemand)
{
$this->relativeDemand = $relativeDemand;
}
/**
* @return string
*/
public function getRelativeDemand()
{
return $this->relativeDemand;
}
/**
* @param string
*/
public function setRelativeDemandChange($relativeDemandChange)
{
$this->relativeDemandChange = $relativeDemandChange;
}
/**
* @return string
*/
public function getRelativeDemandChange()
{
return $this->relativeDemandChange;
}
/**
* @param string
*/
public function setReportCategoryId($reportCategoryId)
{
$this->reportCategoryId = $reportCategoryId;
}
/**
* @return string
*/
public function getReportCategoryId()
{
return $this->reportCategoryId;
}
/**
* @param string
*/
public function setReportCountryCode($reportCountryCode)
{
$this->reportCountryCode = $reportCountryCode;
}
/**
* @return string
*/
public function getReportCountryCode()
{
return $this->reportCountryCode;
}
/**
* @param Date
*/
public function setReportDate(Date $reportDate)
{
$this->reportDate = $reportDate;
}
/**
* @return Date
*/
public function getReportDate()
{
return $this->reportDate;
}
/**
* @param string
*/
public function setReportGranularity($reportGranularity)
{
$this->reportGranularity = $reportGranularity;
}
/**
* @return string
*/
public function getReportGranularity()
{
return $this->reportGranularity;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @param string[]
*/
public function setVariantGtins($variantGtins)
{
$this->variantGtins = $variantGtins;
}
/**
* @return string[]
*/
public function getVariantGtins()
{
return $this->variantGtins;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BestSellersProductClusterView::class, 'Google_Service_Merchant_BestSellersProductClusterView');

View File

@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class CompetitiveVisibilityBenchmarkView extends \Google\Model
{
public $categoryBenchmarkVisibilityTrend;
protected $dateType = Date::class;
protected $dateDataType = '';
/**
* @var string
*/
public $reportCategoryId;
/**
* @var string
*/
public $reportCountryCode;
/**
* @var string
*/
public $trafficSource;
public $yourDomainVisibilityTrend;
public function setCategoryBenchmarkVisibilityTrend($categoryBenchmarkVisibilityTrend)
{
$this->categoryBenchmarkVisibilityTrend = $categoryBenchmarkVisibilityTrend;
}
public function getCategoryBenchmarkVisibilityTrend()
{
return $this->categoryBenchmarkVisibilityTrend;
}
/**
* @param Date
*/
public function setDate(Date $date)
{
$this->date = $date;
}
/**
* @return Date
*/
public function getDate()
{
return $this->date;
}
/**
* @param string
*/
public function setReportCategoryId($reportCategoryId)
{
$this->reportCategoryId = $reportCategoryId;
}
/**
* @return string
*/
public function getReportCategoryId()
{
return $this->reportCategoryId;
}
/**
* @param string
*/
public function setReportCountryCode($reportCountryCode)
{
$this->reportCountryCode = $reportCountryCode;
}
/**
* @return string
*/
public function getReportCountryCode()
{
return $this->reportCountryCode;
}
/**
* @param string
*/
public function setTrafficSource($trafficSource)
{
$this->trafficSource = $trafficSource;
}
/**
* @return string
*/
public function getTrafficSource()
{
return $this->trafficSource;
}
public function setYourDomainVisibilityTrend($yourDomainVisibilityTrend)
{
$this->yourDomainVisibilityTrend = $yourDomainVisibilityTrend;
}
public function getYourDomainVisibilityTrend()
{
return $this->yourDomainVisibilityTrend;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CompetitiveVisibilityBenchmarkView::class, 'Google_Service_Merchant_CompetitiveVisibilityBenchmarkView');

View File

@@ -0,0 +1,186 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class CompetitiveVisibilityCompetitorView extends \Google\Model
{
public $adsOrganicRatio;
protected $dateType = Date::class;
protected $dateDataType = '';
/**
* @var string
*/
public $domain;
public $higherPositionRate;
/**
* @var bool
*/
public $isYourDomain;
public $pageOverlapRate;
/**
* @var string
*/
public $rank;
public $relativeVisibility;
/**
* @var string
*/
public $reportCategoryId;
/**
* @var string
*/
public $reportCountryCode;
/**
* @var string
*/
public $trafficSource;
public function setAdsOrganicRatio($adsOrganicRatio)
{
$this->adsOrganicRatio = $adsOrganicRatio;
}
public function getAdsOrganicRatio()
{
return $this->adsOrganicRatio;
}
/**
* @param Date
*/
public function setDate(Date $date)
{
$this->date = $date;
}
/**
* @return Date
*/
public function getDate()
{
return $this->date;
}
/**
* @param string
*/
public function setDomain($domain)
{
$this->domain = $domain;
}
/**
* @return string
*/
public function getDomain()
{
return $this->domain;
}
public function setHigherPositionRate($higherPositionRate)
{
$this->higherPositionRate = $higherPositionRate;
}
public function getHigherPositionRate()
{
return $this->higherPositionRate;
}
/**
* @param bool
*/
public function setIsYourDomain($isYourDomain)
{
$this->isYourDomain = $isYourDomain;
}
/**
* @return bool
*/
public function getIsYourDomain()
{
return $this->isYourDomain;
}
public function setPageOverlapRate($pageOverlapRate)
{
$this->pageOverlapRate = $pageOverlapRate;
}
public function getPageOverlapRate()
{
return $this->pageOverlapRate;
}
/**
* @param string
*/
public function setRank($rank)
{
$this->rank = $rank;
}
/**
* @return string
*/
public function getRank()
{
return $this->rank;
}
public function setRelativeVisibility($relativeVisibility)
{
$this->relativeVisibility = $relativeVisibility;
}
public function getRelativeVisibility()
{
return $this->relativeVisibility;
}
/**
* @param string
*/
public function setReportCategoryId($reportCategoryId)
{
$this->reportCategoryId = $reportCategoryId;
}
/**
* @return string
*/
public function getReportCategoryId()
{
return $this->reportCategoryId;
}
/**
* @param string
*/
public function setReportCountryCode($reportCountryCode)
{
$this->reportCountryCode = $reportCountryCode;
}
/**
* @return string
*/
public function getReportCountryCode()
{
return $this->reportCountryCode;
}
/**
* @param string
*/
public function setTrafficSource($trafficSource)
{
$this->trafficSource = $trafficSource;
}
/**
* @return string
*/
public function getTrafficSource()
{
return $this->trafficSource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CompetitiveVisibilityCompetitorView::class, 'Google_Service_Merchant_CompetitiveVisibilityCompetitorView');

View File

@@ -0,0 +1,177 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class CompetitiveVisibilityTopMerchantView extends \Google\Model
{
public $adsOrganicRatio;
protected $dateType = Date::class;
protected $dateDataType = '';
/**
* @var string
*/
public $domain;
public $higherPositionRate;
/**
* @var bool
*/
public $isYourDomain;
public $pageOverlapRate;
/**
* @var string
*/
public $rank;
/**
* @var string
*/
public $reportCategoryId;
/**
* @var string
*/
public $reportCountryCode;
/**
* @var string
*/
public $trafficSource;
public function setAdsOrganicRatio($adsOrganicRatio)
{
$this->adsOrganicRatio = $adsOrganicRatio;
}
public function getAdsOrganicRatio()
{
return $this->adsOrganicRatio;
}
/**
* @param Date
*/
public function setDate(Date $date)
{
$this->date = $date;
}
/**
* @return Date
*/
public function getDate()
{
return $this->date;
}
/**
* @param string
*/
public function setDomain($domain)
{
$this->domain = $domain;
}
/**
* @return string
*/
public function getDomain()
{
return $this->domain;
}
public function setHigherPositionRate($higherPositionRate)
{
$this->higherPositionRate = $higherPositionRate;
}
public function getHigherPositionRate()
{
return $this->higherPositionRate;
}
/**
* @param bool
*/
public function setIsYourDomain($isYourDomain)
{
$this->isYourDomain = $isYourDomain;
}
/**
* @return bool
*/
public function getIsYourDomain()
{
return $this->isYourDomain;
}
public function setPageOverlapRate($pageOverlapRate)
{
$this->pageOverlapRate = $pageOverlapRate;
}
public function getPageOverlapRate()
{
return $this->pageOverlapRate;
}
/**
* @param string
*/
public function setRank($rank)
{
$this->rank = $rank;
}
/**
* @return string
*/
public function getRank()
{
return $this->rank;
}
/**
* @param string
*/
public function setReportCategoryId($reportCategoryId)
{
$this->reportCategoryId = $reportCategoryId;
}
/**
* @return string
*/
public function getReportCategoryId()
{
return $this->reportCategoryId;
}
/**
* @param string
*/
public function setReportCountryCode($reportCountryCode)
{
$this->reportCountryCode = $reportCountryCode;
}
/**
* @return string
*/
public function getReportCountryCode()
{
return $this->reportCountryCode;
}
/**
* @param string
*/
public function setTrafficSource($trafficSource)
{
$this->trafficSource = $trafficSource;
}
/**
* @return string
*/
public function getTrafficSource()
{
return $this->trafficSource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CompetitiveVisibilityTopMerchantView::class, 'Google_Service_Merchant_CompetitiveVisibilityTopMerchantView');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class CustomAttribute extends \Google\Collection
{
protected $collection_key = 'groupValues';
protected $groupValuesType = CustomAttribute::class;
protected $groupValuesDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $value;
/**
* @param CustomAttribute[]
*/
public function setGroupValues($groupValues)
{
$this->groupValues = $groupValues;
}
/**
* @return CustomAttribute[]
*/
public function getGroupValues()
{
return $this->groupValues;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomAttribute::class, 'Google_Service_Merchant_CustomAttribute');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class Date extends \Google\Model
{
/**
* @var int
*/
public $day;
/**
* @var int
*/
public $month;
/**
* @var int
*/
public $year;
/**
* @param int
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* @param int
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* @param int
*/
public function setYear($year)
{
$this->year = $year;
}
/**
* @return int
*/
public function getYear()
{
return $this->year;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Date::class, 'Google_Service_Merchant_Date');

View File

@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class IssueSeverityPerReportingContext extends \Google\Collection
{
protected $collection_key = 'disapprovedCountries';
/**
* @var string[]
*/
public $demotedCountries;
/**
* @var string[]
*/
public $disapprovedCountries;
/**
* @var string
*/
public $reportingContext;
/**
* @param string[]
*/
public function setDemotedCountries($demotedCountries)
{
$this->demotedCountries = $demotedCountries;
}
/**
* @return string[]
*/
public function getDemotedCountries()
{
return $this->demotedCountries;
}
/**
* @param string[]
*/
public function setDisapprovedCountries($disapprovedCountries)
{
$this->disapprovedCountries = $disapprovedCountries;
}
/**
* @return string[]
*/
public function getDisapprovedCountries()
{
return $this->disapprovedCountries;
}
/**
* @param string
*/
public function setReportingContext($reportingContext)
{
$this->reportingContext = $reportingContext;
}
/**
* @return string
*/
public function getReportingContext()
{
return $this->reportingContext;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IssueSeverityPerReportingContext::class, 'Google_Service_Merchant_IssueSeverityPerReportingContext');

View File

@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class ItemIssue extends \Google\Model
{
/**
* @var string
*/
public $resolution;
protected $severityType = ItemIssueSeverity::class;
protected $severityDataType = '';
protected $typeType = ItemIssueType::class;
protected $typeDataType = '';
/**
* @param string
*/
public function setResolution($resolution)
{
$this->resolution = $resolution;
}
/**
* @return string
*/
public function getResolution()
{
return $this->resolution;
}
/**
* @param ItemIssueSeverity
*/
public function setSeverity(ItemIssueSeverity $severity)
{
$this->severity = $severity;
}
/**
* @return ItemIssueSeverity
*/
public function getSeverity()
{
return $this->severity;
}
/**
* @param ItemIssueType
*/
public function setType(ItemIssueType $type)
{
$this->type = $type;
}
/**
* @return ItemIssueType
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ItemIssue::class, 'Google_Service_Merchant_ItemIssue');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class ItemIssueSeverity extends \Google\Collection
{
protected $collection_key = 'severityPerReportingContext';
/**
* @var string
*/
public $aggregatedSeverity;
protected $severityPerReportingContextType = IssueSeverityPerReportingContext::class;
protected $severityPerReportingContextDataType = 'array';
/**
* @param string
*/
public function setAggregatedSeverity($aggregatedSeverity)
{
$this->aggregatedSeverity = $aggregatedSeverity;
}
/**
* @return string
*/
public function getAggregatedSeverity()
{
return $this->aggregatedSeverity;
}
/**
* @param IssueSeverityPerReportingContext[]
*/
public function setSeverityPerReportingContext($severityPerReportingContext)
{
$this->severityPerReportingContext = $severityPerReportingContext;
}
/**
* @return IssueSeverityPerReportingContext[]
*/
public function getSeverityPerReportingContext()
{
return $this->severityPerReportingContext;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ItemIssueSeverity::class, 'Google_Service_Merchant_ItemIssueSeverity');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class ItemIssueType extends \Google\Model
{
/**
* @var string
*/
public $canonicalAttribute;
/**
* @var string
*/
public $code;
/**
* @param string
*/
public function setCanonicalAttribute($canonicalAttribute)
{
$this->canonicalAttribute = $canonicalAttribute;
}
/**
* @return string
*/
public function getCanonicalAttribute()
{
return $this->canonicalAttribute;
}
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ItemIssueType::class, 'Google_Service_Merchant_ItemIssueType');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class ListMerchantReviewsResponse extends \Google\Collection
{
protected $collection_key = 'merchantReviews';
protected $merchantReviewsType = MerchantReview::class;
protected $merchantReviewsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param MerchantReview[]
*/
public function setMerchantReviews($merchantReviews)
{
$this->merchantReviews = $merchantReviews;
}
/**
* @return MerchantReview[]
*/
public function getMerchantReviews()
{
return $this->merchantReviews;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListMerchantReviewsResponse::class, 'Google_Service_Merchant_ListMerchantReviewsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class ListProductReviewsResponse extends \Google\Collection
{
protected $collection_key = 'productReviews';
/**
* @var string
*/
public $nextPageToken;
protected $productReviewsType = ProductReview::class;
protected $productReviewsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param ProductReview[]
*/
public function setProductReviews($productReviews)
{
$this->productReviews = $productReviews;
}
/**
* @return ProductReview[]
*/
public function getProductReviews()
{
return $this->productReviews;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListProductReviewsResponse::class, 'Google_Service_Merchant_ListProductReviewsResponse');

View File

@@ -0,0 +1,129 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class MerchantReview extends \Google\Collection
{
protected $collection_key = 'customAttributes';
protected $attributesType = MerchantReviewAttributes::class;
protected $attributesDataType = '';
protected $customAttributesType = CustomAttribute::class;
protected $customAttributesDataType = 'array';
/**
* @var string
*/
public $dataSource;
/**
* @var string
*/
public $merchantReviewId;
protected $merchantReviewStatusType = MerchantReviewStatus::class;
protected $merchantReviewStatusDataType = '';
/**
* @var string
*/
public $name;
/**
* @param MerchantReviewAttributes
*/
public function setAttributes(MerchantReviewAttributes $attributes)
{
$this->attributes = $attributes;
}
/**
* @return MerchantReviewAttributes
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* @param CustomAttribute[]
*/
public function setCustomAttributes($customAttributes)
{
$this->customAttributes = $customAttributes;
}
/**
* @return CustomAttribute[]
*/
public function getCustomAttributes()
{
return $this->customAttributes;
}
/**
* @param string
*/
public function setDataSource($dataSource)
{
$this->dataSource = $dataSource;
}
/**
* @return string
*/
public function getDataSource()
{
return $this->dataSource;
}
/**
* @param string
*/
public function setMerchantReviewId($merchantReviewId)
{
$this->merchantReviewId = $merchantReviewId;
}
/**
* @return string
*/
public function getMerchantReviewId()
{
return $this->merchantReviewId;
}
/**
* @param MerchantReviewStatus
*/
public function setMerchantReviewStatus(MerchantReviewStatus $merchantReviewStatus)
{
$this->merchantReviewStatus = $merchantReviewStatus;
}
/**
* @return MerchantReviewStatus
*/
public function getMerchantReviewStatus()
{
return $this->merchantReviewStatus;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MerchantReview::class, 'Google_Service_Merchant_MerchantReview');

View File

@@ -0,0 +1,305 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class MerchantReviewAttributes extends \Google\Model
{
/**
* @var string
*/
public $collectionMethod;
/**
* @var string
*/
public $content;
/**
* @var bool
*/
public $isAnonymous;
/**
* @var string
*/
public $maxRating;
/**
* @var string
*/
public $merchantDisplayName;
/**
* @var string
*/
public $merchantId;
/**
* @var string
*/
public $merchantLink;
/**
* @var string
*/
public $merchantRatingLink;
/**
* @var string
*/
public $minRating;
public $rating;
/**
* @var string
*/
public $reviewCountry;
/**
* @var string
*/
public $reviewLanguage;
/**
* @var string
*/
public $reviewTime;
/**
* @var string
*/
public $reviewerId;
/**
* @var string
*/
public $reviewerUsername;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setCollectionMethod($collectionMethod)
{
$this->collectionMethod = $collectionMethod;
}
/**
* @return string
*/
public function getCollectionMethod()
{
return $this->collectionMethod;
}
/**
* @param string
*/
public function setContent($content)
{
$this->content = $content;
}
/**
* @return string
*/
public function getContent()
{
return $this->content;
}
/**
* @param bool
*/
public function setIsAnonymous($isAnonymous)
{
$this->isAnonymous = $isAnonymous;
}
/**
* @return bool
*/
public function getIsAnonymous()
{
return $this->isAnonymous;
}
/**
* @param string
*/
public function setMaxRating($maxRating)
{
$this->maxRating = $maxRating;
}
/**
* @return string
*/
public function getMaxRating()
{
return $this->maxRating;
}
/**
* @param string
*/
public function setMerchantDisplayName($merchantDisplayName)
{
$this->merchantDisplayName = $merchantDisplayName;
}
/**
* @return string
*/
public function getMerchantDisplayName()
{
return $this->merchantDisplayName;
}
/**
* @param string
*/
public function setMerchantId($merchantId)
{
$this->merchantId = $merchantId;
}
/**
* @return string
*/
public function getMerchantId()
{
return $this->merchantId;
}
/**
* @param string
*/
public function setMerchantLink($merchantLink)
{
$this->merchantLink = $merchantLink;
}
/**
* @return string
*/
public function getMerchantLink()
{
return $this->merchantLink;
}
/**
* @param string
*/
public function setMerchantRatingLink($merchantRatingLink)
{
$this->merchantRatingLink = $merchantRatingLink;
}
/**
* @return string
*/
public function getMerchantRatingLink()
{
return $this->merchantRatingLink;
}
/**
* @param string
*/
public function setMinRating($minRating)
{
$this->minRating = $minRating;
}
/**
* @return string
*/
public function getMinRating()
{
return $this->minRating;
}
public function setRating($rating)
{
$this->rating = $rating;
}
public function getRating()
{
return $this->rating;
}
/**
* @param string
*/
public function setReviewCountry($reviewCountry)
{
$this->reviewCountry = $reviewCountry;
}
/**
* @return string
*/
public function getReviewCountry()
{
return $this->reviewCountry;
}
/**
* @param string
*/
public function setReviewLanguage($reviewLanguage)
{
$this->reviewLanguage = $reviewLanguage;
}
/**
* @return string
*/
public function getReviewLanguage()
{
return $this->reviewLanguage;
}
/**
* @param string
*/
public function setReviewTime($reviewTime)
{
$this->reviewTime = $reviewTime;
}
/**
* @return string
*/
public function getReviewTime()
{
return $this->reviewTime;
}
/**
* @param string
*/
public function setReviewerId($reviewerId)
{
$this->reviewerId = $reviewerId;
}
/**
* @return string
*/
public function getReviewerId()
{
return $this->reviewerId;
}
/**
* @param string
*/
public function setReviewerUsername($reviewerUsername)
{
$this->reviewerUsername = $reviewerUsername;
}
/**
* @return string
*/
public function getReviewerUsername()
{
return $this->reviewerUsername;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MerchantReviewAttributes::class, 'Google_Service_Merchant_MerchantReviewAttributes');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class MerchantReviewDestinationStatus extends \Google\Model
{
/**
* @var string
*/
public $reportingContext;
/**
* @param string
*/
public function setReportingContext($reportingContext)
{
$this->reportingContext = $reportingContext;
}
/**
* @return string
*/
public function getReportingContext()
{
return $this->reportingContext;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MerchantReviewDestinationStatus::class, 'Google_Service_Merchant_MerchantReviewDestinationStatus');

View File

@@ -0,0 +1,170 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class MerchantReviewItemLevelIssue extends \Google\Model
{
/**
* @var string
*/
public $attribute;
/**
* @var string
*/
public $code;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $detail;
/**
* @var string
*/
public $documentation;
/**
* @var string
*/
public $reportingContext;
/**
* @var string
*/
public $resolution;
/**
* @var string
*/
public $severity;
/**
* @param string
*/
public function setAttribute($attribute)
{
$this->attribute = $attribute;
}
/**
* @return string
*/
public function getAttribute()
{
return $this->attribute;
}
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDetail($detail)
{
$this->detail = $detail;
}
/**
* @return string
*/
public function getDetail()
{
return $this->detail;
}
/**
* @param string
*/
public function setDocumentation($documentation)
{
$this->documentation = $documentation;
}
/**
* @return string
*/
public function getDocumentation()
{
return $this->documentation;
}
/**
* @param string
*/
public function setReportingContext($reportingContext)
{
$this->reportingContext = $reportingContext;
}
/**
* @return string
*/
public function getReportingContext()
{
return $this->reportingContext;
}
/**
* @param string
*/
public function setResolution($resolution)
{
$this->resolution = $resolution;
}
/**
* @return string
*/
public function getResolution()
{
return $this->resolution;
}
/**
* @param string
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return string
*/
public function getSeverity()
{
return $this->severity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MerchantReviewItemLevelIssue::class, 'Google_Service_Merchant_MerchantReviewItemLevelIssue');

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class MerchantReviewStatus extends \Google\Collection
{
protected $collection_key = 'itemLevelIssues';
/**
* @var string
*/
public $createTime;
protected $destinationStatusesType = MerchantReviewDestinationStatus::class;
protected $destinationStatusesDataType = 'array';
protected $itemLevelIssuesType = MerchantReviewItemLevelIssue::class;
protected $itemLevelIssuesDataType = 'array';
/**
* @var string
*/
public $lastUpdateTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param MerchantReviewDestinationStatus[]
*/
public function setDestinationStatuses($destinationStatuses)
{
$this->destinationStatuses = $destinationStatuses;
}
/**
* @return MerchantReviewDestinationStatus[]
*/
public function getDestinationStatuses()
{
return $this->destinationStatuses;
}
/**
* @param MerchantReviewItemLevelIssue[]
*/
public function setItemLevelIssues($itemLevelIssues)
{
$this->itemLevelIssues = $itemLevelIssues;
}
/**
* @return MerchantReviewItemLevelIssue[]
*/
public function getItemLevelIssues()
{
return $this->itemLevelIssues;
}
/**
* @param string
*/
public function setLastUpdateTime($lastUpdateTime)
{
$this->lastUpdateTime = $lastUpdateTime;
}
/**
* @return string
*/
public function getLastUpdateTime()
{
return $this->lastUpdateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MerchantReviewStatus::class, 'Google_Service_Merchant_MerchantReviewStatus');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class MerchantapiEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MerchantapiEmpty::class, 'Google_Service_Merchant_MerchantapiEmpty');

View File

@@ -0,0 +1,103 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class NonProductPerformanceView extends \Google\Model
{
public $clickThroughRate;
/**
* @var string
*/
public $clicks;
protected $dateType = Date::class;
protected $dateDataType = '';
/**
* @var string
*/
public $impressions;
protected $weekType = Date::class;
protected $weekDataType = '';
public function setClickThroughRate($clickThroughRate)
{
$this->clickThroughRate = $clickThroughRate;
}
public function getClickThroughRate()
{
return $this->clickThroughRate;
}
/**
* @param string
*/
public function setClicks($clicks)
{
$this->clicks = $clicks;
}
/**
* @return string
*/
public function getClicks()
{
return $this->clicks;
}
/**
* @param Date
*/
public function setDate(Date $date)
{
$this->date = $date;
}
/**
* @return Date
*/
public function getDate()
{
return $this->date;
}
/**
* @param string
*/
public function setImpressions($impressions)
{
$this->impressions = $impressions;
}
/**
* @return string
*/
public function getImpressions()
{
return $this->impressions;
}
/**
* @param Date
*/
public function setWeek(Date $week)
{
$this->week = $week;
}
/**
* @return Date
*/
public function getWeek()
{
return $this->week;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NonProductPerformanceView::class, 'Google_Service_Merchant_NonProductPerformanceView');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class Price extends \Google\Model
{
/**
* @var string
*/
public $amountMicros;
/**
* @var string
*/
public $currencyCode;
/**
* @param string
*/
public function setAmountMicros($amountMicros)
{
$this->amountMicros = $amountMicros;
}
/**
* @return string
*/
public function getAmountMicros()
{
return $this->amountMicros;
}
/**
* @param string
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Price::class, 'Google_Service_Merchant_Price');

View File

@@ -0,0 +1,328 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class PriceCompetitivenessProductView extends \Google\Model
{
protected $benchmarkPriceType = Price::class;
protected $benchmarkPriceDataType = '';
/**
* @var string
*/
public $brand;
/**
* @var string
*/
public $categoryL1;
/**
* @var string
*/
public $categoryL2;
/**
* @var string
*/
public $categoryL3;
/**
* @var string
*/
public $categoryL4;
/**
* @var string
*/
public $categoryL5;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $offerId;
protected $priceType = Price::class;
protected $priceDataType = '';
/**
* @var string
*/
public $productTypeL1;
/**
* @var string
*/
public $productTypeL2;
/**
* @var string
*/
public $productTypeL3;
/**
* @var string
*/
public $productTypeL4;
/**
* @var string
*/
public $productTypeL5;
/**
* @var string
*/
public $reportCountryCode;
/**
* @var string
*/
public $title;
/**
* @param Price
*/
public function setBenchmarkPrice(Price $benchmarkPrice)
{
$this->benchmarkPrice = $benchmarkPrice;
}
/**
* @return Price
*/
public function getBenchmarkPrice()
{
return $this->benchmarkPrice;
}
/**
* @param string
*/
public function setBrand($brand)
{
$this->brand = $brand;
}
/**
* @return string
*/
public function getBrand()
{
return $this->brand;
}
/**
* @param string
*/
public function setCategoryL1($categoryL1)
{
$this->categoryL1 = $categoryL1;
}
/**
* @return string
*/
public function getCategoryL1()
{
return $this->categoryL1;
}
/**
* @param string
*/
public function setCategoryL2($categoryL2)
{
$this->categoryL2 = $categoryL2;
}
/**
* @return string
*/
public function getCategoryL2()
{
return $this->categoryL2;
}
/**
* @param string
*/
public function setCategoryL3($categoryL3)
{
$this->categoryL3 = $categoryL3;
}
/**
* @return string
*/
public function getCategoryL3()
{
return $this->categoryL3;
}
/**
* @param string
*/
public function setCategoryL4($categoryL4)
{
$this->categoryL4 = $categoryL4;
}
/**
* @return string
*/
public function getCategoryL4()
{
return $this->categoryL4;
}
/**
* @param string
*/
public function setCategoryL5($categoryL5)
{
$this->categoryL5 = $categoryL5;
}
/**
* @return string
*/
public function getCategoryL5()
{
return $this->categoryL5;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setOfferId($offerId)
{
$this->offerId = $offerId;
}
/**
* @return string
*/
public function getOfferId()
{
return $this->offerId;
}
/**
* @param Price
*/
public function setPrice(Price $price)
{
$this->price = $price;
}
/**
* @return Price
*/
public function getPrice()
{
return $this->price;
}
/**
* @param string
*/
public function setProductTypeL1($productTypeL1)
{
$this->productTypeL1 = $productTypeL1;
}
/**
* @return string
*/
public function getProductTypeL1()
{
return $this->productTypeL1;
}
/**
* @param string
*/
public function setProductTypeL2($productTypeL2)
{
$this->productTypeL2 = $productTypeL2;
}
/**
* @return string
*/
public function getProductTypeL2()
{
return $this->productTypeL2;
}
/**
* @param string
*/
public function setProductTypeL3($productTypeL3)
{
$this->productTypeL3 = $productTypeL3;
}
/**
* @return string
*/
public function getProductTypeL3()
{
return $this->productTypeL3;
}
/**
* @param string
*/
public function setProductTypeL4($productTypeL4)
{
$this->productTypeL4 = $productTypeL4;
}
/**
* @return string
*/
public function getProductTypeL4()
{
return $this->productTypeL4;
}
/**
* @param string
*/
public function setProductTypeL5($productTypeL5)
{
$this->productTypeL5 = $productTypeL5;
}
/**
* @return string
*/
public function getProductTypeL5()
{
return $this->productTypeL5;
}
/**
* @param string
*/
public function setReportCountryCode($reportCountryCode)
{
$this->reportCountryCode = $reportCountryCode;
}
/**
* @return string
*/
public function getReportCountryCode()
{
return $this->reportCountryCode;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PriceCompetitivenessProductView::class, 'Google_Service_Merchant_PriceCompetitivenessProductView');

View File

@@ -0,0 +1,355 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class PriceInsightsProductView extends \Google\Model
{
/**
* @var string
*/
public $brand;
/**
* @var string
*/
public $categoryL1;
/**
* @var string
*/
public $categoryL2;
/**
* @var string
*/
public $categoryL3;
/**
* @var string
*/
public $categoryL4;
/**
* @var string
*/
public $categoryL5;
/**
* @var string
*/
public $effectiveness;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $offerId;
public $predictedClicksChangeFraction;
public $predictedConversionsChangeFraction;
public $predictedImpressionsChangeFraction;
protected $priceType = Price::class;
protected $priceDataType = '';
/**
* @var string
*/
public $productTypeL1;
/**
* @var string
*/
public $productTypeL2;
/**
* @var string
*/
public $productTypeL3;
/**
* @var string
*/
public $productTypeL4;
/**
* @var string
*/
public $productTypeL5;
protected $suggestedPriceType = Price::class;
protected $suggestedPriceDataType = '';
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setBrand($brand)
{
$this->brand = $brand;
}
/**
* @return string
*/
public function getBrand()
{
return $this->brand;
}
/**
* @param string
*/
public function setCategoryL1($categoryL1)
{
$this->categoryL1 = $categoryL1;
}
/**
* @return string
*/
public function getCategoryL1()
{
return $this->categoryL1;
}
/**
* @param string
*/
public function setCategoryL2($categoryL2)
{
$this->categoryL2 = $categoryL2;
}
/**
* @return string
*/
public function getCategoryL2()
{
return $this->categoryL2;
}
/**
* @param string
*/
public function setCategoryL3($categoryL3)
{
$this->categoryL3 = $categoryL3;
}
/**
* @return string
*/
public function getCategoryL3()
{
return $this->categoryL3;
}
/**
* @param string
*/
public function setCategoryL4($categoryL4)
{
$this->categoryL4 = $categoryL4;
}
/**
* @return string
*/
public function getCategoryL4()
{
return $this->categoryL4;
}
/**
* @param string
*/
public function setCategoryL5($categoryL5)
{
$this->categoryL5 = $categoryL5;
}
/**
* @return string
*/
public function getCategoryL5()
{
return $this->categoryL5;
}
/**
* @param string
*/
public function setEffectiveness($effectiveness)
{
$this->effectiveness = $effectiveness;
}
/**
* @return string
*/
public function getEffectiveness()
{
return $this->effectiveness;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setOfferId($offerId)
{
$this->offerId = $offerId;
}
/**
* @return string
*/
public function getOfferId()
{
return $this->offerId;
}
public function setPredictedClicksChangeFraction($predictedClicksChangeFraction)
{
$this->predictedClicksChangeFraction = $predictedClicksChangeFraction;
}
public function getPredictedClicksChangeFraction()
{
return $this->predictedClicksChangeFraction;
}
public function setPredictedConversionsChangeFraction($predictedConversionsChangeFraction)
{
$this->predictedConversionsChangeFraction = $predictedConversionsChangeFraction;
}
public function getPredictedConversionsChangeFraction()
{
return $this->predictedConversionsChangeFraction;
}
public function setPredictedImpressionsChangeFraction($predictedImpressionsChangeFraction)
{
$this->predictedImpressionsChangeFraction = $predictedImpressionsChangeFraction;
}
public function getPredictedImpressionsChangeFraction()
{
return $this->predictedImpressionsChangeFraction;
}
/**
* @param Price
*/
public function setPrice(Price $price)
{
$this->price = $price;
}
/**
* @return Price
*/
public function getPrice()
{
return $this->price;
}
/**
* @param string
*/
public function setProductTypeL1($productTypeL1)
{
$this->productTypeL1 = $productTypeL1;
}
/**
* @return string
*/
public function getProductTypeL1()
{
return $this->productTypeL1;
}
/**
* @param string
*/
public function setProductTypeL2($productTypeL2)
{
$this->productTypeL2 = $productTypeL2;
}
/**
* @return string
*/
public function getProductTypeL2()
{
return $this->productTypeL2;
}
/**
* @param string
*/
public function setProductTypeL3($productTypeL3)
{
$this->productTypeL3 = $productTypeL3;
}
/**
* @return string
*/
public function getProductTypeL3()
{
return $this->productTypeL3;
}
/**
* @param string
*/
public function setProductTypeL4($productTypeL4)
{
$this->productTypeL4 = $productTypeL4;
}
/**
* @return string
*/
public function getProductTypeL4()
{
return $this->productTypeL4;
}
/**
* @param string
*/
public function setProductTypeL5($productTypeL5)
{
$this->productTypeL5 = $productTypeL5;
}
/**
* @return string
*/
public function getProductTypeL5()
{
return $this->productTypeL5;
}
/**
* @param Price
*/
public function setSuggestedPrice(Price $suggestedPrice)
{
$this->suggestedPrice = $suggestedPrice;
}
/**
* @return Price
*/
public function getSuggestedPrice()
{
return $this->suggestedPrice;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PriceInsightsProductView::class, 'Google_Service_Merchant_PriceInsightsProductView');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class ProductChange extends \Google\Model
{
/**
* @var string
*/
public $newValue;
/**
* @var string
*/
public $oldValue;
/**
* @var string
*/
public $regionCode;
/**
* @var string
*/
public $reportingContext;
/**
* @param string
*/
public function setNewValue($newValue)
{
$this->newValue = $newValue;
}
/**
* @return string
*/
public function getNewValue()
{
return $this->newValue;
}
/**
* @param string
*/
public function setOldValue($oldValue)
{
$this->oldValue = $oldValue;
}
/**
* @return string
*/
public function getOldValue()
{
return $this->oldValue;
}
/**
* @param string
*/
public function setRegionCode($regionCode)
{
$this->regionCode = $regionCode;
}
/**
* @return string
*/
public function getRegionCode()
{
return $this->regionCode;
}
/**
* @param string
*/
public function setReportingContext($reportingContext)
{
$this->reportingContext = $reportingContext;
}
/**
* @return string
*/
public function getReportingContext()
{
return $this->reportingContext;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProductChange::class, 'Google_Service_Merchant_ProductChange');

View File

@@ -0,0 +1,497 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class ProductPerformanceView extends \Google\Model
{
/**
* @var string
*/
public $brand;
/**
* @var string
*/
public $categoryL1;
/**
* @var string
*/
public $categoryL2;
/**
* @var string
*/
public $categoryL3;
/**
* @var string
*/
public $categoryL4;
/**
* @var string
*/
public $categoryL5;
public $clickThroughRate;
/**
* @var string
*/
public $clicks;
public $conversionRate;
protected $conversionValueType = Price::class;
protected $conversionValueDataType = '';
public $conversions;
/**
* @var string
*/
public $customLabel0;
/**
* @var string
*/
public $customLabel1;
/**
* @var string
*/
public $customLabel2;
/**
* @var string
*/
public $customLabel3;
/**
* @var string
*/
public $customLabel4;
/**
* @var string
*/
public $customerCountryCode;
protected $dateType = Date::class;
protected $dateDataType = '';
/**
* @var string
*/
public $impressions;
/**
* @var string
*/
public $marketingMethod;
/**
* @var string
*/
public $offerId;
/**
* @var string
*/
public $productTypeL1;
/**
* @var string
*/
public $productTypeL2;
/**
* @var string
*/
public $productTypeL3;
/**
* @var string
*/
public $productTypeL4;
/**
* @var string
*/
public $productTypeL5;
/**
* @var string
*/
public $title;
protected $weekType = Date::class;
protected $weekDataType = '';
/**
* @param string
*/
public function setBrand($brand)
{
$this->brand = $brand;
}
/**
* @return string
*/
public function getBrand()
{
return $this->brand;
}
/**
* @param string
*/
public function setCategoryL1($categoryL1)
{
$this->categoryL1 = $categoryL1;
}
/**
* @return string
*/
public function getCategoryL1()
{
return $this->categoryL1;
}
/**
* @param string
*/
public function setCategoryL2($categoryL2)
{
$this->categoryL2 = $categoryL2;
}
/**
* @return string
*/
public function getCategoryL2()
{
return $this->categoryL2;
}
/**
* @param string
*/
public function setCategoryL3($categoryL3)
{
$this->categoryL3 = $categoryL3;
}
/**
* @return string
*/
public function getCategoryL3()
{
return $this->categoryL3;
}
/**
* @param string
*/
public function setCategoryL4($categoryL4)
{
$this->categoryL4 = $categoryL4;
}
/**
* @return string
*/
public function getCategoryL4()
{
return $this->categoryL4;
}
/**
* @param string
*/
public function setCategoryL5($categoryL5)
{
$this->categoryL5 = $categoryL5;
}
/**
* @return string
*/
public function getCategoryL5()
{
return $this->categoryL5;
}
public function setClickThroughRate($clickThroughRate)
{
$this->clickThroughRate = $clickThroughRate;
}
public function getClickThroughRate()
{
return $this->clickThroughRate;
}
/**
* @param string
*/
public function setClicks($clicks)
{
$this->clicks = $clicks;
}
/**
* @return string
*/
public function getClicks()
{
return $this->clicks;
}
public function setConversionRate($conversionRate)
{
$this->conversionRate = $conversionRate;
}
public function getConversionRate()
{
return $this->conversionRate;
}
/**
* @param Price
*/
public function setConversionValue(Price $conversionValue)
{
$this->conversionValue = $conversionValue;
}
/**
* @return Price
*/
public function getConversionValue()
{
return $this->conversionValue;
}
public function setConversions($conversions)
{
$this->conversions = $conversions;
}
public function getConversions()
{
return $this->conversions;
}
/**
* @param string
*/
public function setCustomLabel0($customLabel0)
{
$this->customLabel0 = $customLabel0;
}
/**
* @return string
*/
public function getCustomLabel0()
{
return $this->customLabel0;
}
/**
* @param string
*/
public function setCustomLabel1($customLabel1)
{
$this->customLabel1 = $customLabel1;
}
/**
* @return string
*/
public function getCustomLabel1()
{
return $this->customLabel1;
}
/**
* @param string
*/
public function setCustomLabel2($customLabel2)
{
$this->customLabel2 = $customLabel2;
}
/**
* @return string
*/
public function getCustomLabel2()
{
return $this->customLabel2;
}
/**
* @param string
*/
public function setCustomLabel3($customLabel3)
{
$this->customLabel3 = $customLabel3;
}
/**
* @return string
*/
public function getCustomLabel3()
{
return $this->customLabel3;
}
/**
* @param string
*/
public function setCustomLabel4($customLabel4)
{
$this->customLabel4 = $customLabel4;
}
/**
* @return string
*/
public function getCustomLabel4()
{
return $this->customLabel4;
}
/**
* @param string
*/
public function setCustomerCountryCode($customerCountryCode)
{
$this->customerCountryCode = $customerCountryCode;
}
/**
* @return string
*/
public function getCustomerCountryCode()
{
return $this->customerCountryCode;
}
/**
* @param Date
*/
public function setDate(Date $date)
{
$this->date = $date;
}
/**
* @return Date
*/
public function getDate()
{
return $this->date;
}
/**
* @param string
*/
public function setImpressions($impressions)
{
$this->impressions = $impressions;
}
/**
* @return string
*/
public function getImpressions()
{
return $this->impressions;
}
/**
* @param string
*/
public function setMarketingMethod($marketingMethod)
{
$this->marketingMethod = $marketingMethod;
}
/**
* @return string
*/
public function getMarketingMethod()
{
return $this->marketingMethod;
}
/**
* @param string
*/
public function setOfferId($offerId)
{
$this->offerId = $offerId;
}
/**
* @return string
*/
public function getOfferId()
{
return $this->offerId;
}
/**
* @param string
*/
public function setProductTypeL1($productTypeL1)
{
$this->productTypeL1 = $productTypeL1;
}
/**
* @return string
*/
public function getProductTypeL1()
{
return $this->productTypeL1;
}
/**
* @param string
*/
public function setProductTypeL2($productTypeL2)
{
$this->productTypeL2 = $productTypeL2;
}
/**
* @return string
*/
public function getProductTypeL2()
{
return $this->productTypeL2;
}
/**
* @param string
*/
public function setProductTypeL3($productTypeL3)
{
$this->productTypeL3 = $productTypeL3;
}
/**
* @return string
*/
public function getProductTypeL3()
{
return $this->productTypeL3;
}
/**
* @param string
*/
public function setProductTypeL4($productTypeL4)
{
$this->productTypeL4 = $productTypeL4;
}
/**
* @return string
*/
public function getProductTypeL4()
{
return $this->productTypeL4;
}
/**
* @param string
*/
public function setProductTypeL5($productTypeL5)
{
$this->productTypeL5 = $productTypeL5;
}
/**
* @return string
*/
public function getProductTypeL5()
{
return $this->productTypeL5;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @param Date
*/
public function setWeek(Date $week)
{
$this->week = $week;
}
/**
* @return Date
*/
public function getWeek()
{
return $this->week;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProductPerformanceView::class, 'Google_Service_Merchant_ProductPerformanceView');

View File

@@ -0,0 +1,129 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class ProductReview extends \Google\Collection
{
protected $collection_key = 'customAttributes';
protected $attributesType = ProductReviewAttributes::class;
protected $attributesDataType = '';
protected $customAttributesType = CustomAttribute::class;
protected $customAttributesDataType = 'array';
/**
* @var string
*/
public $dataSource;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $productReviewId;
protected $productReviewStatusType = ProductReviewStatus::class;
protected $productReviewStatusDataType = '';
/**
* @param ProductReviewAttributes
*/
public function setAttributes(ProductReviewAttributes $attributes)
{
$this->attributes = $attributes;
}
/**
* @return ProductReviewAttributes
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* @param CustomAttribute[]
*/
public function setCustomAttributes($customAttributes)
{
$this->customAttributes = $customAttributes;
}
/**
* @return CustomAttribute[]
*/
public function getCustomAttributes()
{
return $this->customAttributes;
}
/**
* @param string
*/
public function setDataSource($dataSource)
{
$this->dataSource = $dataSource;
}
/**
* @return string
*/
public function getDataSource()
{
return $this->dataSource;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setProductReviewId($productReviewId)
{
$this->productReviewId = $productReviewId;
}
/**
* @return string
*/
public function getProductReviewId()
{
return $this->productReviewId;
}
/**
* @param ProductReviewStatus
*/
public function setProductReviewStatus(ProductReviewStatus $productReviewStatus)
{
$this->productReviewStatus = $productReviewStatus;
}
/**
* @return ProductReviewStatus
*/
public function getProductReviewStatus()
{
return $this->productReviewStatus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProductReview::class, 'Google_Service_Merchant_ProductReview');

View File

@@ -0,0 +1,538 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class ProductReviewAttributes extends \Google\Collection
{
protected $collection_key = 'skus';
/**
* @var string
*/
public $aggregatorName;
/**
* @var string[]
*/
public $asins;
/**
* @var string[]
*/
public $brands;
/**
* @var string
*/
public $collectionMethod;
/**
* @var string[]
*/
public $cons;
/**
* @var string
*/
public $content;
/**
* @var string[]
*/
public $gtins;
/**
* @var bool
*/
public $isSpam;
/**
* @var string
*/
public $maxRating;
/**
* @var string
*/
public $minRating;
/**
* @var string[]
*/
public $mpns;
/**
* @var string[]
*/
public $productLinks;
/**
* @var string[]
*/
public $productNames;
/**
* @var string[]
*/
public $pros;
/**
* @var string
*/
public $publisherFavicon;
/**
* @var string
*/
public $publisherName;
public $rating;
/**
* @var string
*/
public $reviewCountry;
/**
* @var string
*/
public $reviewLanguage;
protected $reviewLinkType = ReviewLink::class;
protected $reviewLinkDataType = '';
/**
* @var string
*/
public $reviewTime;
/**
* @var string
*/
public $reviewerId;
/**
* @var string[]
*/
public $reviewerImageLinks;
/**
* @var bool
*/
public $reviewerIsAnonymous;
/**
* @var string
*/
public $reviewerUsername;
/**
* @var string[]
*/
public $skus;
/**
* @var string
*/
public $subclientName;
/**
* @var string
*/
public $title;
/**
* @var string
*/
public $transactionId;
/**
* @param string
*/
public function setAggregatorName($aggregatorName)
{
$this->aggregatorName = $aggregatorName;
}
/**
* @return string
*/
public function getAggregatorName()
{
return $this->aggregatorName;
}
/**
* @param string[]
*/
public function setAsins($asins)
{
$this->asins = $asins;
}
/**
* @return string[]
*/
public function getAsins()
{
return $this->asins;
}
/**
* @param string[]
*/
public function setBrands($brands)
{
$this->brands = $brands;
}
/**
* @return string[]
*/
public function getBrands()
{
return $this->brands;
}
/**
* @param string
*/
public function setCollectionMethod($collectionMethod)
{
$this->collectionMethod = $collectionMethod;
}
/**
* @return string
*/
public function getCollectionMethod()
{
return $this->collectionMethod;
}
/**
* @param string[]
*/
public function setCons($cons)
{
$this->cons = $cons;
}
/**
* @return string[]
*/
public function getCons()
{
return $this->cons;
}
/**
* @param string
*/
public function setContent($content)
{
$this->content = $content;
}
/**
* @return string
*/
public function getContent()
{
return $this->content;
}
/**
* @param string[]
*/
public function setGtins($gtins)
{
$this->gtins = $gtins;
}
/**
* @return string[]
*/
public function getGtins()
{
return $this->gtins;
}
/**
* @param bool
*/
public function setIsSpam($isSpam)
{
$this->isSpam = $isSpam;
}
/**
* @return bool
*/
public function getIsSpam()
{
return $this->isSpam;
}
/**
* @param string
*/
public function setMaxRating($maxRating)
{
$this->maxRating = $maxRating;
}
/**
* @return string
*/
public function getMaxRating()
{
return $this->maxRating;
}
/**
* @param string
*/
public function setMinRating($minRating)
{
$this->minRating = $minRating;
}
/**
* @return string
*/
public function getMinRating()
{
return $this->minRating;
}
/**
* @param string[]
*/
public function setMpns($mpns)
{
$this->mpns = $mpns;
}
/**
* @return string[]
*/
public function getMpns()
{
return $this->mpns;
}
/**
* @param string[]
*/
public function setProductLinks($productLinks)
{
$this->productLinks = $productLinks;
}
/**
* @return string[]
*/
public function getProductLinks()
{
return $this->productLinks;
}
/**
* @param string[]
*/
public function setProductNames($productNames)
{
$this->productNames = $productNames;
}
/**
* @return string[]
*/
public function getProductNames()
{
return $this->productNames;
}
/**
* @param string[]
*/
public function setPros($pros)
{
$this->pros = $pros;
}
/**
* @return string[]
*/
public function getPros()
{
return $this->pros;
}
/**
* @param string
*/
public function setPublisherFavicon($publisherFavicon)
{
$this->publisherFavicon = $publisherFavicon;
}
/**
* @return string
*/
public function getPublisherFavicon()
{
return $this->publisherFavicon;
}
/**
* @param string
*/
public function setPublisherName($publisherName)
{
$this->publisherName = $publisherName;
}
/**
* @return string
*/
public function getPublisherName()
{
return $this->publisherName;
}
public function setRating($rating)
{
$this->rating = $rating;
}
public function getRating()
{
return $this->rating;
}
/**
* @param string
*/
public function setReviewCountry($reviewCountry)
{
$this->reviewCountry = $reviewCountry;
}
/**
* @return string
*/
public function getReviewCountry()
{
return $this->reviewCountry;
}
/**
* @param string
*/
public function setReviewLanguage($reviewLanguage)
{
$this->reviewLanguage = $reviewLanguage;
}
/**
* @return string
*/
public function getReviewLanguage()
{
return $this->reviewLanguage;
}
/**
* @param ReviewLink
*/
public function setReviewLink(ReviewLink $reviewLink)
{
$this->reviewLink = $reviewLink;
}
/**
* @return ReviewLink
*/
public function getReviewLink()
{
return $this->reviewLink;
}
/**
* @param string
*/
public function setReviewTime($reviewTime)
{
$this->reviewTime = $reviewTime;
}
/**
* @return string
*/
public function getReviewTime()
{
return $this->reviewTime;
}
/**
* @param string
*/
public function setReviewerId($reviewerId)
{
$this->reviewerId = $reviewerId;
}
/**
* @return string
*/
public function getReviewerId()
{
return $this->reviewerId;
}
/**
* @param string[]
*/
public function setReviewerImageLinks($reviewerImageLinks)
{
$this->reviewerImageLinks = $reviewerImageLinks;
}
/**
* @return string[]
*/
public function getReviewerImageLinks()
{
return $this->reviewerImageLinks;
}
/**
* @param bool
*/
public function setReviewerIsAnonymous($reviewerIsAnonymous)
{
$this->reviewerIsAnonymous = $reviewerIsAnonymous;
}
/**
* @return bool
*/
public function getReviewerIsAnonymous()
{
return $this->reviewerIsAnonymous;
}
/**
* @param string
*/
public function setReviewerUsername($reviewerUsername)
{
$this->reviewerUsername = $reviewerUsername;
}
/**
* @return string
*/
public function getReviewerUsername()
{
return $this->reviewerUsername;
}
/**
* @param string[]
*/
public function setSkus($skus)
{
$this->skus = $skus;
}
/**
* @return string[]
*/
public function getSkus()
{
return $this->skus;
}
/**
* @param string
*/
public function setSubclientName($subclientName)
{
$this->subclientName = $subclientName;
}
/**
* @return string
*/
public function getSubclientName()
{
return $this->subclientName;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @param string
*/
public function setTransactionId($transactionId)
{
$this->transactionId = $transactionId;
}
/**
* @return string
*/
public function getTransactionId()
{
return $this->transactionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProductReviewAttributes::class, 'Google_Service_Merchant_ProductReviewAttributes');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class ProductReviewDestinationStatus extends \Google\Model
{
/**
* @var string
*/
public $reportingContext;
/**
* @param string
*/
public function setReportingContext($reportingContext)
{
$this->reportingContext = $reportingContext;
}
/**
* @return string
*/
public function getReportingContext()
{
return $this->reportingContext;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProductReviewDestinationStatus::class, 'Google_Service_Merchant_ProductReviewDestinationStatus');

View File

@@ -0,0 +1,170 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class ProductReviewItemLevelIssue extends \Google\Model
{
/**
* @var string
*/
public $attribute;
/**
* @var string
*/
public $code;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $detail;
/**
* @var string
*/
public $documentation;
/**
* @var string
*/
public $reportingContext;
/**
* @var string
*/
public $resolution;
/**
* @var string
*/
public $severity;
/**
* @param string
*/
public function setAttribute($attribute)
{
$this->attribute = $attribute;
}
/**
* @return string
*/
public function getAttribute()
{
return $this->attribute;
}
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDetail($detail)
{
$this->detail = $detail;
}
/**
* @return string
*/
public function getDetail()
{
return $this->detail;
}
/**
* @param string
*/
public function setDocumentation($documentation)
{
$this->documentation = $documentation;
}
/**
* @return string
*/
public function getDocumentation()
{
return $this->documentation;
}
/**
* @param string
*/
public function setReportingContext($reportingContext)
{
$this->reportingContext = $reportingContext;
}
/**
* @return string
*/
public function getReportingContext()
{
return $this->reportingContext;
}
/**
* @param string
*/
public function setResolution($resolution)
{
$this->resolution = $resolution;
}
/**
* @return string
*/
public function getResolution()
{
return $this->resolution;
}
/**
* @param string
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return string
*/
public function getSeverity()
{
return $this->severity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProductReviewItemLevelIssue::class, 'Google_Service_Merchant_ProductReviewItemLevelIssue');

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class ProductReviewStatus extends \Google\Collection
{
protected $collection_key = 'itemLevelIssues';
/**
* @var string
*/
public $createTime;
protected $destinationStatusesType = ProductReviewDestinationStatus::class;
protected $destinationStatusesDataType = 'array';
protected $itemLevelIssuesType = ProductReviewItemLevelIssue::class;
protected $itemLevelIssuesDataType = 'array';
/**
* @var string
*/
public $lastUpdateTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param ProductReviewDestinationStatus[]
*/
public function setDestinationStatuses($destinationStatuses)
{
$this->destinationStatuses = $destinationStatuses;
}
/**
* @return ProductReviewDestinationStatus[]
*/
public function getDestinationStatuses()
{
return $this->destinationStatuses;
}
/**
* @param ProductReviewItemLevelIssue[]
*/
public function setItemLevelIssues($itemLevelIssues)
{
$this->itemLevelIssues = $itemLevelIssues;
}
/**
* @return ProductReviewItemLevelIssue[]
*/
public function getItemLevelIssues()
{
return $this->itemLevelIssues;
}
/**
* @param string
*/
public function setLastUpdateTime($lastUpdateTime)
{
$this->lastUpdateTime = $lastUpdateTime;
}
/**
* @return string
*/
public function getLastUpdateTime()
{
return $this->lastUpdateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProductReviewStatus::class, 'Google_Service_Merchant_ProductReviewStatus');

View File

@@ -0,0 +1,169 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class ProductStatusChangeMessage extends \Google\Collection
{
protected $collection_key = 'changes';
/**
* @var string
*/
public $account;
/**
* @var string
*/
public $attribute;
protected $changesType = ProductChange::class;
protected $changesDataType = 'array';
/**
* @var string
*/
public $expirationTime;
/**
* @var string
*/
public $managingAccount;
/**
* @var string
*/
public $resource;
/**
* @var string
*/
public $resourceId;
/**
* @var string
*/
public $resourceType;
/**
* @param string
*/
public function setAccount($account)
{
$this->account = $account;
}
/**
* @return string
*/
public function getAccount()
{
return $this->account;
}
/**
* @param string
*/
public function setAttribute($attribute)
{
$this->attribute = $attribute;
}
/**
* @return string
*/
public function getAttribute()
{
return $this->attribute;
}
/**
* @param ProductChange[]
*/
public function setChanges($changes)
{
$this->changes = $changes;
}
/**
* @return ProductChange[]
*/
public function getChanges()
{
return $this->changes;
}
/**
* @param string
*/
public function setExpirationTime($expirationTime)
{
$this->expirationTime = $expirationTime;
}
/**
* @return string
*/
public function getExpirationTime()
{
return $this->expirationTime;
}
/**
* @param string
*/
public function setManagingAccount($managingAccount)
{
$this->managingAccount = $managingAccount;
}
/**
* @return string
*/
public function getManagingAccount()
{
return $this->managingAccount;
}
/**
* @param string
*/
public function setResource($resource)
{
$this->resource = $resource;
}
/**
* @return string
*/
public function getResource()
{
return $this->resource;
}
/**
* @param string
*/
public function setResourceId($resourceId)
{
$this->resourceId = $resourceId;
}
/**
* @return string
*/
public function getResourceId()
{
return $this->resourceId;
}
/**
* @param string
*/
public function setResourceType($resourceType)
{
$this->resourceType = $resourceType;
}
/**
* @return string
*/
public function getResourceType()
{
return $this->resourceType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProductStatusChangeMessage::class, 'Google_Service_Merchant_ProductStatusChangeMessage');

View File

@@ -0,0 +1,561 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class ProductView extends \Google\Collection
{
protected $collection_key = 'itemIssues';
/**
* @var string
*/
public $aggregatedReportingContextStatus;
/**
* @var string
*/
public $availability;
/**
* @var string
*/
public $brand;
/**
* @var string
*/
public $categoryL1;
/**
* @var string
*/
public $categoryL2;
/**
* @var string
*/
public $categoryL3;
/**
* @var string
*/
public $categoryL4;
/**
* @var string
*/
public $categoryL5;
/**
* @var string
*/
public $channel;
/**
* @var string
*/
public $clickPotential;
/**
* @var string
*/
public $clickPotentialRank;
/**
* @var string
*/
public $condition;
/**
* @var string
*/
public $creationTime;
protected $expirationDateType = Date::class;
protected $expirationDateDataType = '';
/**
* @var string
*/
public $feedLabel;
/**
* @var string[]
*/
public $gtin;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $itemGroupId;
protected $itemIssuesType = ItemIssue::class;
protected $itemIssuesDataType = 'array';
/**
* @var string
*/
public $languageCode;
/**
* @var string
*/
public $offerId;
protected $priceType = Price::class;
protected $priceDataType = '';
/**
* @var string
*/
public $productTypeL1;
/**
* @var string
*/
public $productTypeL2;
/**
* @var string
*/
public $productTypeL3;
/**
* @var string
*/
public $productTypeL4;
/**
* @var string
*/
public $productTypeL5;
/**
* @var string
*/
public $shippingLabel;
/**
* @var string
*/
public $thumbnailLink;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setAggregatedReportingContextStatus($aggregatedReportingContextStatus)
{
$this->aggregatedReportingContextStatus = $aggregatedReportingContextStatus;
}
/**
* @return string
*/
public function getAggregatedReportingContextStatus()
{
return $this->aggregatedReportingContextStatus;
}
/**
* @param string
*/
public function setAvailability($availability)
{
$this->availability = $availability;
}
/**
* @return string
*/
public function getAvailability()
{
return $this->availability;
}
/**
* @param string
*/
public function setBrand($brand)
{
$this->brand = $brand;
}
/**
* @return string
*/
public function getBrand()
{
return $this->brand;
}
/**
* @param string
*/
public function setCategoryL1($categoryL1)
{
$this->categoryL1 = $categoryL1;
}
/**
* @return string
*/
public function getCategoryL1()
{
return $this->categoryL1;
}
/**
* @param string
*/
public function setCategoryL2($categoryL2)
{
$this->categoryL2 = $categoryL2;
}
/**
* @return string
*/
public function getCategoryL2()
{
return $this->categoryL2;
}
/**
* @param string
*/
public function setCategoryL3($categoryL3)
{
$this->categoryL3 = $categoryL3;
}
/**
* @return string
*/
public function getCategoryL3()
{
return $this->categoryL3;
}
/**
* @param string
*/
public function setCategoryL4($categoryL4)
{
$this->categoryL4 = $categoryL4;
}
/**
* @return string
*/
public function getCategoryL4()
{
return $this->categoryL4;
}
/**
* @param string
*/
public function setCategoryL5($categoryL5)
{
$this->categoryL5 = $categoryL5;
}
/**
* @return string
*/
public function getCategoryL5()
{
return $this->categoryL5;
}
/**
* @param string
*/
public function setChannel($channel)
{
$this->channel = $channel;
}
/**
* @return string
*/
public function getChannel()
{
return $this->channel;
}
/**
* @param string
*/
public function setClickPotential($clickPotential)
{
$this->clickPotential = $clickPotential;
}
/**
* @return string
*/
public function getClickPotential()
{
return $this->clickPotential;
}
/**
* @param string
*/
public function setClickPotentialRank($clickPotentialRank)
{
$this->clickPotentialRank = $clickPotentialRank;
}
/**
* @return string
*/
public function getClickPotentialRank()
{
return $this->clickPotentialRank;
}
/**
* @param string
*/
public function setCondition($condition)
{
$this->condition = $condition;
}
/**
* @return string
*/
public function getCondition()
{
return $this->condition;
}
/**
* @param string
*/
public function setCreationTime($creationTime)
{
$this->creationTime = $creationTime;
}
/**
* @return string
*/
public function getCreationTime()
{
return $this->creationTime;
}
/**
* @param Date
*/
public function setExpirationDate(Date $expirationDate)
{
$this->expirationDate = $expirationDate;
}
/**
* @return Date
*/
public function getExpirationDate()
{
return $this->expirationDate;
}
/**
* @param string
*/
public function setFeedLabel($feedLabel)
{
$this->feedLabel = $feedLabel;
}
/**
* @return string
*/
public function getFeedLabel()
{
return $this->feedLabel;
}
/**
* @param string[]
*/
public function setGtin($gtin)
{
$this->gtin = $gtin;
}
/**
* @return string[]
*/
public function getGtin()
{
return $this->gtin;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setItemGroupId($itemGroupId)
{
$this->itemGroupId = $itemGroupId;
}
/**
* @return string
*/
public function getItemGroupId()
{
return $this->itemGroupId;
}
/**
* @param ItemIssue[]
*/
public function setItemIssues($itemIssues)
{
$this->itemIssues = $itemIssues;
}
/**
* @return ItemIssue[]
*/
public function getItemIssues()
{
return $this->itemIssues;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param string
*/
public function setOfferId($offerId)
{
$this->offerId = $offerId;
}
/**
* @return string
*/
public function getOfferId()
{
return $this->offerId;
}
/**
* @param Price
*/
public function setPrice(Price $price)
{
$this->price = $price;
}
/**
* @return Price
*/
public function getPrice()
{
return $this->price;
}
/**
* @param string
*/
public function setProductTypeL1($productTypeL1)
{
$this->productTypeL1 = $productTypeL1;
}
/**
* @return string
*/
public function getProductTypeL1()
{
return $this->productTypeL1;
}
/**
* @param string
*/
public function setProductTypeL2($productTypeL2)
{
$this->productTypeL2 = $productTypeL2;
}
/**
* @return string
*/
public function getProductTypeL2()
{
return $this->productTypeL2;
}
/**
* @param string
*/
public function setProductTypeL3($productTypeL3)
{
$this->productTypeL3 = $productTypeL3;
}
/**
* @return string
*/
public function getProductTypeL3()
{
return $this->productTypeL3;
}
/**
* @param string
*/
public function setProductTypeL4($productTypeL4)
{
$this->productTypeL4 = $productTypeL4;
}
/**
* @return string
*/
public function getProductTypeL4()
{
return $this->productTypeL4;
}
/**
* @param string
*/
public function setProductTypeL5($productTypeL5)
{
$this->productTypeL5 = $productTypeL5;
}
/**
* @return string
*/
public function getProductTypeL5()
{
return $this->productTypeL5;
}
/**
* @param string
*/
public function setShippingLabel($shippingLabel)
{
$this->shippingLabel = $shippingLabel;
}
/**
* @return string
*/
public function getShippingLabel()
{
return $this->shippingLabel;
}
/**
* @param string
*/
public function setThumbnailLink($thumbnailLink)
{
$this->thumbnailLink = $thumbnailLink;
}
/**
* @return string
*/
public function getThumbnailLink()
{
return $this->thumbnailLink;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProductView::class, 'Google_Service_Merchant_ProductView');

View File

@@ -0,0 +1,186 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class ReportRow extends \Google\Model
{
protected $bestSellersBrandViewType = BestSellersBrandView::class;
protected $bestSellersBrandViewDataType = '';
protected $bestSellersProductClusterViewType = BestSellersProductClusterView::class;
protected $bestSellersProductClusterViewDataType = '';
protected $competitiveVisibilityBenchmarkViewType = CompetitiveVisibilityBenchmarkView::class;
protected $competitiveVisibilityBenchmarkViewDataType = '';
protected $competitiveVisibilityCompetitorViewType = CompetitiveVisibilityCompetitorView::class;
protected $competitiveVisibilityCompetitorViewDataType = '';
protected $competitiveVisibilityTopMerchantViewType = CompetitiveVisibilityTopMerchantView::class;
protected $competitiveVisibilityTopMerchantViewDataType = '';
protected $nonProductPerformanceViewType = NonProductPerformanceView::class;
protected $nonProductPerformanceViewDataType = '';
protected $priceCompetitivenessProductViewType = PriceCompetitivenessProductView::class;
protected $priceCompetitivenessProductViewDataType = '';
protected $priceInsightsProductViewType = PriceInsightsProductView::class;
protected $priceInsightsProductViewDataType = '';
protected $productPerformanceViewType = ProductPerformanceView::class;
protected $productPerformanceViewDataType = '';
protected $productViewType = ProductView::class;
protected $productViewDataType = '';
/**
* @param BestSellersBrandView
*/
public function setBestSellersBrandView(BestSellersBrandView $bestSellersBrandView)
{
$this->bestSellersBrandView = $bestSellersBrandView;
}
/**
* @return BestSellersBrandView
*/
public function getBestSellersBrandView()
{
return $this->bestSellersBrandView;
}
/**
* @param BestSellersProductClusterView
*/
public function setBestSellersProductClusterView(BestSellersProductClusterView $bestSellersProductClusterView)
{
$this->bestSellersProductClusterView = $bestSellersProductClusterView;
}
/**
* @return BestSellersProductClusterView
*/
public function getBestSellersProductClusterView()
{
return $this->bestSellersProductClusterView;
}
/**
* @param CompetitiveVisibilityBenchmarkView
*/
public function setCompetitiveVisibilityBenchmarkView(CompetitiveVisibilityBenchmarkView $competitiveVisibilityBenchmarkView)
{
$this->competitiveVisibilityBenchmarkView = $competitiveVisibilityBenchmarkView;
}
/**
* @return CompetitiveVisibilityBenchmarkView
*/
public function getCompetitiveVisibilityBenchmarkView()
{
return $this->competitiveVisibilityBenchmarkView;
}
/**
* @param CompetitiveVisibilityCompetitorView
*/
public function setCompetitiveVisibilityCompetitorView(CompetitiveVisibilityCompetitorView $competitiveVisibilityCompetitorView)
{
$this->competitiveVisibilityCompetitorView = $competitiveVisibilityCompetitorView;
}
/**
* @return CompetitiveVisibilityCompetitorView
*/
public function getCompetitiveVisibilityCompetitorView()
{
return $this->competitiveVisibilityCompetitorView;
}
/**
* @param CompetitiveVisibilityTopMerchantView
*/
public function setCompetitiveVisibilityTopMerchantView(CompetitiveVisibilityTopMerchantView $competitiveVisibilityTopMerchantView)
{
$this->competitiveVisibilityTopMerchantView = $competitiveVisibilityTopMerchantView;
}
/**
* @return CompetitiveVisibilityTopMerchantView
*/
public function getCompetitiveVisibilityTopMerchantView()
{
return $this->competitiveVisibilityTopMerchantView;
}
/**
* @param NonProductPerformanceView
*/
public function setNonProductPerformanceView(NonProductPerformanceView $nonProductPerformanceView)
{
$this->nonProductPerformanceView = $nonProductPerformanceView;
}
/**
* @return NonProductPerformanceView
*/
public function getNonProductPerformanceView()
{
return $this->nonProductPerformanceView;
}
/**
* @param PriceCompetitivenessProductView
*/
public function setPriceCompetitivenessProductView(PriceCompetitivenessProductView $priceCompetitivenessProductView)
{
$this->priceCompetitivenessProductView = $priceCompetitivenessProductView;
}
/**
* @return PriceCompetitivenessProductView
*/
public function getPriceCompetitivenessProductView()
{
return $this->priceCompetitivenessProductView;
}
/**
* @param PriceInsightsProductView
*/
public function setPriceInsightsProductView(PriceInsightsProductView $priceInsightsProductView)
{
$this->priceInsightsProductView = $priceInsightsProductView;
}
/**
* @return PriceInsightsProductView
*/
public function getPriceInsightsProductView()
{
return $this->priceInsightsProductView;
}
/**
* @param ProductPerformanceView
*/
public function setProductPerformanceView(ProductPerformanceView $productPerformanceView)
{
$this->productPerformanceView = $productPerformanceView;
}
/**
* @return ProductPerformanceView
*/
public function getProductPerformanceView()
{
return $this->productPerformanceView;
}
/**
* @param ProductView
*/
public function setProductView(ProductView $productView)
{
$this->productView = $productView;
}
/**
* @return ProductView
*/
public function getProductView()
{
return $this->productView;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReportRow::class, 'Google_Service_Merchant_ReportRow');

View File

@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant\Resource;
/**
* The "accounts" collection of methods.
* Typical usage is:
* <code>
* $merchantapiService = new Google\Service\Merchant(...);
* $accounts = $merchantapiService->accounts;
* </code>
*/
class Accounts extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Accounts::class, 'Google_Service_Merchant_Resource_Accounts');

View File

@@ -0,0 +1,113 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant\Resource;
use Google\Service\Merchant\ListMerchantReviewsResponse;
use Google\Service\Merchant\MerchantReview;
use Google\Service\Merchant\MerchantapiEmpty;
/**
* The "merchantReviews" collection of methods.
* Typical usage is:
* <code>
* $merchantapiService = new Google\Service\Merchant(...);
* $merchantReviews = $merchantapiService->accounts_merchantReviews;
* </code>
*/
class AccountsMerchantReviews extends \Google\Service\Resource
{
/**
* Deletes merchant review. (merchantReviews.delete)
*
* @param string $name Required. The ID of the merchant review. Format:
* accounts/{account}/merchantReviews/{merchantReview}
* @param array $optParams Optional parameters.
* @return MerchantapiEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], MerchantapiEmpty::class);
}
/**
* Gets a merchant review. (merchantReviews.get)
*
* @param string $name Required. The ID of the merchant review. Format:
* accounts/{account}/merchantReviews/{merchantReview}
* @param array $optParams Optional parameters.
* @return MerchantReview
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], MerchantReview::class);
}
/**
* Inserts a review for your Merchant Center account. If the review already
* exists, then the review is replaced with the new instance.
* (merchantReviews.insert)
*
* @param string $parent Required. The account where the merchant review will be
* inserted. Format: accounts/{account}
* @param MerchantReview $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string dataSource Required. The data source of the [merchantreview
* ](https://support.google.com/merchants/answer/7045996?sjid=525358124421758197
* 6-EU) Format: `accounts/{account}/dataSources/{datasource}`.
* @return MerchantReview
* @throws \Google\Service\Exception
*/
public function insert($parent, MerchantReview $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], MerchantReview::class);
}
/**
* Lists merchant reviews. (merchantReviews.listAccountsMerchantReviews)
*
* @param string $parent Required. The account to list merchant reviews for.
* Format: accounts/{account}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of merchant reviews to
* return. The service can return fewer than this value. The maximum value is
* 1000; values above 1000 are coerced to 1000. If unspecified, the maximum
* number of reviews is returned.
* @opt_param string pageToken Optional. A page token, received from a previous
* `ListMerchantReviews` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `ListMerchantReviews` must
* match the call that provided the page token.
* @return ListMerchantReviewsResponse
* @throws \Google\Service\Exception
*/
public function listAccountsMerchantReviews($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListMerchantReviewsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountsMerchantReviews::class, 'Google_Service_Merchant_Resource_AccountsMerchantReviews');

View File

@@ -0,0 +1,108 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant\Resource;
use Google\Service\Merchant\ListProductReviewsResponse;
use Google\Service\Merchant\MerchantapiEmpty;
use Google\Service\Merchant\ProductReview;
/**
* The "productReviews" collection of methods.
* Typical usage is:
* <code>
* $merchantapiService = new Google\Service\Merchant(...);
* $productReviews = $merchantapiService->accounts_productReviews;
* </code>
*/
class AccountsProductReviews extends \Google\Service\Resource
{
/**
* Deletes a product review. (productReviews.delete)
*
* @param string $name Required. The ID of the Product review. Format:
* accounts/{account}/productReviews/{productReview}
* @param array $optParams Optional parameters.
* @return MerchantapiEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], MerchantapiEmpty::class);
}
/**
* Gets a product review. (productReviews.get)
*
* @param string $name Required. The ID of the merchant review. Format:
* accounts/{account}/productReviews/{productReview}
* @param array $optParams Optional parameters.
* @return ProductReview
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ProductReview::class);
}
/**
* Inserts a product review. (productReviews.insert)
*
* @param string $parent Required. The account where the product review will be
* inserted. Format: accounts/{account}
* @param ProductReview $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string dataSource Required. Format:
* `accounts/{account}/dataSources/{datasource}`.
* @return ProductReview
* @throws \Google\Service\Exception
*/
public function insert($parent, ProductReview $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], ProductReview::class);
}
/**
* Lists product reviews. (productReviews.listAccountsProductReviews)
*
* @param string $parent Required. The account to list product reviews for.
* Format: accounts/{account}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of products to return.
* The service may return fewer than this value.
* @opt_param string pageToken Optional. A page token, received from a previous
* `ListProductReviews` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListProductReviews` must match
* the call that provided the page token.
* @return ListProductReviewsResponse
* @throws \Google\Service\Exception
*/
public function listAccountsProductReviews($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListProductReviewsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountsProductReviews::class, 'Google_Service_Merchant_Resource_AccountsProductReviews');

View File

@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant\Resource;
use Google\Service\Merchant\SearchRequest;
use Google\Service\Merchant\SearchResponse;
/**
* The "reports" collection of methods.
* Typical usage is:
* <code>
* $merchantapiService = new Google\Service\Merchant(...);
* $reports = $merchantapiService->accounts_reports;
* </code>
*/
class AccountsReports extends \Google\Service\Resource
{
/**
* Retrieves a report defined by a search query. The response might contain
* fewer rows than specified by `page_size`. Rely on `next_page_token` to
* determine if there are more rows to be requested. (reports.search)
*
* @param string $parent Required. Id of the account making the call. Must be a
* standalone account or an MCA subaccount. Format: accounts/{account}
* @param SearchRequest $postBody
* @param array $optParams Optional parameters.
* @return SearchResponse
* @throws \Google\Service\Exception
*/
public function search($parent, SearchRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('search', [$params], SearchResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountsReports::class, 'Google_Service_Merchant_Resource_AccountsReports');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class ReviewLink extends \Google\Model
{
/**
* @var string
*/
public $link;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setLink($link)
{
$this->link = $link;
}
/**
* @return string
*/
public function getLink()
{
return $this->link;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReviewLink::class, 'Google_Service_Merchant_ReviewLink');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class SearchRequest extends \Google\Model
{
/**
* @var int
*/
public $pageSize;
/**
* @var string
*/
public $pageToken;
/**
* @var string
*/
public $query;
/**
* @param int
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* @param string
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* @param string
*/
public function setQuery($query)
{
$this->query = $query;
}
/**
* @return string
*/
public function getQuery()
{
return $this->query;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SearchRequest::class, 'Google_Service_Merchant_SearchRequest');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Merchant;
class SearchResponse extends \Google\Collection
{
protected $collection_key = 'results';
/**
* @var string
*/
public $nextPageToken;
protected $resultsType = ReportRow::class;
protected $resultsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param ReportRow[]
*/
public function setResults($results)
{
$this->results = $results;
}
/**
* @return ReportRow[]
*/
public function getResults()
{
return $this->results;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SearchResponse::class, 'Google_Service_Merchant_SearchResponse');