|
using System.Collections.Generic;
namespace BusinessRules.Evolution_Five
{
/// <summary>
/// Australian tax band generator object to contruct tax bands.
/// </summary>
internal class AustralianTaxBandGenerator : TaxBandGenerator
{
#region Methods
/// <summary>
/// Creates the tax bands.
/// </summary>
/// <remarks>Factory Method that constructs the tax band collection.</remarks>
public override List<TaxBand> CreateTaxBands()
{
List<TaxBand> taxBands = new List<TaxBand>();
taxBands.Add(new TaxBand(0.0, 6000.99, 0.0));
taxBands.Add(new TaxBand(6001.00, 25000.99, 0.15));
taxBands.Add(new TaxBand(25001.00, 75000.99, 0.30));
taxBands.Add(new TaxBand(75001.00, 150000.99, 0.40));
taxBands.Add(new TaxBand(150001.00, double.MaxValue, 0.45));
return taxBands;
}
#endregion
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.