Show / Hide Table of Contents

Class MerchantReviewAttributes

Attributes.

Inheritance
object
MerchantReviewAttributes
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Merchant.reviews_v1beta.Data
Assembly: Google.Apis.Merchant.reviews_v1beta.dll
Syntax
public class MerchantReviewAttributes : IDirectResponseSchema

Properties

CollectionMethod

Optional. The method used to collect the review.

Declaration
[JsonProperty("collectionMethod")]
public virtual string CollectionMethod { get; set; }
Property Value
Type Description
string

Content

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.

Declaration
[JsonProperty("content")]
public virtual string Content { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

IsAnonymous

Optional. Set to true if the reviewer should remain anonymous.

Declaration
[JsonProperty("isAnonymous")]
public virtual bool? IsAnonymous { get; set; }
Property Value
Type Description
bool?

MaxRating

Optional. The maximum possible number for the rating. The value of the max rating must be greater than the value of the min rating.

Declaration
[JsonProperty("maxRating")]
public virtual long? MaxRating { get; set; }
Property Value
Type Description
long?

MerchantDisplayName

Optional. Human-readable display name for the merchant.

Declaration
[JsonProperty("merchantDisplayName")]
public virtual string MerchantDisplayName { get; set; }
Property Value
Type Description
string

MerchantId

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.

Declaration
[JsonProperty("merchantId")]
public virtual string MerchantId { get; set; }
Property Value
Type Description
string

MerchantLink

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.

Declaration
[JsonProperty("merchantLink")]
public virtual string MerchantLink { get; set; }
Property Value
Type Description
string

MerchantRatingLink

Optional. URL to the landing page that hosts the reviews for this merchant. Do not use a redirect URL.

Declaration
[JsonProperty("merchantRatingLink")]
public virtual string MerchantRatingLink { get; set; }
Property Value
Type Description
string

MinRating

Optional. The minimum possible number for the rating. This should be the worst possible rating and should not be a value for no rating.

Declaration
[JsonProperty("minRating")]
public virtual long? MinRating { get; set; }
Property Value
Type Description
long?

Rating

Optional. The reviewer's overall rating of the merchant.

Declaration
[JsonProperty("rating")]
public virtual double? Rating { get; set; }
Property Value
Type Description
double?

ReviewCountry

Optional. The country where the reviewer made the order defined by ISO 3166-1 Alpha-2 Country Code.

Declaration
[JsonProperty("reviewCountry")]
public virtual string ReviewCountry { get; set; }
Property Value
Type Description
string

ReviewLanguage

Optional. The language of the review defined by BCP-47 language code.

Declaration
[JsonProperty("reviewLanguage")]
public virtual string ReviewLanguage { get; set; }
Property Value
Type Description
string

ReviewTime

object representation of ReviewTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ReviewTimeDateTimeOffset instead.")]
public virtual object ReviewTime { get; set; }
Property Value
Type Description
object

ReviewTimeDateTimeOffset

DateTimeOffset representation of ReviewTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? ReviewTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

ReviewTimeRaw

Required. The timestamp indicating when the review was written.

Declaration
[JsonProperty("reviewTime")]
public virtual string ReviewTimeRaw { get; set; }
Property Value
Type Description
string

ReviewerId

Optional. A permanent, unique identifier for the author of the review in the publisher's system.

Declaration
[JsonProperty("reviewerId")]
public virtual string ReviewerId { get; set; }
Property Value
Type Description
string

ReviewerUsername

Optional. Display name of the review author.

Declaration
[JsonProperty("reviewerUsername")]
public virtual string ReviewerUsername { get; set; }
Property Value
Type Description
string

Title

Optional. The title of the review.

Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX