public decimal GetDeductions()
        {
            BudgetRepairLevyDeduction.Apply(TaxableIncome);
            MedicareLevyDeduction.Apply(TaxableIncome);
            IncomeTaxDeduction.Apply(TaxableIncome);

            return(BudgetRepairLevyDeduction.Deduction + MedicareLevyDeduction.Deduction + IncomeTaxDeduction.Deduction);
        }
 public SalaryDetails(MedicareLevyDeduction medicareLevyDeduction,
                      BudgetRepairLevyDeduction budgetRepairLevyDeduction,
                      IncomeTaxDeduction incomeTaxDeduction)
 {
     MedicareLevyDeduction     = medicareLevyDeduction;
     BudgetRepairLevyDeduction = budgetRepairLevyDeduction;
     IncomeTaxDeduction        = incomeTaxDeduction;
 }