Interface PriceInfo.PriceRangeOrBuilder (2.51.0)

public static interface PriceInfo.PriceRangeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOriginalPrice()

public abstract Interval getOriginalPrice()

The inclusive Product.pricing_info.original_price internal of all variant Product having the same Product.primary_product_id.

.google.cloud.retail.v2.Interval original_price = 2;

Returns
Type Description
Interval

The originalPrice.

getOriginalPriceOrBuilder()

public abstract IntervalOrBuilder getOriginalPriceOrBuilder()

The inclusive Product.pricing_info.original_price internal of all variant Product having the same Product.primary_product_id.

.google.cloud.retail.v2.Interval original_price = 2;

Returns
Type Description
IntervalOrBuilder

getPrice()

public abstract Interval getPrice()

The inclusive Product.pricing_info.price interval of all variant Product having the same Product.primary_product_id.

.google.cloud.retail.v2.Interval price = 1;

Returns
Type Description
Interval

The price.

getPriceOrBuilder()

public abstract IntervalOrBuilder getPriceOrBuilder()

The inclusive Product.pricing_info.price interval of all variant Product having the same Product.primary_product_id.

.google.cloud.retail.v2.Interval price = 1;

Returns
Type Description
IntervalOrBuilder

hasOriginalPrice()

public abstract boolean hasOriginalPrice()

The inclusive Product.pricing_info.original_price internal of all variant Product having the same Product.primary_product_id.

.google.cloud.retail.v2.Interval original_price = 2;

Returns
Type Description
boolean

Whether the originalPrice field is set.

hasPrice()

public abstract boolean hasPrice()

The inclusive Product.pricing_info.price interval of all variant Product having the same Product.primary_product_id.

.google.cloud.retail.v2.Interval price = 1;

Returns
Type Description
boolean

Whether the price field is set.