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
Modifier and TypeMethodDescriptionfloatOptional.floatOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-