Interface ShippingOrBuilder (0.5.0)

public interface ShippingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCountry()

public abstract String getCountry()

The CLDR territory code of the country to which an item will ship.

string country = 2;

Returns
Type Description
String

The country.

getCountryBytes()

public abstract ByteString getCountryBytes()

The CLDR territory code of the country to which an item will ship.

string country = 2;

Returns
Type Description
ByteString

The bytes for country.

getLocationGroupName()

public abstract String getLocationGroupName()

The location where the shipping is applicable, represented by a location group name.

string location_group_name = 6;

Returns
Type Description
String

The locationGroupName.

getLocationGroupNameBytes()

public abstract ByteString getLocationGroupNameBytes()

The location where the shipping is applicable, represented by a location group name.

string location_group_name = 6;

Returns
Type Description
ByteString

The bytes for locationGroupName.

getLocationId()

public abstract long getLocationId()

The numeric ID of a location that the shipping rate applies to as defined in the AdWords API.

int64 location_id = 5;

Returns
Type Description
long

The locationId.

getMaxHandlingTime()

public abstract long getMaxHandlingTime()

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.

optional int64 max_handling_time = 9;

Returns
Type Description
long

The maxHandlingTime.

getMaxTransitTime()

public abstract long getMaxTransitTime()

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.

optional int64 max_transit_time = 11;

Returns
Type Description
long

The maxTransitTime.

getMinHandlingTime()

public abstract long getMinHandlingTime()

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.

optional int64 min_handling_time = 8;

Returns
Type Description
long

The minHandlingTime.

getMinTransitTime()

public abstract long getMinTransitTime()

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.

optional int64 min_transit_time = 10;

Returns
Type Description
long

The minTransitTime.

getPostalCode()

public abstract String getPostalCode()

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.

string postal_code = 7;

Returns
Type Description
String

The postalCode.

getPostalCodeBytes()

public abstract ByteString getPostalCodeBytes()

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.

string postal_code = 7;

Returns
Type Description
ByteString

The bytes for postalCode.

getPrice()

public abstract Price getPrice()

Fixed shipping price, represented as a number.

.google.shopping.type.Price price = 1;

Returns
Type Description
com.google.shopping.type.Price

The price.

getPriceOrBuilder()

public abstract PriceOrBuilder getPriceOrBuilder()

Fixed shipping price, represented as a number.

.google.shopping.type.Price price = 1;

Returns
Type Description
com.google.shopping.type.PriceOrBuilder

getRegion()

public abstract String getRegion()

The geographic region to which a shipping rate applies. See region for more information.

string region = 3;

Returns
Type Description
String

The region.

getRegionBytes()

public abstract ByteString getRegionBytes()

The geographic region to which a shipping rate applies. See region for more information.

string region = 3;

Returns
Type Description
ByteString

The bytes for region.

getService()

public abstract String getService()

A free-form description of the service class or delivery speed.

string service = 4;

Returns
Type Description
String

The service.

getServiceBytes()

public abstract ByteString getServiceBytes()

A free-form description of the service class or delivery speed.

string service = 4;

Returns
Type Description
ByteString

The bytes for service.

hasMaxHandlingTime()

public abstract boolean hasMaxHandlingTime()

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.

optional int64 max_handling_time = 9;

Returns
Type Description
boolean

Whether the maxHandlingTime field is set.

hasMaxTransitTime()

public abstract boolean hasMaxTransitTime()

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.

optional int64 max_transit_time = 11;

Returns
Type Description
boolean

Whether the maxTransitTime field is set.

hasMinHandlingTime()

public abstract boolean hasMinHandlingTime()

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.

optional int64 min_handling_time = 8;

Returns
Type Description
boolean

Whether the minHandlingTime field is set.

hasMinTransitTime()

public abstract boolean hasMinTransitTime()

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.

optional int64 min_transit_time = 10;

Returns
Type Description
boolean

Whether the minTransitTime field is set.

hasPrice()

public abstract boolean hasPrice()

Fixed shipping price, represented as a number.

.google.shopping.type.Price price = 1;

Returns
Type Description
boolean

Whether the price field is set.