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 |
---|---|---|
GetBusinessInfoRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<BusinessInfo> | 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 |
---|---|---|
UpdateBusinessInfoRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<BusinessInfo> | The response to send back to the client (wrapped by a task). |