private static Tax GetMedicareTax(IncomeAndDeductions incomeAndDeductions) { // what about pre tax deductions and 401(k)? TaxLine[] lines = new TaxLine[] { new TaxLine("Hospital Insurance", .0145m, incomeAndDeductions.GrossAnnualIncome) }; return(new Tax("Medicare", lines)); }
private static Tax GetStateDisabilityInsuranceTax(IncomeAndDeductions incomeAndDeductions) { // what about pre tax deductions and 401(k)? decimal sdiTaxable = Math.Min(incomeAndDeductions.GrossAnnualIncome, c_californiaStateDisabilityInsuranceTaxableLimit); TaxLine[] lines = new TaxLine[] { new TaxLine("State Disability Insurance", .009m, sdiTaxable) }; return(new Tax("State Disability Insurance Tax", lines)); }
private static Tax GetSocialSecurityTax(IncomeAndDeductions incomeAndDeductions) { // what about pre tax deductions and 401(k)? decimal oasiTaxable = Math.Min(incomeAndDeductions.GrossAnnualIncome, c_socialSecurityTaxableLimit); decimal diTaxable = Math.Min(incomeAndDeductions.GrossAnnualIncome, c_socialSecurityTaxableLimit); TaxLine[] lines = new TaxLine[] { new TaxLine("Old-Age and Survivors Insurance", .053m, oasiTaxable), new TaxLine("Disability Insurance", .009m, diTaxable) }; return(new Tax("Social Security", lines)); }