Interface ProductCatalogItem.ExactPriceOrBuilder (0.21.0)

Stay organized with collections Save and categorize content based on your preferences.
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.