📂 File Browser

AgentAI/vendor/google/apiclient-services/src/Merchant
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 BestSellersBrandView.php
▶ Open 📄 View Source
🐘 BestSellersProductClusterView.php
▶ Open 📄 View Source
🐘 CompetitiveVisibilityBenchmarkView.php
▶ Open 📄 View Source
🐘 CompetitiveVisibilityCompetitorView.php
▶ Open 📄 View Source
🐘 CompetitiveVisibilityTopMerchantView.php
▶ Open 📄 View Source
🐘 CustomAttribute.php
▶ Open 📄 View Source
🐘 Date.php
▶ Open 📄 View Source
🐘 IssueSeverityPerReportingContext.php
▶ Open 📄 View Source
🐘 ItemIssue.php
▶ Open 📄 View Source
🐘 ItemIssueSeverity.php
▶ Open 📄 View Source
🐘 ItemIssueType.php
▶ Open 📄 View Source
🐘 ListMerchantReviewsResponse.php
▶ Open 📄 View Source
🐘 ListProductReviewsResponse.php
▶ Open 📄 View Source
🐘 MerchantReview.php
▶ Open 📄 View Source
🐘 MerchantReviewAttributes.php
▶ Open 📄 View Source
🐘 MerchantReviewDestinationStatus.php
▶ Open 📄 View Source
🐘 MerchantReviewItemLevelIssue.php
▶ Open 📄 View Source
🐘 MerchantReviewStatus.php
▶ Open 📄 View Source
🐘 MerchantapiEmpty.php
▶ Open 📄 View Source
🐘 NonProductPerformanceView.php
▶ Open 📄 View Source
🐘 Price.php
▶ Open 📄 View Source
🐘 PriceCompetitivenessProductView.php
▶ Open 📄 View Source
🐘 PriceInsightsProductView.php
▶ Open 📄 View Source
🐘 ProductChange.php
▶ Open 📄 View Source
🐘 ProductPerformanceView.php
▶ Open 📄 View Source
🐘 ProductReview.php
▶ Open 📄 View Source
🐘 ProductReviewAttributes.php
▶ Open 📄 View Source
🐘 ProductReviewDestinationStatus.php
▶ Open 📄 View Source
🐘 ProductReviewItemLevelIssue.php
▶ Open 📄 View Source
🐘 ProductReviewStatus.php
▶ Open 📄 View Source
🐘 ProductStatusChangeMessage.php
▶ Open 📄 View Source
🐘 ProductView.php
▶ Open 📄 View Source
🐘 ReportRow.php
▶ Open 📄 View Source
🐘 ReviewLink.php
▶ Open 📄 View Source
🐘 SearchRequest.php
▶ Open 📄 View Source
🐘 SearchResponse.php
▶ Open 📄 View Source

📄 Source: MerchantReview.php

<?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 $customAttributesType = CustomAttribute::class;
  protected $customAttributesDataType = 'array';
  /**
   * Output only. The primary data source of the merchant review.
   *
   * @var string
   */
  public $dataSource;
  protected $merchantReviewAttributesType = MerchantReviewAttributes::class;
  protected $merchantReviewAttributesDataType = '';
  /**
   * Required. The user provided merchant review ID to uniquely identify the
   * merchant review.
   *
   * @var string
   */
  public $merchantReviewId;
  protected $merchantReviewStatusType = MerchantReviewStatus::class;
  protected $merchantReviewStatusDataType = '';
  /**
   * Identifier. The name of the merchant review. Format: `"{merchantreview.name
   * =accounts/{account}/merchantReviews/{merchantReview}}"`
   *
   * @var string
   */
  public $name;

  /**
   * Optional. A list of custom (merchant-provided) attributes. It can also be
   * used for submitting any attribute of the data specification in its generic
   * form (for example, `{ "name": "size type", "value": "regular" }`). This is
   * useful for submitting attributes not explicitly exposed by the API, such as
   * experimental attributes. Maximum allowed number of characters for each
   * custom attribute is 10240 (represents sum of characters for name and
   * value). Maximum 2500 custom attributes can be set per product, with total
   * size of 102.4kB. Underscores in custom attribute names are replaced by
   * spaces upon insertion.
   *
   * @param CustomAttribute[] $customAttributes
   */
  public function setCustomAttributes($customAttributes)
  {
    $this->customAttributes = $customAttributes;
  }
  /**
   * @return CustomAttribute[]
   */
  public function getCustomAttributes()
  {
    return $this->customAttributes;
  }
  /**
   * Output only. The primary data source of the merchant review.
   *
   * @param string $dataSource
   */
  public function setDataSource($dataSource)
  {
    $this->dataSource = $dataSource;
  }
  /**
   * @return string
   */
  public function getDataSource()
  {
    return $this->dataSource;
  }
  /**
   * Optional. A list of merchant review attributes.
   *
   * @param MerchantReviewAttributes $merchantReviewAttributes
   */
  public function setMerchantReviewAttributes(MerchantReviewAttributes $merchantReviewAttributes)
  {
    $this->merchantReviewAttributes = $merchantReviewAttributes;
  }
  /**
   * @return MerchantReviewAttributes
   */
  public function getMerchantReviewAttributes()
  {
    return $this->merchantReviewAttributes;
  }
  /**
   * Required. The user provided merchant review ID to uniquely identify the
   * merchant review.
   *
   * @param string $merchantReviewId
   */
  public function setMerchantReviewId($merchantReviewId)
  {
    $this->merchantReviewId = $merchantReviewId;
  }
  /**
   * @return string
   */
  public function getMerchantReviewId()
  {
    return $this->merchantReviewId;
  }
  /**
   * Output only. The status of a merchant review, data validation issues, that
   * is, information about a merchant review computed asynchronously.
   *
   * @param MerchantReviewStatus $merchantReviewStatus
   */
  public function setMerchantReviewStatus(MerchantReviewStatus $merchantReviewStatus)
  {
    $this->merchantReviewStatus = $merchantReviewStatus;
  }
  /**
   * @return MerchantReviewStatus
   */
  public function getMerchantReviewStatus()
  {
    return $this->merchantReviewStatus;
  }
  /**
   * Identifier. The name of the merchant review. Format: `"{merchantreview.name
   * =accounts/{account}/merchantReviews/{merchantReview}}"`
   *
   * @param string $name
   */
  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');
← Back