Class BusinessInfoService.BusinessInfoServiceBase
Base class for server-side implementations of BusinessInfoService
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
[BindServiceMethod(typeof(BusinessInfoService), "BindService")]
public abstract class BusinessInfoService.BusinessInfoServiceBase
Methods
GetBusinessInfo(GetBusinessInfoRequest, ServerCallContext)
Retrieves the business info of an account.
Declaration
public virtual Task<BusinessInfo> GetBusinessInfo(GetBusinessInfoRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
Get |
request | The request received from the client. |
Server |
context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<Business |
The response to send back to the client (wrapped by a task). |
UpdateBusinessInfo(UpdateBusinessInfoRequest, ServerCallContext)
Updates the business info of an account. Executing this method requires admin access.
Declaration
public virtual Task<BusinessInfo> UpdateBusinessInfo(UpdateBusinessInfoRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
Update |
request | The request received from the client. |
Server |
context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<Business |
The response to send back to the client (wrapped by a task). |