Package com.mindee.product.fr.energybill
Class EnergyBillV1EnergyUsage
- java.lang.Object
-
- com.mindee.parsing.standard.BaseField
-
- com.mindee.product.fr.energybill.EnergyBillV1EnergyUsage
-
- All Implemented Interfaces:
LineItemField,PositionData
public class EnergyBillV1EnergyUsage extends BaseField implements LineItemField
Details of energy consumption.
-
-
Constructor Summary
Constructors Constructor Description EnergyBillV1EnergyUsage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoublegetConsumption()The price per unit of energy consumed.StringgetDescription()Description or details of the energy usage.StringgetEndDate()The end date of the energy usage.StringgetStartDate()The start date of the energy usage.DoublegetTaxRate()The rate of tax applied to the total cost.DoublegetTotal()The total cost of energy consumed.StringgetUnit()The unit of measurement for energy consumption.DoublegetUnitPrice()The price per unit of energy consumed.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
-
getConsumption
public Double getConsumption()
The price per unit of energy consumed.
-
getDescription
public String getDescription()
Description or details of the energy usage.
-
getEndDate
public String getEndDate()
The end date of the energy usage.
-
getStartDate
public String getStartDate()
The start date of the energy usage.
-
getTaxRate
public Double getTaxRate()
The rate of tax applied to the total cost.
-
getTotal
public Double getTotal()
The total cost of energy consumed.
-
getUnit
public String getUnit()
The unit of measurement for energy consumption.
-
getUnitPrice
public Double getUnitPrice()
The price per unit of energy consumed.
-
-