Class BudgetBalance


  • public class BudgetBalance
    extends Object
    BudgetBalance
    • Constructor Detail

      • BudgetBalance

        public BudgetBalance()
    • Method Detail

      • period

        public BudgetBalance period​(String period)
        Period the amount applies to (e.g. “2019-08”)
        Parameters:
        period - String
        Returns:
        BudgetBalance
      • getPeriod

        public String getPeriod()
        Period the amount applies to (e.g. “2019-08”)
        Returns:
        period
      • getPeriodAsDate

        public org.threeten.bp.LocalDate getPeriodAsDate()
        Period the amount applies to (e.g. “2019-08”)
        Returns:
        LocalDate
      • setPeriod

        public void setPeriod​(String period)
        Period the amount applies to (e.g. “2019-08”)
        Parameters:
        period - String
      • setPeriod

        public void setPeriod​(org.threeten.bp.LocalDate period)
        Period the amount applies to (e.g. “2019-08”)
        Parameters:
        period - LocalDateTime
      • amount

        public BudgetBalance amount​(Integer amount)
        LineItem Quantity
        Parameters:
        amount - Integer
        Returns:
        BudgetBalance
      • getAmount

        public Integer getAmount()
        LineItem Quantity
        Returns:
        amount
      • setAmount

        public void setAmount​(Integer amount)
        LineItem Quantity
        Parameters:
        amount - Integer
      • unitAmount

        public BudgetBalance unitAmount​(Integer unitAmount)
        Budgeted amount
        Parameters:
        unitAmount - Integer
        Returns:
        BudgetBalance
      • getUnitAmount

        public Integer getUnitAmount()
        Budgeted amount
        Returns:
        unitAmount
      • setUnitAmount

        public void setUnitAmount​(Integer unitAmount)
        Budgeted amount
        Parameters:
        unitAmount - Integer
      • notes

        public BudgetBalance notes​(String notes)
        Any footnotes associated with this balance
        Parameters:
        notes - String
        Returns:
        BudgetBalance
      • getNotes

        public String getNotes()
        Any footnotes associated with this balance
        Returns:
        notes
      • setNotes

        public void setNotes​(String notes)
        Any footnotes associated with this balance
        Parameters:
        notes - String
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object