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

com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder 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/tax_rule.proto

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

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

  /**
   *
   *
   * 
   * The admin_id or criteria_id of the region in which this rule is
   * applicable.
   * 
* * int64 location_id = 2; * * @return Whether the locationId field is set. */ boolean hasLocationId(); /** * * *
   * The admin_id or criteria_id of the region in which this rule is
   * applicable.
   * 
* * int64 location_id = 2; * * @return The locationId. */ long getLocationId(); /** * * *
   * The range of postal codes in which this rule is applicable.
   * 
* * .google.shopping.merchant.accounts.v1beta.TaxRule.TaxPostalCodeRange post_code_range = 3; * * * @return Whether the postCodeRange field is set. */ boolean hasPostCodeRange(); /** * * *
   * The range of postal codes in which this rule is applicable.
   * 
* * .google.shopping.merchant.accounts.v1beta.TaxRule.TaxPostalCodeRange post_code_range = 3; * * * @return The postCodeRange. */ com.google.shopping.merchant.accounts.v1beta.TaxRule.TaxPostalCodeRange getPostCodeRange(); /** * * *
   * The range of postal codes in which this rule is applicable.
   * 
* * .google.shopping.merchant.accounts.v1beta.TaxRule.TaxPostalCodeRange post_code_range = 3; * */ com.google.shopping.merchant.accounts.v1beta.TaxRule.TaxPostalCodeRangeOrBuilder getPostCodeRangeOrBuilder(); /** * * *
   * Rate that depends on delivery location: if merchant has a nexus in
   * corresponding US state, rates from authorities with jurisdiction over
   * delivery area are added up.
   * 
* * bool use_google_rate = 4; * * @return Whether the useGoogleRate field is set. */ boolean hasUseGoogleRate(); /** * * *
   * Rate that depends on delivery location: if merchant has a nexus in
   * corresponding US state, rates from authorities with jurisdiction over
   * delivery area are added up.
   * 
* * bool use_google_rate = 4; * * @return The useGoogleRate. */ boolean getUseGoogleRate(); /** * * *
   * A fixed rate specified in micros, where 100% = 1_000_000.
   * Suitable for origin-based states.
   * 
* * int64 self_specified_rate_micros = 5; * * @return Whether the selfSpecifiedRateMicros field is set. */ boolean hasSelfSpecifiedRateMicros(); /** * * *
   * A fixed rate specified in micros, where 100% = 1_000_000.
   * Suitable for origin-based states.
   * 
* * int64 self_specified_rate_micros = 5; * * @return The selfSpecifiedRateMicros. */ long getSelfSpecifiedRateMicros(); /** * * *
   * Region code in which this rule is applicable
   * 
* * string region_code = 1; * * @return The regionCode. */ java.lang.String getRegionCode(); /** * * *
   * Region code in which this rule is applicable
   * 
* * string region_code = 1; * * @return The bytes for regionCode. */ com.google.protobuf.ByteString getRegionCodeBytes(); /** * * *
   * If set, shipping charge is taxed (at the same rate as product) when
   * delivering to this admin's area.
   * Can only be set on US states without category.
   * 
* * bool shipping_taxed = 6; * * @return The shippingTaxed. */ boolean getShippingTaxed(); /** * * *
   * Required. Time period when this rule is effective. If the duration is
   * missing from effective_time listed, then it is open ended to the future.
   * The start of this time period is inclusive, and the end is exclusive.
   * 
* * * .google.type.Interval effective_time_period = 7 [(.google.api.field_behavior) = REQUIRED]; * * * @return Whether the effectiveTimePeriod field is set. */ boolean hasEffectiveTimePeriod(); /** * * *
   * Required. Time period when this rule is effective. If the duration is
   * missing from effective_time listed, then it is open ended to the future.
   * The start of this time period is inclusive, and the end is exclusive.
   * 
* * * .google.type.Interval effective_time_period = 7 [(.google.api.field_behavior) = REQUIRED]; * * * @return The effectiveTimePeriod. */ com.google.type.Interval getEffectiveTimePeriod(); /** * * *
   * Required. Time period when this rule is effective. If the duration is
   * missing from effective_time listed, then it is open ended to the future.
   * The start of this time period is inclusive, and the end is exclusive.
   * 
* * * .google.type.Interval effective_time_period = 7 [(.google.api.field_behavior) = REQUIRED]; * */ com.google.type.IntervalOrBuilder getEffectiveTimePeriodOrBuilder(); com.google.shopping.merchant.accounts.v1beta.TaxRule.LocationCase getLocationCase(); com.google.shopping.merchant.accounts.v1beta.TaxRule.RateCalculationCase getRateCalculationCase(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy