Package com.mindee.product.receipt
Class ReceiptV5LineItem
- java.lang.Object
-
- com.mindee.parsing.standard.BaseField
-
- com.mindee.product.receipt.ReceiptV5LineItem
-
- All Implemented Interfaces:
LineItemField,PositionData
public class ReceiptV5LineItem extends BaseField implements LineItemField
List of all line items on the receipt.
-
-
Constructor Summary
Constructors Constructor Description ReceiptV5LineItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()The item description.DoublegetQuantity()The item quantity.DoublegetTotalAmount()The item total amount.DoublegetUnitPrice()The item unit price.booleanisEmpty()Whether the field is empty or not.StringtoString()StringtoTableLine()Output the line in a format suitable for inclusion in an rST table.-
Methods inherited from class com.mindee.parsing.standard.BaseField
canEqual, equals, getBoundingBox, getConfidence, getPageId, getPolygon, hashCode
-
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
Description copied from class:BaseFieldWhether the field is empty or not.
-
toTableLine
public String toTableLine()
Output the line in a format suitable for inclusion in an rST table.- Specified by:
toTableLinein interfaceLineItemField
-
getDescription
public String getDescription()
The item description.
-
getQuantity
public Double getQuantity()
The item quantity.
-
getTotalAmount
public Double getTotalAmount()
The item total amount.
-
getUnitPrice
public Double getUnitPrice()
The item unit price.
-
-