Interface PriceInfo.PriceRangeOrBuilder (2.2.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the price field is set.