Class TermsOfServiceAgreementStateService.TermsOfServiceAgreementStateServiceBase
Base class for server-side implementations of TermsOfServiceAgreementStateService
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
[BindServiceMethod(typeof(TermsOfServiceAgreementStateService), "BindService")]
public abstract class TermsOfServiceAgreementStateService.TermsOfServiceAgreementStateServiceBase
Methods
GetTermsOfServiceAgreementState(GetTermsOfServiceAgreementStateRequest, ServerCallContext)
Returns the state of a terms of service agreement.
Declaration
public virtual Task<TermsOfServiceAgreementState> GetTermsOfServiceAgreementState(GetTermsOfServiceAgreementStateRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
GetTermsOfServiceAgreementStateRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<TermsOfServiceAgreementState> | The response to send back to the client (wrapped by a task). |
RetrieveForApplicationTermsOfServiceAgreementState(RetrieveForApplicationTermsOfServiceAgreementStateRequest, ServerCallContext)
Retrieves the state of the agreement for the application terms of service.
Declaration
public virtual Task<TermsOfServiceAgreementState> RetrieveForApplicationTermsOfServiceAgreementState(RetrieveForApplicationTermsOfServiceAgreementStateRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
RetrieveForApplicationTermsOfServiceAgreementStateRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<TermsOfServiceAgreementState> | The response to send back to the client (wrapped by a task). |