InstaTax.Core.DomainObjects.TaxSlabs.GetInstance C# (CSharp) Method

GetInstance() public static method

public static GetInstance ( ) : TaxSlabs
return TaxSlabs
        public static TaxSlabs GetInstance()
        {
            return Instance;
        }

Usage Example

Beispiel #1
0
        public virtual double CalculateNetPayableTax()
        {
            double netTaxableIncome = CalculateGrossIncome(TaxPayer)
                                      - GetChapter6Deductions();

            return(TaxSlabs.GetInstance().ComputeTax(netTaxableIncome, TaxPayer) - (AnnualSalary.ProfessionalTax + AnnualSalary.TaxDedeuctedAtSource));
        }