Package com.mindee.parsing.standard
Class TaxField
- java.lang.Object
-
- com.mindee.parsing.standard.BaseField
-
- com.mindee.parsing.standard.TaxField
-
- All Implemented Interfaces:
LineItemField
,PositionData
public class TaxField extends BaseField implements LineItemField
Represent a tax line.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
getBase()
The tax base.String
getCode()
The tax code.Double
getRate()
The tax rate in percentage.Double
getValue()
The tax amount.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
-
getValue
public Double getValue()
The tax amount.
-
getCode
public String getCode()
The tax code.
-
getRate
public Double getRate()
The tax rate in percentage.
-
getBase
public Double getBase()
The tax base.
-
-