Class NutritionInfo
java.lang.Object
com.tccc.kos.ext.freestyle.service.brandset.regulatory.NutritionInfo
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(NutritionVolume volume) Add a volume to the list.getError()
Return the error code for the results.Return the label keys for use with localization to display the correct legal text to the consumer.The list of nutrition information by volumes.void
void
-
Constructor Details
-
NutritionInfo
public NutritionInfo()
-
-
Method Details
-
getLabels
Return the label keys for use with localization to display the correct legal text to the consumer. -
getError
Return the error code for the results. If not null, this is the reason why the results contain no data. -
add
Add a volume to the list. -
getVolumes
The list of nutrition information by volumes. -
setLabels
-
setError
-