public ApprovedOrderImportService(IMainOrderRepository mainOrderRepository, IProductRepository productRepository, IExternalOrderWorkflow orderWorkflow, InventoryAdjustmentNoteFactory inventoryAdjustmentNoteFactory, InventoryAdjustmentNoteWFManager inventoryAdjustmentNoteWfManager, ICostCentreRepository costCentreRepository, IUserRepository userRepository, IConfigService configService, IGetDocumentReference getDocumentReference, IOutletRepository outletRepository, IExportImportAuditRepository exportImportAuditRepository) { _mainOrderRepository = mainOrderRepository; _productRepository = productRepository; _orderWorkflow = orderWorkflow; _inventoryAdjustmentNoteFactory = inventoryAdjustmentNoteFactory; _inventoryAdjustmentNoteWfManager = inventoryAdjustmentNoteWfManager; _costCentreRepository = costCentreRepository; _userRepository = userRepository; _configService = configService; _getDocumentReference = getDocumentReference; _outletRepository = outletRepository; _exportImportAuditRepository = exportImportAuditRepository; }
public OrderPosWorkflow(INotifyService notifyService, InventoryAdjustmentNoteFactory inventoryAdjustmentNoteFactory, InventoryAdjustmentNoteWfManager inventoryAdjustmentNoteWfManager, ICostCentreRepository costCentreRepository, IInvoiceFactory invoiceFactory, IInvoiceRepository invoiceRepository, IConfirmInvoiceWorkFlowManager invoiceWorkFlowManager, IReceiptWorkFlowManager receiptWorkFlowManager, IReceiptFactory receiptFactory, IGetDocumentReference getDocumentReference, IOutgoingCommandEnvelopeRouter commandEnvelopeRouter) { _inventoryAdjustmentNoteFactory = inventoryAdjustmentNoteFactory; _inventoryAdjustmentNoteWfManager = inventoryAdjustmentNoteWfManager; _costCentreRepository = costCentreRepository; _invoiceFactory = invoiceFactory; _invoiceRepository = invoiceRepository; _invoiceWorkFlowManager = invoiceWorkFlowManager; _receiptWorkFlowManager = receiptWorkFlowManager; _receiptFactory = receiptFactory; _getDocumentReference = getDocumentReference; _commandEnvelopeRouter = commandEnvelopeRouter; _notifyService = notifyService; }