Class AccountServicesService.AccountServicesServiceBase
Base class for server-side implementations of AccountServicesService
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
[BindServiceMethod(typeof(AccountServicesService), "BindService")]
public abstract class AccountServicesService.AccountServicesServiceBase
Methods
ApproveAccountService(ApproveAccountServiceRequest, ServerCallContext)
Approve an account service proposal.
Declaration
public virtual Task<AccountService> ApproveAccountService(ApproveAccountServiceRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
ApproveAccountServiceRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<AccountService> | The response to send back to the client (wrapped by a task). |
GetAccountService(GetAccountServiceRequest, ServerCallContext)
Retrieve an account service.
Declaration
public virtual Task<AccountService> GetAccountService(GetAccountServiceRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
GetAccountServiceRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<AccountService> | The response to send back to the client (wrapped by a task). |
ListAccountServices(ListAccountServicesRequest, ServerCallContext)
List account services for the specified accounts. Supports filtering.
Declaration
public virtual Task<ListAccountServicesResponse> ListAccountServices(ListAccountServicesRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
ListAccountServicesRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<ListAccountServicesResponse> | The response to send back to the client (wrapped by a task). |
ProposeAccountService(ProposeAccountServiceRequest, ServerCallContext)
Propose an account service.
Declaration
public virtual Task<AccountService> ProposeAccountService(ProposeAccountServiceRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
ProposeAccountServiceRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<AccountService> | The response to send back to the client (wrapped by a task). |
RejectAccountService(RejectAccountServiceRequest, ServerCallContext)
Reject an account service (both proposed and approve services can be rejected).
Declaration
public virtual Task<Empty> RejectAccountService(RejectAccountServiceRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
RejectAccountServiceRequest | 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). |