Beispiel #1
0
 public OrderService(
     [NotNull] IOrderRepository orderRepository,
     [NotNull] ICalculationService calculationService,
     [NotNull] ILogFactory logFactory,
     [NotNull] OrderExpirationPeriodsSettings orderExpirationPeriods,
     [NotNull] IMarkupService markupService,
     [NotNull] ILykkeAssetsResolver lykkeAssetsResolver)
 {
     _orderRepository    = orderRepository;
     _calculationService = calculationService;
     _log = logFactory.CreateLog(this);
     _orderExpirationPeriods = orderExpirationPeriods;
     _markupService          = markupService;
     _lykkeAssetsResolver    = lykkeAssetsResolver;
 }
Beispiel #2
0
 public OrderService(
     IOrderRepository orderRepository,
     IMerchantRepository merchantRepository,
     ICalculationService calculationService,
     ILog log,
     OrderExpirationPeriodsSettings orderExpirationPeriods,
     IMarkupService markupService,
     ILykkeAssetsResolver lykkeAssetsResolver)
 {
     _orderRepository    = orderRepository;
     _merchantRepository = merchantRepository;
     _calculationService = calculationService;
     _log = log;
     _orderExpirationPeriods = orderExpirationPeriods;
     _markupService          = markupService;
     _lykkeAssetsResolver    = lykkeAssetsResolver;
 }