public PosServiceIntegration( IOrchardServices orchardServices, IEnumerable <IPosService> posServices, IShapeFactory shapeFactory, IOrderService orderService, ICurrencyProvider currencyProvider, IPaymentService paymentService, IWorkContextAccessor workContextAccessor, ICheckoutHelperService checkoutHelperService, IEnumerable <ICheckoutExtensionProvider> checkoutExtensionProviders) { _orchardServices = orchardServices; _posServices = posServices; _shapeFactory = shapeFactory; _orderService = orderService; _currencyProvider = currencyProvider; _paymentService = paymentService; _workContextAccessor = workContextAccessor; _checkoutHelperService = checkoutHelperService; _checkoutExtensionProviders = checkoutExtensionProviders; T = NullLocalizer.Instance; _paymentByTransactionId = new Dictionary <string, PaymentRecord>(); }
public AddressesController( IOrderService orderService, IPaymentService paymentService, IShoppingCart shoppingCart, IOrchardServices orchardServices, ICurrencyProvider currencyProvider, INwazetCommunicationService nwazetCommunicationService, IWorkContextAccessor workContextAccessor, IShapeFactory shapeFactory, ITransactionManager transactionManager, IContentManager contentManager, INotifier notifier, IAddressConfigurationService addressConfigurationService, IEnumerable <IValidationProvider> validationProvider, ICheckoutHelperService checkoutHelperService) { _orderService = orderService; _paymentService = paymentService; _shoppingCart = shoppingCart; _orchardServices = orchardServices; _currencyProvider = currencyProvider; _nwazetCommunicationService = nwazetCommunicationService; _workContextAccessor = workContextAccessor; _shapeFactory = shapeFactory; _transactionManager = transactionManager; _contentManager = contentManager; _notifier = notifier; _addressConfigurationService = addressConfigurationService; _validationProvider = validationProvider; _checkoutHelperService = checkoutHelperService; T = NullLocalizer.Instance; }
public CheckoutController( IWorkContextAccessor workContextAccessor, IAddressConfigurationService addressConfigurationService, INwazetCommunicationService nwazetCommunicationService, IEnumerable <IValidationProvider> validationProviders, IEnumerable <IShippingMethodProvider> shippingMethodProviders, IShoppingCart shoppingCart, ICurrencyProvider currencyProvider, IContentManager contentManager, IEnumerable <IPosService> posServices, ICheckoutHelperService checkoutHelperService, ShellSettings shellSettings, IProductPriceService productPriceService, INotifier notifier, IEnumerable <ICheckoutExtensionProvider> checkoutExtensionProviders) { _workContextAccessor = workContextAccessor; _addressConfigurationService = addressConfigurationService; _nwazetCommunicationService = nwazetCommunicationService; _validationProviders = validationProviders; _shippingMethodProviders = shippingMethodProviders; _shoppingCart = shoppingCart; _currencyProvider = currencyProvider; _contentManager = contentManager; _posServices = posServices; _checkoutHelperService = checkoutHelperService; _shellSettings = shellSettings; _productPriceService = productPriceService; _notifier = notifier; _checkoutExtensionProviders = checkoutExtensionProviders; if (!string.IsNullOrEmpty(_shellSettings.RequestUrlPrefix)) { _urlPrefix = new UrlPrefix(_shellSettings.RequestUrlPrefix); } T = NullLocalizer.Instance; }