public FCLImportOrderWorkFlow(IInvoiceRepository invoiceRepository, IOutgoingDocumentCommandRouter commandRouter, InventoryTransferNoteFactory inventoryTransferNoteFactory, IConfigService configService, IConfirmInventoryTransferNoteWFManager inventoryTransferNoteWfManager, ICostCentreRepository costCentreRepository, IDispatchNoteFactory dispatchNoteFactory, IConfirmDispatchNoteWFManager dispatchNoteWfManager, IInvoiceFactory invoiceFactory, IConfirmInvoiceWorkFlowManager invoiceWorkFlowManager, IGetDocumentReference getDocumentReference, IReceiptWorkFlowManager receiptWorkFlowManager, IReceiptFactory receiptFactory, ICreditNoteFactory creditNoteFactory, IConfirmCreditNoteWFManager confirmCreditNoteWfManager)
 {
     _commandRouter = commandRouter;
     _inventoryTransferNoteFactory = inventoryTransferNoteFactory;
     _configService = configService;
     _inventoryTransferNoteWfManager = inventoryTransferNoteWfManager;
     _costCentreRepository = costCentreRepository;
     _dispatchNoteFactory = dispatchNoteFactory;
     _dispatchNoteWfManager = dispatchNoteWfManager;
     _invoiceFactory = invoiceFactory;
     _invoiceWorkFlowManager = invoiceWorkFlowManager;
     _getDocumentReference = getDocumentReference;
     _receiptWorkFlowManager = receiptWorkFlowManager;
     _receiptFactory = receiptFactory;
     _creditNoteFactory = creditNoteFactory;
     _confirmCreditNoteWFManager = confirmCreditNoteWfManager;
     _invoiceRepository = invoiceRepository;
 }
Example #2
0
 public TestGridViewModel(IConfirmPaymentNoteWFManager confirmPaymentNoteWFManager,
     IConfirmCreditNoteWFManager confirmCreditNoteWFManager,
     IConfirmDispatchNoteWFManager confirmDispatchNoteWFManager,IDocumentFactory documentFactory,
     IConfirmReturnsNoteWFManager confirmReturnsNoteWFManager, IUserRepository userService, ICostCentreRepository costCentreService, 
     IConfigService configService, IProductRepository productService, IProductPricingRepository productPricingService,
     IProductPricingTierRepository productPricingTierService)
 {
     _productService = productService;
     SetUp();
     ProcessCommand = new RelayCommand(Process);
     ReturnNoteCommand = new RelayCommand(TestRetire);
     _productPricingService = productPricingService;
     _productPricingTierService = productPricingTierService;
     _costCentreService = costCentreService;
     _configService = configService;
     _userService = userService;
     _confirmReturnsNoteWFManager = confirmReturnsNoteWFManager;
     _documentFactory = documentFactory;
     _confirmDispatchNoteWFManager = confirmDispatchNoteWFManager;
     _confirmCreditNoteWFManager = confirmCreditNoteWFManager;
     DiscountTestCommand = new RelayCommand(GeneratePaymentNote);
     _confirmPaymentNoteWFManager = confirmPaymentNoteWFManager;
 }
 public ScenarioTestHelper(ICostCentreRepository costCentreRepository, IUserRepository userRepository, IConfigService configService, IOutgoingCommandEnvelopeQueueRepository outgoingCommandEnvelopeQueueRepository, ICreditNoteFactory creditNoteFactory, ICreditNoteRepository creditNoteRepository, IConfirmCreditNoteWFManager confirmCreditNoteWfManager)
 {
     _costCentreRepository = costCentreRepository;
     _userRepository = userRepository;
     _configService = configService;
     _outgoingCommandEnvelopeQueueRepository = outgoingCommandEnvelopeQueueRepository;
     _creditNoteFactory = creditNoteFactory;
     _creditNoteRepository = creditNoteRepository;
     _confirmCreditNoteWfManager = confirmCreditNoteWfManager;
 }
 public ScenarioTestHelperLocal(ICostCentreRepository costCentreRepository, IUserRepository userRepository, IConfigService configService, ICreditNoteFactory creditNoteFactory, ICreditNoteRepository creditNoteRepository, IConfirmCreditNoteWFManager confirmCreditNoteWfManager, ISendPendingEnvelopeCommandsService sendPendingEnvelopeCommandsService)
 {
     _costCentreRepository = costCentreRepository;
     _userRepository = userRepository;
     _configService = configService;
     _creditNoteFactory = creditNoteFactory;
     _creditNoteRepository = creditNoteRepository;
     _confirmCreditNoteWfManager = confirmCreditNoteWfManager;
     _sendPendingEnvelopeCommandsService = sendPendingEnvelopeCommandsService;
 }