Interface IPensionContributionCalculatorFactory
Interface that represents factories that can generate IPensionContributionCalculator implementations.
public interface IPensionContributionCalculatorFactory
Methods
GetCalculator(PensionsEarningsBasis, PensionTaxTreatment, PayDate)
Gets a new IPensionContributionCalculator based on the specified pay date and number of tax periods. The pay date is provided in order to determine which set of thresholds (Qualifying Earnings only) and rates to use, noting that these may change in-year.
IPensionContributionCalculator GetCalculator(PensionsEarningsBasis earningsBasis, PensionTaxTreatment taxTreatment, PayDate payDate)
Parameters
earningsBasis
PensionsEarningsBasisEarnings basis for pension calculation (Qualifying Earnings vs Pensionable Pay Set x.
taxTreatment
PensionTaxTreatmentTax treatment (net pay arrangement vs relief at source).
payDate
PayDateApplicable pay date.
Returns
- IPensionContributionCalculator
A new calculator instance.
GetCalculator(PensionsEarningsBasis, PensionTaxTreatment, TaxYear, PayFrequency, int)
Gets a new IPensionContributionCalculator based on the specified tax year, pay frequency and pay period, along with the applicable number of tax periods. The tax year, pay frequency and pay period are provided in order to determine which set of thresholds and rates to use, noting that these may change in-year.
IPensionContributionCalculator GetCalculator(PensionsEarningsBasis earningsBasis, PensionTaxTreatment taxTreatment, TaxYear taxYear, PayFrequency payFrequency, int taxPeriod)
Parameters
earningsBasis
PensionsEarningsBasisEarnings basis for pension calculation (Qualifying Earnings vs Pensionable Pay Set x.
taxTreatment
PensionTaxTreatmentTax treatment (net pay arrangement vs relief at source).
taxYear
TaxYearApplicable tax year.
payFrequency
PayFrequencyApplicable pay frequency.
taxPeriod
intApplicable tax period.
Returns
- IPensionContributionCalculator
A new calculator instance.