Class NutritionFactsLabelV1ServingSize
- java.lang.Object
-
- com.mindee.parsing.standard.BaseField
-
- com.mindee.product.nutritionfactslabel.NutritionFactsLabelV1ServingSize
-
- All Implemented Interfaces:
PositionData
public class NutritionFactsLabelV1ServingSize extends BaseField
The size of a single serving of the product.
-
-
Constructor Summary
Constructors Constructor Description NutritionFactsLabelV1ServingSize()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
getAmount()
The amount of a single serving.String
getUnit()
The unit for the amount of a single serving.boolean
isEmpty()
String
toFieldList()
Output the object in a format suitable for inclusion in an rST field list.String
toString()
-
Methods inherited from class com.mindee.parsing.standard.BaseField
canEqual, equals, getBoundingBox, getConfidence, getPageId, getPolygon, hashCode
-
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
-
toFieldList
public String toFieldList()
Output the object in a format suitable for inclusion in an rST field list.
-
getAmount
public Double getAmount()
The amount of a single serving.
-
getUnit
public String getUnit()
The unit for the amount of a single serving.
-
-