Table of Contents

Interface INmwEvaluatorFactory

Namespace
Payetools.NationalMinimumWage
Assembly
Payetools.NationalMinimumWage.dll

Interface that represents factories that can generate INmwEvaluator implementations.

public interface INmwEvaluatorFactory

Methods

GetEvaluator(PayDate)

Gets a new INmwEvaluator based on the specified pay date and number of tax periods. The pay date is provided in order to determine which set of levels to use, noting that these may (but rarely do) change in-year.

INmwEvaluator GetEvaluator(PayDate payDate)

Parameters

payDate PayDate

Applicable pay date.

Returns

INmwEvaluator

A new evaluator instance.

GetEvaluator(TaxYear, PayFrequency, int)

Gets a new INmwEvaluator based on the specified tax year, pay frequency and pay period. The tax year, pay frequency and pay period are provided in order to determine which set of levels to use, noting that these may (but rarely do) change in-year.

INmwEvaluator GetEvaluator(TaxYear taxYear, PayFrequency payFrequency, int taxPeriod)

Parameters

taxYear TaxYear

Applicable tax year.

payFrequency PayFrequency

Applicable pay frequency.

taxPeriod int

Applicable tax period.

Returns

INmwEvaluator

A new evaluator instance.