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 DoublegetBase()The tax base.StringgetCode()The tax code.DoublegetRate()The tax rate in percentage.DoublegetValue()The tax amount.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
-
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.
-
-