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 line item details.
-
-
Constructor Summary
Constructors Constructor Description ReceiptV5LineItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
The item description.Double
getQuantity()
The item quantity.Double
getTotalAmount()
The item total amount.Double
getUnitPrice()
The item unit price.boolean
isEmpty()
String
toString()
String
toTableLine()
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()
-
toTableLine
public String toTableLine()
Output the line in a format suitable for inclusion in an rST table.- Specified by:
toTableLine
in 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.
-
-