コード例 #1
0
        public Deductions ComputeTaxes(UserInterpreted userInterpreted)
        {
            var input = userInterpreted;

            Incoming = input.HoursRate * input.HoursWorked;

            var d = new Deductions()
            {
                Employeelocation      = input.EmployeesLocation,
                GrossAmount           = Incoming,
                IncomeTax             = CalculateincomeTaxRate(),
                UniversalSocialCharge = CalculeteUniversalSocialCharge(),
                Pension   = CompulsoryPension(),
                NetAmount = 0
            };

            d.NetAmount = d.GrossAmount - d.IncomeTax - d.UniversalSocialCharge - d.Pension;

            return(d);
        }
コード例 #2
0
 public Deductions ComputeTaxes(UserInterpreted userInterpreted)
 {
     return(new Deductions());
 }
コード例 #3
0
 public abstract IPayRollCountry SetCountryPayRoll(UserInterpreted user);