Interface TermsOfServiceOrBuilder (0.1.0)

public interface TermsOfServiceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExternal()

public abstract boolean getExternal()

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.

bool external = 5;

Returns
Type Description
boolean

The external.

getFileUri()

public abstract String getFileUri()

URI for terms of service file that needs to be displayed to signing users.

optional string file_uri = 4;

Returns
Type Description
String

The fileUri.

getFileUriBytes()

public abstract ByteString getFileUriBytes()

URI for terms of service file that needs to be displayed to signing users.

optional string file_uri = 4;

Returns
Type Description
ByteString

The bytes for fileUri.

getKind()

public abstract TermsOfServiceKind getKind()

The Kind this terms of service version applies to.

.google.shopping.merchant.accounts.v1beta.TermsOfServiceKind kind = 3;

Returns
Type Description
TermsOfServiceKind

The kind.

getKindValue()

public abstract int getKindValue()

The Kind this terms of service version applies to.

.google.shopping.merchant.accounts.v1beta.TermsOfServiceKind kind = 3;

Returns
Type Description
int

The enum numeric value on the wire for kind.

getName()

public abstract String getName()

Identifier. The resource name of the terms of service version. Format: termsOfService/{version}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The resource name of the terms of service version. Format: termsOfService/{version}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getRegionCode()

public abstract String getRegionCode()

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).

string region_code = 2;

Returns
Type Description
String

The regionCode.

getRegionCodeBytes()

public abstract ByteString getRegionCodeBytes()

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).

string region_code = 2;

Returns
Type Description
ByteString

The bytes for regionCode.

hasFileUri()

public abstract boolean hasFileUri()

URI for terms of service file that needs to be displayed to signing users.

optional string file_uri = 4;

Returns
Type Description
boolean

Whether the fileUri field is set.