Interface ProductMinimumOrderValueOrBuilder (1.23.0)

public interface ProductMinimumOrderValueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCountry()

public abstract String getCountry()

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

optional string country = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The country.

getCountryBytes()

public abstract ByteString getCountryBytes()

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

optional string country = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for country.

getPrice()

public abstract Price getPrice()

Required. The minimum cart or basket value before the checkout is permitted.

optional .google.shopping.type.Price price = 4 [(.google.api.field_behavior) = REQUIRED];

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

The price.

getPriceOrBuilder()

public abstract PriceOrBuilder getPriceOrBuilder()

Required. The minimum cart or basket value before the checkout is permitted.

optional .google.shopping.type.Price price = 4 [(.google.api.field_behavior) = REQUIRED];

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

getService()

public abstract String getService()

A free-form description of the service class or delivery speed. This should match the service value set for the Shipping attribute. See service.

optional string service = 2;

Returns
Type Description
String

The service.

getServiceBytes()

public abstract ByteString getServiceBytes()

A free-form description of the service class or delivery speed. This should match the service value set for the Shipping attribute. See service.

optional string service = 2;

Returns
Type Description
ByteString

The bytes for service.

getSurface()

public abstract ProductMinimumOrderValue.Surface getSurface()

The surface to which the minimum order value applies. Defaults to ONLINE_LOCAL if not configured.

optional .google.shopping.merchant.products.v1.ProductMinimumOrderValue.Surface surface = 3;

Returns
Type Description
ProductMinimumOrderValue.Surface

The surface.

getSurfaceValue()

public abstract int getSurfaceValue()

The surface to which the minimum order value applies. Defaults to ONLINE_LOCAL if not configured.

optional .google.shopping.merchant.products.v1.ProductMinimumOrderValue.Surface surface = 3;

Returns
Type Description
int

The enum numeric value on the wire for surface.

hasCountry()

public abstract boolean hasCountry()

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

optional string country = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the country field is set.

hasPrice()

public abstract boolean hasPrice()

Required. The minimum cart or basket value before the checkout is permitted.

optional .google.shopping.type.Price price = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the price field is set.

hasService()

public abstract boolean hasService()

A free-form description of the service class or delivery speed. This should match the service value set for the Shipping attribute. See service.

optional string service = 2;

Returns
Type Description
boolean

Whether the service field is set.

hasSurface()

public abstract boolean hasSurface()

The surface to which the minimum order value applies. Defaults to ONLINE_LOCAL if not configured.

optional .google.shopping.merchant.products.v1.ProductMinimumOrderValue.Surface surface = 3;

Returns
Type Description
boolean

Whether the surface field is set.