collectionMethod = $collectionMethod; } /** * @return self::COLLECTION_METHOD_* */ public function getCollectionMethod() { return $this->collectionMethod; } /** * Required. This should be any freeform text provided by the user and should * not be truncated. If multiple responses to different questions are * provided, all responses should be included, with the minimal context for * the responses to make sense. Context should not be provided if questions * were left unanswered. * * @param string $content */ public function setContent($content) { $this->content = $content; } /** * @return string */ public function getContent() { return $this->content; } /** * Optional. Set to true if the reviewer should remain anonymous. * * @param bool $isAnonymous */ public function setIsAnonymous($isAnonymous) { $this->isAnonymous = $isAnonymous; } /** * @return bool */ public function getIsAnonymous() { return $this->isAnonymous; } /** * Optional. The maximum possible number for the rating. The value of the max * rating must be greater than the value of the min rating. * * @param string $maxRating */ public function setMaxRating($maxRating) { $this->maxRating = $maxRating; } /** * @return string */ public function getMaxRating() { return $this->maxRating; } /** * Optional. Human-readable display name for the merchant. * * @param string $merchantDisplayName */ public function setMerchantDisplayName($merchantDisplayName) { $this->merchantDisplayName = $merchantDisplayName; } /** * @return string */ public function getMerchantDisplayName() { return $this->merchantDisplayName; } /** * Required. Must be unique and stable across all requests. In other words, if * a request today and another 90 days ago refer to the same merchant, they * must have the same id. * * @param string $merchantId */ public function setMerchantId($merchantId) { $this->merchantId = $merchantId; } /** * @return string */ public function getMerchantId() { return $this->merchantId; } /** * Optional. URL to the merchant's main website. Do not use a redirect URL for * this value. In other words, the value should point directly to the * merchant's site. * * @param string $merchantLink */ public function setMerchantLink($merchantLink) { $this->merchantLink = $merchantLink; } /** * @return string */ public function getMerchantLink() { return $this->merchantLink; } /** * Optional. URL to the landing page that hosts the reviews for this merchant. * Do not use a redirect URL. * * @param string $merchantRatingLink */ public function setMerchantRatingLink($merchantRatingLink) { $this->merchantRatingLink = $merchantRatingLink; } /** * @return string */ public function getMerchantRatingLink() { return $this->merchantRatingLink; } /** * Optional. The minimum possible number for the rating. This should be the * worst possible rating and should not be a value for no rating. * * @param string $minRating */ 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; } /** * Optional. The country where the reviewer made the order defined by ISO * 3166-1 Alpha-2 Country Code. * * @param string $reviewCountry */ public function setReviewCountry($reviewCountry) { $this->reviewCountry = $reviewCountry; } /** * @return string */ public function getReviewCountry() { return $this->reviewCountry; } /** * Optional. The language of the review defined by BCP-47 language code. * * @param string $reviewLanguage */ public function setReviewLanguage($reviewLanguage) { $this->reviewLanguage = $reviewLanguage; } /** * @return string */ public function getReviewLanguage() { return $this->reviewLanguage; } /** * Required. The timestamp indicating when the review was written. * * @param string $reviewTime */ public function setReviewTime($reviewTime) { $this->reviewTime = $reviewTime; } /** * @return string */ public function getReviewTime() { return $this->reviewTime; } /** * Optional. A permanent, unique identifier for the author of the review in * the publisher's system. * * @param string $reviewerId */ public function setReviewerId($reviewerId) { $this->reviewerId = $reviewerId; } /** * @return string */ public function getReviewerId() { return $this->reviewerId; } /** * Optional. Display name of the review author. * * @param string $reviewerUsername */ public function setReviewerUsername($reviewerUsername) { $this->reviewerUsername = $reviewerUsername; } /** * @return string */ public function getReviewerUsername() { return $this->reviewerUsername; } /** * Optional. The title of the review. * * @param string $title */ 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');