All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.shopping.merchant.accounts.v1beta.TermsOfServiceOrBuilder Maven / Gradle / Ivy

/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/shopping/merchant/accounts/v1beta/termsofservice.proto

// Protobuf Java Version: 3.25.5
package com.google.shopping.merchant.accounts.v1beta;

public interface TermsOfServiceOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.shopping.merchant.accounts.v1beta.TermsOfService)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * 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) = { ... } * * * @return The name. */ java.lang.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) = { ... } * * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * Region code as defined by [CLDR](https://cldr.unicode.org/). 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; * * @return The regionCode. */ java.lang.String getRegionCode(); /** * * *
   * Region code as defined by [CLDR](https://cldr.unicode.org/). 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; * * @return The bytes for regionCode. */ com.google.protobuf.ByteString getRegionCodeBytes(); /** * * *
   * The Kind this terms of service version applies to.
   * 
* * .google.shopping.merchant.accounts.v1beta.TermsOfServiceKind kind = 3; * * @return The enum numeric value on the wire for kind. */ int getKindValue(); /** * * *
   * The Kind this terms of service version applies to.
   * 
* * .google.shopping.merchant.accounts.v1beta.TermsOfServiceKind kind = 3; * * @return The kind. */ com.google.shopping.merchant.accounts.v1beta.TermsOfServiceKind getKind(); /** * * *
   * URI for terms of service file that needs to be displayed to signing users.
   * 
* * optional string file_uri = 4; * * @return Whether the fileUri field is set. */ boolean hasFileUri(); /** * * *
   * URI for terms of service file that needs to be displayed to signing users.
   * 
* * optional string file_uri = 4; * * @return The fileUri. */ java.lang.String getFileUri(); /** * * *
   * URI for terms of service file that needs to be displayed to signing users.
   * 
* * optional string file_uri = 4; * * @return The bytes for fileUri. */ com.google.protobuf.ByteString getFileUriBytes(); /** * * *
   * 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; * * @return The external. */ boolean getExternal(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy