Interface ProductCatalogItem.ExactPriceOrBuilder (0.50.0)

public static interface ProductCatalogItem.ExactPriceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisplayPrice()

public abstract float getDisplayPrice()

Optional. Display price of the product.

float display_price = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
float

The displayPrice.

getOriginalPrice()

public abstract float getOriginalPrice()

Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.

float original_price = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
float

The originalPrice.