Class TermsOfService
A TermsOfService.
Implements
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
public sealed class TermsOfService : IMessage<TermsOfService>, IEquatable<TermsOfService>, IDeepCloneable<TermsOfService>, IBufferMessage, IMessage
Constructors
TermsOfService()
Declaration
public TermsOfService()
TermsOfService(TermsOfService)
Declaration
public TermsOfService(TermsOfService other)
Parameters
| Type | Name | Description |
|---|---|---|
| TermsOfService | other |
Properties
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
public 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
public string FileUri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HasFileUri
Gets whether the "file_uri" field is set
Declaration
public bool HasFileUri { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Kind
The Kind this terms of service version applies to.
Declaration
public TermsOfServiceKind Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| TermsOfServiceKind |
Name
Identifier. The resource name of the terms of service version.
Format: termsOfService/{version}
Declaration
public 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
public string RegionCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TermsOfServiceName
TermsOfServiceName-typed view over the Name resource name property.
Declaration
public TermsOfServiceName TermsOfServiceName { get; set; }
Property Value
| Type | Description |
|---|---|
| TermsOfServiceName |