Show / Hide Table of Contents

Class TermsOfServiceService.TermsOfServiceServiceBase

Base class for server-side implementations of TermsOfServiceService

Inheritance
object
TermsOfServiceService.TermsOfServiceServiceBase
Inherited Members
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
[BindServiceMethod(typeof(TermsOfServiceService), "BindService")]
public abstract class TermsOfServiceService.TermsOfServiceServiceBase

Methods

AcceptTermsOfService(AcceptTermsOfServiceRequest, ServerCallContext)

Accepts a TermsOfService. Executing this method requires admin access.

Declaration
public virtual Task<AcceptTermsOfServiceResponse> AcceptTermsOfService(AcceptTermsOfServiceRequest request, ServerCallContext context)
Parameters
Type Name Description
AcceptTermsOfServiceRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<AcceptTermsOfServiceResponse>

The response to send back to the client (wrapped by a task).

GetTermsOfService(GetTermsOfServiceRequest, ServerCallContext)

Retrieves the TermsOfService associated with the provided version.

Declaration
public virtual Task<TermsOfService> GetTermsOfService(GetTermsOfServiceRequest request, ServerCallContext context)
Parameters
Type Name Description
GetTermsOfServiceRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<TermsOfService>

The response to send back to the client (wrapped by a task).

RetrieveLatestTermsOfService(RetrieveLatestTermsOfServiceRequest, ServerCallContext)

Retrieves the latest version of the TermsOfService for a given kind and region_code.

Declaration
public virtual Task<TermsOfService> RetrieveLatestTermsOfService(RetrieveLatestTermsOfServiceRequest request, ServerCallContext context)
Parameters
Type Name Description
RetrieveLatestTermsOfServiceRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<TermsOfService>

The response to send back to the client (wrapped by a task).

In this article
Back to top Generated by DocFX