Interface IBalanceSheet
-
- All Known Implementing Classes:
BalanceSheet
public interface IBalanceSheetInterface 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeductPropertyTaxes(int amount)Subtract the property taxes.intgetOfficeTrading()Retrieve the balance for the office tradingintgetOtherCosts()Retrieve other unspecified costs like finesintgetPropertyTaxes()Retrieve the property taxesintgetRentalIncome()Retrieve the rental incomeintgetStewardCost()Retrieve the wages for the stewardsintgetWageCosts()Retrieve the wage costsvoidupdateAutomatedTradingCosts(long costsPerDay)Update the costs for automated tradingvoidupdateOtherExpensesOneTime(int costs)Update other expences that do not occur regularly.voidupdateOtherExpensesRegular(int costsPerDay)Update various other expenses.voidupdateRentalIncome(int incomePerDay)Update the rental income.voidupdateSalaries(int saleriesPerDay)Update the salaries for workers in the workshopvoidupdateStewardCosts(int costPerDay)Update the stewards costs.
-
-
-
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.
-
-