Class GbpAccountsService.GbpAccountsServiceBase
Base class for server-side implementations of GbpAccountsService
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
[BindServiceMethod(typeof(GbpAccountsService), "BindService")]
public abstract class GbpAccountsService.GbpAccountsServiceBase
Methods
LinkGbpAccount(LinkGbpAccountRequest, ServerCallContext)
Link the specified merchant to a GBP account for all countries.
Declaration
public virtual Task<LinkGbpAccountResponse> LinkGbpAccount(LinkGbpAccountRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| LinkGbpAccountRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<LinkGbpAccountResponse> | The response to send back to the client (wrapped by a task). |
ListGbpAccounts(ListGbpAccountsRequest, ServerCallContext)
List the GBP accounts for a given merchant.
Declaration
public virtual Task<ListGbpAccountsResponse> ListGbpAccounts(ListGbpAccountsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListGbpAccountsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListGbpAccountsResponse> | The response to send back to the client (wrapped by a task). |