Class NutritionFactsLabelV1ServingSize

  • All Implemented Interfaces:
    PositionData

    public class NutritionFactsLabelV1ServingSize
    extends BaseField
    The size of a single serving of the product.
    • Constructor Detail

      • NutritionFactsLabelV1ServingSize

        public NutritionFactsLabelV1ServingSize()
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in class BaseField
        Returns:
        true if the field is empty, false otherwise.
      • 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.