Class NutritionVolume
java.lang.Object
com.tccc.kos.ext.freestyle.service.brandset.regulatory.NutritionVolume
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
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(NutritionVolume.RoundedValue value) Add a value to the list.The list of rounded nutrition values for the beverage.double
Return the volume in ml the results are computed for.void
setVolume
(double volume)
-
Constructor Details
-
NutritionVolume
public NutritionVolume()
-
-
Method Details
-
getVolume
public double getVolume()Return the volume in ml the results are computed for. -
add
Add a value to the list. -
getValues
The list of rounded nutrition values for the beverage. -
setVolume
public void setVolume(double volume)
-