IFuelPriceInfoConfiguration.cs 693 B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace Wayne.ForecourtControl
  6. {
  7. public interface IFuelPriceInfoConfiguration
  8. {
  9. decimal BasePrice { get; }
  10. decimal GeneralPriceDelta { get; }
  11. decimal GetPriceGroupDelta(PriceGroup priceGroup);
  12. /// <summary>
  13. /// the BasePrice + GeneralPriceDelta
  14. /// </summary>
  15. decimal Price { get; }
  16. /// <summary>
  17. /// the Price + PriceGroupDelta for the specified price
  18. /// </summary>
  19. /// <returns></returns>
  20. decimal GetPrice(PriceGroup pricegroup);
  21. IFuelProductConfiguration Product { get; }
  22. }
  23. }