Class EnergyBillV1EnergyUsage

    • Constructor Detail

      • EnergyBillV1EnergyUsage

        public EnergyBillV1EnergyUsage()
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in class BaseField
        Returns:
        true if the field is empty, false otherwise.
      • toTableLine

        public String toTableLine()
        Output the line in a format suitable for inclusion in an rST table.
        Specified by:
        toTableLine in interface LineItemField
      • 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.
      • getUnitPrice

        public Double getUnitPrice()
        The price per unit of energy consumed.