Class MerchantReviewAttributes
Attributes.
Implements
Namespace: Google.Shopping.Merchant.Reviews.V1Beta
Assembly: Google.Shopping.Merchant.Reviews.V1Beta.dll
Syntax
public sealed class MerchantReviewAttributes : IMessage<MerchantReviewAttributes>, IEquatable<MerchantReviewAttributes>, IDeepCloneable<MerchantReviewAttributes>, IBufferMessage, IMessage
Constructors
MerchantReviewAttributes()
Declaration
public MerchantReviewAttributes()
MerchantReviewAttributes(MerchantReviewAttributes)
Declaration
public MerchantReviewAttributes(MerchantReviewAttributes other)
Parameters
| Type | Name | Description |
|---|---|---|
| MerchantReviewAttributes | other |
Properties
CollectionMethod
Optional. The method used to collect the review.
Declaration
public MerchantReviewAttributes.Types.CollectionMethod CollectionMethod { get; set; }
Property Value
| Type | Description |
|---|---|
| MerchantReviewAttributes.Types.CollectionMethod |
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
public string Content { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HasCollectionMethod
Gets whether the "collection_method" field is set
Declaration
public bool HasCollectionMethod { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasContent
Gets whether the "content" field is set
Declaration
public bool HasContent { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasIsAnonymous
Gets whether the "is_anonymous" field is set
Declaration
public bool HasIsAnonymous { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasMaxRating
Gets whether the "max_rating" field is set
Declaration
public bool HasMaxRating { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasMerchantDisplayName
Gets whether the "merchant_display_name" field is set
Declaration
public bool HasMerchantDisplayName { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasMerchantId
Gets whether the "merchant_id" field is set
Declaration
public bool HasMerchantId { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasMerchantLink
Gets whether the "merchant_link" field is set
Declaration
public bool HasMerchantLink { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasMerchantRatingLink
Gets whether the "merchant_rating_link" field is set
Declaration
public bool HasMerchantRatingLink { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasMinRating
Gets whether the "min_rating" field is set
Declaration
public bool HasMinRating { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasRating
Gets whether the "rating" field is set
Declaration
public bool HasRating { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasReviewCountry
Gets whether the "review_country" field is set
Declaration
public bool HasReviewCountry { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasReviewLanguage
Gets whether the "review_language" field is set
Declaration
public bool HasReviewLanguage { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasReviewerId
Gets whether the "reviewer_id" field is set
Declaration
public bool HasReviewerId { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasReviewerUsername
Gets whether the "reviewer_username" field is set
Declaration
public bool HasReviewerUsername { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasTitle
Gets whether the "title" field is set
Declaration
public bool HasTitle { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsAnonymous
Optional. Set to true if the reviewer should remain anonymous.
Declaration
public 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
public long MaxRating { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
MerchantDisplayName
Optional. Human-readable display name for the merchant.
Declaration
public 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
public 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
public 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
public 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
public long MinRating { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Rating
Optional. The reviewer's overall rating of the merchant.
Declaration
public 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
public string ReviewCountry { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ReviewLanguage
Required. The language of the review defined by BCP-47 language code.
Declaration
public string ReviewLanguage { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ReviewTime
Required. The timestamp indicating when the review was written.
Declaration
public Timestamp ReviewTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
ReviewerId
Optional. A permanent, unique identifier for the author of the review in the publisher's system.
Declaration
public string ReviewerId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ReviewerUsername
Optional. Display name of the review author.
Declaration
public string ReviewerUsername { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Title
Optional. The title of the review.
Declaration
public string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| string |