Interface ProductCatalogItem.ExactPriceOrBuilder (0.31.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
TypeDescription
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
TypeDescription
float

The originalPrice.