Interface ProductCatalogItem.ExactPriceOrBuilder

    • 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.MessageLiteOrBuilder

        isInitialized
      • 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.