Class TermsOfService
The TermsOfService message represents a specific version of the terms of service that merchants must accept to
access certain features or services. For more information, see Terms of
Service. This message is important for the onboarding
process, ensuring that merchants agree to the necessary legal agreements for using the service. Merchants can
retrieve the latest terms of service for a given kind and region through RetrieveLatestTermsOfService, and
accept them as required through AcceptTermsOfService.
Implements
Inherited Members
Namespace: Google.Apis.Merchant.accounts_v1beta.Data
Assembly: Google.Apis.Merchant.accounts_v1beta.dll
Syntax
public class TermsOfService : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
External
Whether this terms of service version is external. External terms of service versions can only be agreed through external processes and not directly by the merchant through UI or API.
Declaration
[JsonProperty("external")]
public virtual bool? External { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
FileUri
URI for terms of service file that needs to be displayed to signing users.
Declaration
[JsonProperty("fileUri")]
public virtual string FileUri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Kind
The Kind this terms of service version applies to.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Identifier. The resource name of the terms of service version. Format: termsOfService/{version}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RegionCode
Region code as defined by CLDR. This is either a country where the ToS applies
specifically to that country or 001 when the same TermsOfService can be signed in any country. However
note that when signing a ToS that applies globally we still expect that a specific country is provided (this
should be merchant business country or program country of participation).
Declaration
[JsonProperty("regionCode")]
public virtual string RegionCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |