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

public class NutritionInfo extends Object
Nutrition details for a particular Freestyle beverage. This contains information about the beverage for various volumes as well as localization keys for displaying nutrition text to a consumer.
Version:
2024-07-21
  • Constructor Details

    • NutritionInfo

      public NutritionInfo()
  • Method Details

    • getLabels

      public Map<String,String> getLabels()
      Return the label keys for use with localization to display the correct legal text to the consumer.
    • getError

      public String getError()
      Return the error code for the results. If not null, this is the reason why the results contain no data.
    • add

      public void add(NutritionVolume volume)
      Add a volume to the list.
    • getVolumes

      public List<NutritionVolume> getVolumes()
      The list of nutrition information by volumes.
    • setLabels

      public void setLabels(Map<String,String> labels)
    • setError

      public void setError(String error)