Example #1
0
 public NetIncome(
     TotalMonthlyIncome totalMonthlyIncome,
     EmployeeHealthCareInsurance employeeHealthcareInsurance,
     EmployeeSocialInsurance employeeSocialInsurance,
     EmployeeUnemploymentInsurance employeeUnemploymentInsurance,
     EmployeeUnionFee employeeUnionFee,
     PersonalIncomeTax pit)
 {
     Amount = totalMonthlyIncome.Amount -
              employeeHealthcareInsurance.Amount -
              employeeSocialInsurance.Amount -
              employeeUnemploymentInsurance.Amount -
              employeeUnionFee.Amount -
              pit.Amount;
 }
Example #2
0
        public AssessableIncome(
            TaxableIncome taxableIncome,
            EmployeeSocialInsurance employeeSocialInsurance,
            EmployeeHealthCareInsurance employeeHealthCareInsurance,
            EmployeeUnemploymentInsurance employeeUnemploymentInsurance,
            EmployeeUnionFee employeeUnionFee,
            TotalDeduction totalDeduction)
        {
            var result = taxableIncome.Amount -
                         employeeSocialInsurance.Amount -
                         employeeHealthCareInsurance.Amount -
                         employeeUnemploymentInsurance.Amount -
                         employeeUnionFee.Amount -
                         totalDeduction.Amount;

            Amount = result < Money.ZeroVND ? Money.ZeroVND : result;
        }