public OrderPaymentCreatedEventHandler( ICurrentTenant currentTenant, IOrderPaymentChecker orderPaymentChecker, IOrderRepository orderRepository) { _currentTenant = currentTenant; _orderPaymentChecker = orderPaymentChecker; _orderRepository = orderRepository; }
public OrderPaymentCompletedEventHandler( IClock clock, ICurrentTenant currentTenant, IOrderPaymentChecker orderPaymentChecker, IOrderRepository orderRepository) { _clock = clock; _currentTenant = currentTenant; _orderPaymentChecker = orderPaymentChecker; _orderRepository = orderRepository; }
public PaymentCompletedEventHandler( IClock clock, ICurrentTenant currentTenant, IObjectMapper objectMapper, IOrderPaymentChecker orderPaymentChecker, IDistributedEventBus distributedEventBus, IOrderRepository orderRepository) { _clock = clock; _currentTenant = currentTenant; _objectMapper = objectMapper; _orderPaymentChecker = orderPaymentChecker; _distributedEventBus = distributedEventBus; _orderRepository = orderRepository; }