Class LfpStoreService.LfpStoreServiceBase
Base class for server-side implementations of LfpStoreService
Namespace: Google.Shopping.Merchant.Lfp.V1Beta
Assembly: Google.Shopping.Merchant.Lfp.V1Beta.dll
Syntax
[BindServiceMethod(typeof(LfpStoreService), "BindService")]
public abstract class LfpStoreService.LfpStoreServiceBase
Methods
DeleteLfpStore(DeleteLfpStoreRequest, ServerCallContext)
Deletes a store for a target merchant.
Declaration
public virtual Task<Empty> DeleteLfpStore(DeleteLfpStoreRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
DeleteLfpStoreRequest | 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). |
GetLfpStore(GetLfpStoreRequest, ServerCallContext)
Retrieves information about a store.
Declaration
public virtual Task<LfpStore> GetLfpStore(GetLfpStoreRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
GetLfpStoreRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<LfpStore> | The response to send back to the client (wrapped by a task). |
InsertLfpStore(InsertLfpStoreRequest, ServerCallContext)
Inserts a store for the target merchant. If the store with the same store code already exists, it will be replaced.
Declaration
public virtual Task<LfpStore> InsertLfpStore(InsertLfpStoreRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
InsertLfpStoreRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<LfpStore> | The response to send back to the client (wrapped by a task). |
ListLfpStores(ListLfpStoresRequest, ServerCallContext)
Lists the stores of the target merchant, specified by the filter in
ListLfpStoresRequest
.
Declaration
public virtual Task<ListLfpStoresResponse> ListLfpStores(ListLfpStoresRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
ListLfpStoresRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<ListLfpStoresResponse> | The response to send back to the client (wrapped by a task). |