Interface ProductCatalogItem.ExactPriceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProductCatalogItem.ExactPrice
,ProductCatalogItem.ExactPrice.Builder
- Enclosing class:
- ProductCatalogItem
public static interface ProductCatalogItem.ExactPriceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
getDisplayPrice()
Optional.float
getOriginalPrice()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDisplayPrice
float getDisplayPrice()
Optional. Display price of the product.
float display_price = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The displayPrice.
-
getOriginalPrice
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:
- The originalPrice.
-
-