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.
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.
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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,["# Interface TaxRuleOrBuilder (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder)\n- [0.26.0](/java/docs/reference/google-shopping-merchant-accounts/0.26.0/com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder)\n- [0.24.0](/java/docs/reference/google-shopping-merchant-accounts/0.24.0/com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder)\n- [0.23.0](/java/docs/reference/google-shopping-merchant-accounts/0.23.0/com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder)\n- [0.20.0](/java/docs/reference/google-shopping-merchant-accounts/0.20.0/com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder)\n- [0.19.0](/java/docs/reference/google-shopping-merchant-accounts/0.19.0/com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder)\n- [0.18.0](/java/docs/reference/google-shopping-merchant-accounts/0.18.0/com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder)\n- [0.16.0](/java/docs/reference/google-shopping-merchant-accounts/0.16.0/com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder)\n- [0.15.0](/java/docs/reference/google-shopping-merchant-accounts/0.15.0/com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder)\n- [0.14.0](/java/docs/reference/google-shopping-merchant-accounts/0.14.0/com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder)\n- [0.13.0](/java/docs/reference/google-shopping-merchant-accounts/0.13.0/com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder)\n- [0.12.0](/java/docs/reference/google-shopping-merchant-accounts/0.12.0/com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder)\n- [0.11.0](/java/docs/reference/google-shopping-merchant-accounts/0.11.0/com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder)\n- [0.10.0](/java/docs/reference/google-shopping-merchant-accounts/0.10.0/com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder)\n- [0.9.0](/java/docs/reference/google-shopping-merchant-accounts/0.9.0/com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder)\n- [0.8.0](/java/docs/reference/google-shopping-merchant-accounts/0.8.0/com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder)\n- [0.7.0](/java/docs/reference/google-shopping-merchant-accounts/0.7.0/com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder)\n- [0.5.0](/java/docs/reference/google-shopping-merchant-accounts/0.5.0/com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder)\n- [0.4.0](/java/docs/reference/google-shopping-merchant-accounts/0.4.0/com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder)\n- [0.3.0](/java/docs/reference/google-shopping-merchant-accounts/0.3.0/com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder)\n- [0.2.0](/java/docs/reference/google-shopping-merchant-accounts/0.2.0/com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder)\n- [0.1.0](/java/docs/reference/google-shopping-merchant-accounts/0.1.0/com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder) \n\n public interface TaxRuleOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getEffectiveTimePeriod()\n\n public abstract Interval getEffectiveTimePeriod()\n\nRequired. Time period when this rule is effective. If the duration is\nmissing from effective_time listed, then it is open ended to the future.\nThe start of this time period is inclusive, and the end is exclusive.\n\n`\n.google.type.Interval effective_time_period = 7 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getEffectiveTimePeriodOrBuilder()\n\n public abstract IntervalOrBuilder getEffectiveTimePeriodOrBuilder()\n\nRequired. Time period when this rule is effective. If the duration is\nmissing from effective_time listed, then it is open ended to the future.\nThe start of this time period is inclusive, and the end is exclusive.\n\n`\n.google.type.Interval effective_time_period = 7 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getLocationCase()\n\n public abstract TaxRule.LocationCase getLocationCase()\n\n### getLocationId()\n\n public abstract long getLocationId()\n\nThe admin_id or criteria_id of the region in which this rule is\napplicable.\n\n`int64 location_id = 2;`\n\n### getPostCodeRange()\n\n public abstract TaxRule.TaxPostalCodeRange getPostCodeRange()\n\nThe range of postal codes in which this rule is applicable.\n\n`.google.shopping.merchant.accounts.v1beta.TaxRule.TaxPostalCodeRange post_code_range = 3;\n`\n\n### getPostCodeRangeOrBuilder()\n\n public abstract TaxRule.TaxPostalCodeRangeOrBuilder getPostCodeRangeOrBuilder()\n\nThe range of postal codes in which this rule is applicable.\n\n`.google.shopping.merchant.accounts.v1beta.TaxRule.TaxPostalCodeRange post_code_range = 3;\n`\n\n### getRateCalculationCase()\n\n public abstract TaxRule.RateCalculationCase getRateCalculationCase()\n\n### getRegionCode()\n\n public abstract String getRegionCode()\n\nRegion code in which this rule is applicable\n\n`string region_code = 1;`\n\n### getRegionCodeBytes()\n\n public abstract ByteString getRegionCodeBytes()\n\nRegion code in which this rule is applicable\n\n`string region_code = 1;`\n\n### getSelfSpecifiedRateMicros()\n\n public abstract long getSelfSpecifiedRateMicros()\n\nA fixed rate specified in micros, where 100% = 1_000_000.\nSuitable for origin-based states.\n\n`int64 self_specified_rate_micros = 5;`\n\n### getShippingTaxed()\n\n public abstract boolean getShippingTaxed()\n\nIf set, shipping charge is taxed (at the same rate as product) when\ndelivering to this admin's area.\nCan only be set on US states without category.\n\n`bool shipping_taxed = 6;`\n\n### getUseGoogleRate()\n\n public abstract boolean getUseGoogleRate()\n\nRate that depends on delivery location: if merchant has a nexus in\ncorresponding US state, rates from authorities with jurisdiction over\ndelivery area are added up.\n\n`bool use_google_rate = 4;`\n\n### hasEffectiveTimePeriod()\n\n public abstract boolean hasEffectiveTimePeriod()\n\nRequired. Time period when this rule is effective. If the duration is\nmissing from effective_time listed, then it is open ended to the future.\nThe start of this time period is inclusive, and the end is exclusive.\n\n`\n.google.type.Interval effective_time_period = 7 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### hasLocationId()\n\n public abstract boolean hasLocationId()\n\nThe admin_id or criteria_id of the region in which this rule is\napplicable.\n\n`int64 location_id = 2;`\n\n### hasPostCodeRange()\n\n public abstract boolean hasPostCodeRange()\n\nThe range of postal codes in which this rule is applicable.\n\n`.google.shopping.merchant.accounts.v1beta.TaxRule.TaxPostalCodeRange post_code_range = 3;\n`\n\n### hasSelfSpecifiedRateMicros()\n\n public abstract boolean hasSelfSpecifiedRateMicros()\n\nA fixed rate specified in micros, where 100% = 1_000_000.\nSuitable for origin-based states.\n\n`int64 self_specified_rate_micros = 5;`\n\n### hasUseGoogleRate()\n\n public abstract boolean hasUseGoogleRate()\n\nRate that depends on delivery location: if merchant has a nexus in\ncorresponding US state, rates from authorities with jurisdiction over\ndelivery area are added up.\n\n`bool use_google_rate = 4;`"]]