public double getFICA_Taxes(YearlyTaxProfile ytp) { //TO DO: FICA taxes aren't fixed - use a database to store different years data double taxrate = 0.07;//FIX HARDCODED //tax on everything except exempt contributions return(taxrate * (ytp.getSalary() - ytp.getPreTaxContributions())); }
public double getAdjustedGrossIncome(YearlyTaxProfile ytp) { return(ytp.getSalary() - ytp.getPreTaxContributions() - this.getTaxDeductions()); }
public double getTakeHomePay(YearlyTaxProfile ytp) { //TO DO: Add federal income taxes //return annualSalary - getFICA_Taxes()- getFederalIncomeTax()-getLocalIncomeTax()-pretaxcontributions return(ytp.getSalary() - this.getFICA_Taxes(ytp) - ytp.getPreTaxContributions()); }