public PurchaseProvider(ILogger <PurchaseProvider> logger, IGrossCalculator grossCalculator, IVatCalculator vatCalculator, INetCalculator netCalculator) { _logger = logger; _grossCalculator = grossCalculator; _vatCalculator = vatCalculator; _netCalculator = netCalculator; }
public PurchaseCalculatorWithGross(decimal vatRate, decimal?grossAmount, INetCalculator netCalculator, IVatCalculator vatCalculator) { _netCalculator = netCalculator; _vatCalculator = vatCalculator; VatRate = vatRate; GrossAmount = grossAmount; }
public PurchaseCalculatorWithVat(decimal vatRate, decimal?vatAmount, INetCalculator netCalculator, IGrossCalculator grossCalculator) { _netCalculator = netCalculator; _grossCalculator = grossCalculator; VatRate = vatRate; VatAmount = vatAmount; }