Package com.mindee.product.invoice
Class InvoiceV4LineItem
- java.lang.Object
-
- com.mindee.parsing.standard.BaseField
-
- com.mindee.product.invoice.InvoiceV4LineItem
-
- All Implemented Interfaces:
LineItemField,PositionData
public class InvoiceV4LineItem extends BaseField implements LineItemField
List of all the line items present on the invoice.
-
-
Constructor Summary
Constructors Constructor Description InvoiceV4LineItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()The item description.StringgetProductCode()The product code of the item.DoublegetQuantity()The item quantityDoublegetTaxAmount()The item tax amount.DoublegetTaxRate()The item tax rate in percentage.DoublegetTotalAmount()The item total amount.StringgetUnitMeasure()The item unit of measure.DoublegetUnitPrice()The item unit price.booleanisEmpty()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()
-
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.
-
getProductCode
public String getProductCode()
The product code of the item.
-
getQuantity
public Double getQuantity()
The item quantity
-
getTaxAmount
public Double getTaxAmount()
The item tax amount.
-
getTaxRate
public Double getTaxRate()
The item tax rate in percentage.
-
getTotalAmount
public Double getTotalAmount()
The item total amount.
-
getUnitMeasure
public String getUnitMeasure()
The item unit of measure.
-
getUnitPrice
public Double getUnitPrice()
The item unit price.
-
-