Class MerchantReviewsService.MerchantReviewsServiceBase
Base class for server-side implementations of MerchantReviewsService
Namespace: Google.Shopping.Merchant.Reviews.V1Beta
Assembly: Google.Shopping.Merchant.Reviews.V1Beta.dll
Syntax
[BindServiceMethod(typeof(MerchantReviewsService), "BindService")]
public abstract class MerchantReviewsService.MerchantReviewsServiceBase
Methods
DeleteMerchantReview(DeleteMerchantReviewRequest, ServerCallContext)
Deletes merchant review.
Declaration
public virtual Task<Empty> DeleteMerchantReview(DeleteMerchantReviewRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
DeleteMerchantReviewRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<Empty> | The response to send back to the client (wrapped by a task). |
GetMerchantReview(GetMerchantReviewRequest, ServerCallContext)
Gets a merchant review.
Declaration
public virtual Task<MerchantReview> GetMerchantReview(GetMerchantReviewRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
GetMerchantReviewRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<MerchantReview> | The response to send back to the client (wrapped by a task). |
InsertMerchantReview(InsertMerchantReviewRequest, ServerCallContext)
Inserts a review for your Merchant Center account. If the review already exists, then the review is replaced with the new instance.
Declaration
public virtual Task<MerchantReview> InsertMerchantReview(InsertMerchantReviewRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
InsertMerchantReviewRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<MerchantReview> | The response to send back to the client (wrapped by a task). |
ListMerchantReviews(ListMerchantReviewsRequest, ServerCallContext)
Lists merchant reviews.
Declaration
public virtual Task<ListMerchantReviewsResponse> ListMerchantReviews(ListMerchantReviewsRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
ListMerchantReviewsRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<ListMerchantReviewsResponse> | The response to send back to the client (wrapped by a task). |