Class ForecastSpend


  • public final class ForecastSpend
    extends Object
    The forecasted cost which is being tracked for a budget.
    • Constructor Detail

      • ForecastSpend

        public ForecastSpend()
    • Method Detail

      • amount

        public BigDecimal amount()
        Get the amount property: The forecasted cost for the total time period which is being tracked by the budget. This value is only provided if the budget contains a forecast alert type.
        Returns:
        the amount value.
      • unit

        public String unit()
        Get the unit property: The unit of measure for the budget amount.
        Returns:
        the unit value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.