- All Known Implementing Classes:
PayrollCalculator
public interface Allowance
Defines the interface for calculating allowances.
Provides a method to calculate the total allowances.
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Calculate the total allowances.
-
Method Details
-
calculateTotalAllowances
double calculateTotalAllowances()Calculate the total allowances.- Returns:
- the total allowances calculated
-