Maximum handling time (inclusive) between when the order is received and
shipped in business days. 0 means that the order is shipped on the same
day as it is received if it happens before the cut-off time. Both
maxHandlingTime
and
maxTransitTime
are required if providing shipping speeds.
minHandlingTime
is optional if
maxHandlingTime
is present.
Maximum transit time (inclusive) between when the order has shipped and
when it is delivered in business days. 0 means that the order is
delivered on the same day as it ships. Both
maxHandlingTime
and
maxTransitTime
are required if providing shipping speeds.
minTransitTime
is optional if
maxTransitTime
is present.
Minimum handling time (inclusive) between when the order is received and
shipped in business days. 0 means that the order is shipped on the same
day as it is received if it happens before the cut-off time.
minHandlingTime
can only be present together with
maxHandlingTime;
but it is not required if
maxHandlingTime
is present.
Minimum transit time (inclusive) between when the order has shipped and
when it is delivered in business days. 0 means that the order is
delivered on the same day as it ships.
minTransitTime
can only be present together with
maxTransitTime;
but it is not required if
maxTransitTime
is present.
The postal code range that the shipping rate applies to, represented by
a postal code, a postal code prefix followed by a * wildcard, a range
between two postal codes or two postal code prefixes of equal length.
The postal code range that the shipping rate applies to, represented by
a postal code, a postal code prefix followed by a * wildcard, a range
between two postal codes or two postal code prefixes of equal length.
Maximum handling time (inclusive) between when the order is received and
shipped in business days. 0 means that the order is shipped on the same
day as it is received if it happens before the cut-off time. Both
maxHandlingTime
and
maxTransitTime
are required if providing shipping speeds.
minHandlingTime
is optional if
maxHandlingTime
is present.
Maximum transit time (inclusive) between when the order has shipped and
when it is delivered in business days. 0 means that the order is
delivered on the same day as it ships. Both
maxHandlingTime
and
maxTransitTime
are required if providing shipping speeds.
minTransitTime
is optional if
maxTransitTime
is present.
Minimum handling time (inclusive) between when the order is received and
shipped in business days. 0 means that the order is shipped on the same
day as it is received if it happens before the cut-off time.
minHandlingTime
can only be present together with
maxHandlingTime;
but it is not required if
maxHandlingTime
is present.
Minimum transit time (inclusive) between when the order has shipped and
when it is delivered in business days. 0 means that the order is
delivered on the same day as it ships.
minTransitTime
can only be present together with
maxTransitTime;
but it is not required if
maxTransitTime
is present.
[[["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-28 UTC."],[],[],null,["# Interface ShippingOrBuilder (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/java/docs/reference/google-shopping-merchant-products/latest/com.google.shopping.merchant.products.v1beta.ShippingOrBuilder)\n- [0.26.0](/java/docs/reference/google-shopping-merchant-products/0.26.0/com.google.shopping.merchant.products.v1beta.ShippingOrBuilder)\n- [0.24.0](/java/docs/reference/google-shopping-merchant-products/0.24.0/com.google.shopping.merchant.products.v1beta.ShippingOrBuilder)\n- [0.23.0](/java/docs/reference/google-shopping-merchant-products/0.23.0/com.google.shopping.merchant.products.v1beta.ShippingOrBuilder)\n- [0.20.0](/java/docs/reference/google-shopping-merchant-products/0.20.0/com.google.shopping.merchant.products.v1beta.ShippingOrBuilder)\n- [0.19.0](/java/docs/reference/google-shopping-merchant-products/0.19.0/com.google.shopping.merchant.products.v1beta.ShippingOrBuilder)\n- [0.18.0](/java/docs/reference/google-shopping-merchant-products/0.18.0/com.google.shopping.merchant.products.v1beta.ShippingOrBuilder)\n- [0.16.0](/java/docs/reference/google-shopping-merchant-products/0.16.0/com.google.shopping.merchant.products.v1beta.ShippingOrBuilder)\n- [0.15.0](/java/docs/reference/google-shopping-merchant-products/0.15.0/com.google.shopping.merchant.products.v1beta.ShippingOrBuilder)\n- [0.14.0](/java/docs/reference/google-shopping-merchant-products/0.14.0/com.google.shopping.merchant.products.v1beta.ShippingOrBuilder)\n- [0.13.0](/java/docs/reference/google-shopping-merchant-products/0.13.0/com.google.shopping.merchant.products.v1beta.ShippingOrBuilder)\n- [0.12.0](/java/docs/reference/google-shopping-merchant-products/0.12.0/com.google.shopping.merchant.products.v1beta.ShippingOrBuilder)\n- [0.11.0](/java/docs/reference/google-shopping-merchant-products/0.11.0/com.google.shopping.merchant.products.v1beta.ShippingOrBuilder)\n- [0.10.0](/java/docs/reference/google-shopping-merchant-products/0.10.0/com.google.shopping.merchant.products.v1beta.ShippingOrBuilder)\n- [0.9.0](/java/docs/reference/google-shopping-merchant-products/0.9.0/com.google.shopping.merchant.products.v1beta.ShippingOrBuilder)\n- [0.8.0](/java/docs/reference/google-shopping-merchant-products/0.8.0/com.google.shopping.merchant.products.v1beta.ShippingOrBuilder)\n- [0.7.0](/java/docs/reference/google-shopping-merchant-products/0.7.0/com.google.shopping.merchant.products.v1beta.ShippingOrBuilder)\n- [0.5.0](/java/docs/reference/google-shopping-merchant-products/0.5.0/com.google.shopping.merchant.products.v1beta.ShippingOrBuilder)\n- [0.4.0](/java/docs/reference/google-shopping-merchant-products/0.4.0/com.google.shopping.merchant.products.v1beta.ShippingOrBuilder)\n- [0.3.0](/java/docs/reference/google-shopping-merchant-products/0.3.0/com.google.shopping.merchant.products.v1beta.ShippingOrBuilder)\n- [0.2.0](/java/docs/reference/google-shopping-merchant-products/0.2.0/com.google.shopping.merchant.products.v1beta.ShippingOrBuilder)\n- [0.1.0](/java/docs/reference/google-shopping-merchant-products/0.1.0/com.google.shopping.merchant.products.v1beta.ShippingOrBuilder) \n\n public interface ShippingOrBuilder 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### getCountry()\n\n public abstract String getCountry()\n\nThe [CLDR territory\ncode](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)\nof the country to which an item will ship.\n\n`string country = 2;`\n\n### getCountryBytes()\n\n public abstract ByteString getCountryBytes()\n\nThe [CLDR territory\ncode](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)\nof the country to which an item will ship.\n\n`string country = 2;`\n\n### getLocationGroupName()\n\n public abstract String getLocationGroupName()\n\nThe location where the shipping is applicable, represented by a\nlocation group name.\n\n`string location_group_name = 6;`\n\n### getLocationGroupNameBytes()\n\n public abstract ByteString getLocationGroupNameBytes()\n\nThe location where the shipping is applicable, represented by a\nlocation group name.\n\n`string location_group_name = 6;`\n\n### getLocationId()\n\n public abstract long getLocationId()\n\nThe numeric ID of a location that the shipping rate applies to as\ndefined in the [AdWords\nAPI](https://developers.google.com/adwords/api/docs/appendix/geotargeting).\n\n`int64 location_id = 5;`\n\n### getMaxHandlingTime()\n\n public abstract long getMaxHandlingTime()\n\nMaximum handling time (inclusive) between when the order is received and\nshipped in business days. 0 means that the order is shipped on the same\nday as it is received if it happens before the cut-off time. Both\nmaxHandlingTime\nand\nmaxTransitTime\nare required if providing shipping speeds.\nminHandlingTime\nis optional if\nmaxHandlingTime\nis present.\n\n`optional int64 max_handling_time = 9;`\n\n### getMaxTransitTime()\n\n public abstract long getMaxTransitTime()\n\nMaximum transit time (inclusive) between when the order has shipped and\nwhen it is delivered in business days. 0 means that the order is\ndelivered on the same day as it ships. Both\nmaxHandlingTime\nand\nmaxTransitTime\nare required if providing shipping speeds.\nminTransitTime\nis optional if\nmaxTransitTime\nis present.\n\n`optional int64 max_transit_time = 11;`\n\n### getMinHandlingTime()\n\n public abstract long getMinHandlingTime()\n\nMinimum handling time (inclusive) between when the order is received and\nshipped in business days. 0 means that the order is shipped on the same\nday as it is received if it happens before the cut-off time.\nminHandlingTime\ncan only be present together with\nmaxHandlingTime;\nbut it is not required if\nmaxHandlingTime\nis present.\n\n`optional int64 min_handling_time = 8;`\n\n### getMinTransitTime()\n\n public abstract long getMinTransitTime()\n\nMinimum transit time (inclusive) between when the order has shipped and\nwhen it is delivered in business days. 0 means that the order is\ndelivered on the same day as it ships.\nminTransitTime\ncan only be present together with\nmaxTransitTime;\nbut it is not required if\nmaxTransitTime\nis present.\n\n`optional int64 min_transit_time = 10;`\n\n### getPostalCode()\n\n public abstract String getPostalCode()\n\nThe postal code range that the shipping rate applies to, represented by\na postal code, a postal code prefix followed by a \\* wildcard, a range\nbetween two postal codes or two postal code prefixes of equal length.\n\n`string postal_code = 7;`\n\n### getPostalCodeBytes()\n\n public abstract ByteString getPostalCodeBytes()\n\nThe postal code range that the shipping rate applies to, represented by\na postal code, a postal code prefix followed by a \\* wildcard, a range\nbetween two postal codes or two postal code prefixes of equal length.\n\n`string postal_code = 7;`\n\n### getPrice()\n\n public abstract Price getPrice()\n\nFixed shipping price, represented as a number.\n\n`.google.shopping.type.Price price = 1;`\n\n### getPriceOrBuilder()\n\n public abstract PriceOrBuilder getPriceOrBuilder()\n\nFixed shipping price, represented as a number.\n\n`.google.shopping.type.Price price = 1;`\n\n### getRegion()\n\n public abstract String getRegion()\n\nThe geographic region to which a shipping rate applies.\nSee [region](https://support.google.com/merchants/answer/6324484) for more\ninformation.\n\n`string region = 3;`\n\n### getRegionBytes()\n\n public abstract ByteString getRegionBytes()\n\nThe geographic region to which a shipping rate applies.\nSee [region](https://support.google.com/merchants/answer/6324484) for more\ninformation.\n\n`string region = 3;`\n\n### getService()\n\n public abstract String getService()\n\nA free-form description of the service class or delivery speed.\n\n`string service = 4;`\n\n### getServiceBytes()\n\n public abstract ByteString getServiceBytes()\n\nA free-form description of the service class or delivery speed.\n\n`string service = 4;`\n\n### hasMaxHandlingTime()\n\n public abstract boolean hasMaxHandlingTime()\n\nMaximum handling time (inclusive) between when the order is received and\nshipped in business days. 0 means that the order is shipped on the same\nday as it is received if it happens before the cut-off time. Both\nmaxHandlingTime\nand\nmaxTransitTime\nare required if providing shipping speeds.\nminHandlingTime\nis optional if\nmaxHandlingTime\nis present.\n\n`optional int64 max_handling_time = 9;`\n\n### hasMaxTransitTime()\n\n public abstract boolean hasMaxTransitTime()\n\nMaximum transit time (inclusive) between when the order has shipped and\nwhen it is delivered in business days. 0 means that the order is\ndelivered on the same day as it ships. Both\nmaxHandlingTime\nand\nmaxTransitTime\nare required if providing shipping speeds.\nminTransitTime\nis optional if\nmaxTransitTime\nis present.\n\n`optional int64 max_transit_time = 11;`\n\n### hasMinHandlingTime()\n\n public abstract boolean hasMinHandlingTime()\n\nMinimum handling time (inclusive) between when the order is received and\nshipped in business days. 0 means that the order is shipped on the same\nday as it is received if it happens before the cut-off time.\nminHandlingTime\ncan only be present together with\nmaxHandlingTime;\nbut it is not required if\nmaxHandlingTime\nis present.\n\n`optional int64 min_handling_time = 8;`\n\n### hasMinTransitTime()\n\n public abstract boolean hasMinTransitTime()\n\nMinimum transit time (inclusive) between when the order has shipped and\nwhen it is delivered in business days. 0 means that the order is\ndelivered on the same day as it ships.\nminTransitTime\ncan only be present together with\nmaxTransitTime;\nbut it is not required if\nmaxTransitTime\nis present.\n\n`optional int64 min_transit_time = 10;`\n\n### hasPrice()\n\n public abstract boolean hasPrice()\n\nFixed shipping price, represented as a number.\n\n`.google.shopping.type.Price price = 1;`"]]