java.lang.Object
com.tccc.kos.ext.freestyle.service.brandset.regulatory.NutritionVolume

public class NutritionVolume extends Object
A collection of nutrition data rounded using regulatory rules for a particular region for a specified volume of beverage. This is used to display nutrition information to a consumer.
Version:
2024-07-21
  • Constructor Details

    • NutritionVolume

      public NutritionVolume()
  • Method Details

    • getVolume

      public double getVolume()
      Return the volume in ml the results are computed for.
    • add

      public void add(NutritionVolume.RoundedValue value)
      Add a value to the list.
    • getValues

      public List<NutritionVolume.RoundedValue> getValues()
      The list of rounded nutrition values for the beverage.
    • setVolume

      public void setVolume(double volume)