public CreateRmaRequestViewModel(Foundation.Orders.Model.Order innerOrder, RmaRequest rmaRequest, IOrderEntityFactory orderEntityFactory, ReturnBuilder returnBuilder, IViewModelsFactory<IRmaRequestReturnItemsStepViewModel> returnItemsVmFactory, IViewModelsFactory<IRmaRequestRefundStepViewModel> refundVmFactory, IViewModelsFactory<ILineItemAddViewModel> lineItemAddVmFactory, IViewModelsFactory<IExchangeOrderStepViewModel> exchangeVmFactory) { _exchangeVmFactory = exchangeVmFactory; _lineItemAddVmFactory = lineItemAddVmFactory; _isCreatingExchangeOrderOnly = innerOrder.RmaRequests.Any(x => x.RmaRequestId == rmaRequest.RmaRequestId); var item = innerOrder.DeepClone(orderEntityFactory as IKnownSerializationTypes); ReturnBuilder = returnBuilder; ReturnBuilder.WithOrderOrRmaRequest(item, rmaRequest); CreateWizardSteps(returnItemsVmFactory, refundVmFactory); }