Interface IBalanceSheet

  • All Known Implementing Classes:
    BalanceSheet

    public interface IBalanceSheet
    Interface for balance data of the a week. The week must not necessairily be completed
    Author:
    Andi Hotz, (c) Sahits GmbH, 2012 Created on Jul 20, 2012
    • Method Detail

      • getRentalIncome

        int getRentalIncome()
        Retrieve the rental income
        Returns:
        income from renting houses
      • getWageCosts

        int getWageCosts()
        Retrieve the wage costs
        Returns:
        costs for workshop wages
      • getPropertyTaxes

        int getPropertyTaxes()
        Retrieve the property taxes
        Returns:
        costs of property taxes
      • getOfficeTrading

        int getOfficeTrading()
        Retrieve the balance for the office trading
        Returns:
        income/deficit from automatic office trading
      • getStewardCost

        int getStewardCost()
        Retrieve the wages for the stewards
        Returns:
        wage costs of the steward
      • getOtherCosts

        int getOtherCosts()
        Retrieve other unspecified costs like fines
        Returns:
        various other costs
      • updateStewardCosts

        void updateStewardCosts​(int costPerDay)
        Update the stewards costs.
        Parameters:
        costPerDay - salary per day
      • updateRentalIncome

        void updateRentalIncome​(int incomePerDay)
        Update the rental income.
        Parameters:
        incomePerDay - daily rental income
      • deductPropertyTaxes

        void deductPropertyTaxes​(int amount)
        Subtract the property taxes.
        Parameters:
        amount - tax amount
      • updateSalaries

        void updateSalaries​(int saleriesPerDay)
        Update the salaries for workers in the workshop
        Parameters:
        saleriesPerDay - total salary of all workers per day
      • updateAutomatedTradingCosts

        void updateAutomatedTradingCosts​(long costsPerDay)
        Update the costs for automated trading
        Parameters:
        costsPerDay - incured costs per day
      • updateOtherExpensesRegular

        void updateOtherExpensesRegular​(int costsPerDay)
        Update various other expenses.
        Parameters:
        costsPerDay - cost per day.
      • updateOtherExpensesOneTime

        void updateOtherExpensesOneTime​(int costs)
        Update other expences that do not occur regularly.
        Parameters:
        costs - one time costs.