public ProcessPaymentV1Handler(IBus bus, IPaymentsDataStore paymentsDataStore, ICreditCardPaymentProvider creditCardPaymentProvider, IApplicationLogger applicationLogger)
 {
     this.bus = bus;
     this.paymentsDataStore         = paymentsDataStore;
     this.creditCardPaymentProvider = creditCardPaymentProvider;
     this.applicationLogger         = applicationLogger;
 }
 public FakeBus()
 {
     this.logger                   = new ConsoleLogger();
     this.applicationLogger        = new ConsoleApplicationLogger();
     this.paymentsDataStore        = new InMemoryPaymentsDataStore();
     this.orderAggregateFactory    = new OrderAggregateFactory();
     this.deliveryAggregateFactory = new DeliveryAggregateFactory();
     this.ordersDataStore          = new InMemoryOrdersDataStore();
     this.deliveryOptionsDataStore = new InMemoryDeliveryOptionsDataStore();
 }
 public OrderAcceptedV1Handler(IBus bus, IPaymentsDataStore paymentsDataStore, IApplicationLogger applicationLogger)
 {
     this.bus = bus;
     this.paymentsDataStore = paymentsDataStore;
     this.applicationLogger = applicationLogger;
 }
 public SubmitPaymentDetailsV1Handler(IPaymentsDataStore paymentsDataStore, IApplicationLogger applicationLogger)
 {
     this.paymentsDataStore = paymentsDataStore;
     this.applicationLogger = applicationLogger;
 }