C# Class InstaTax.Core.DomainObjects.TaxSlabs

Datei anzeigen Open project: bagheera/tax Class Usage Examples

Public Methods

Method Description
ComputeTax ( double taxableIncome, User taxPayer ) : double
GetInstance ( ) : TaxSlabs

Private Methods

Method Description
GetAppropriateTaxSlabs ( User taxPayer ) : List
TaxSlabs ( ) : System
ValidateTaxComponents ( double taxableIncome, User taxPayer ) : void

Method Details

ComputeTax() public method

public ComputeTax ( double taxableIncome, User taxPayer ) : double
taxableIncome double
taxPayer User
return double

GetInstance() public static method

public static GetInstance ( ) : TaxSlabs
return TaxSlabs