コード例 #1
0
        public AddressesController(
            IOrderService orderService,
            IPaymentService paymentService,
            IShoppingCart shoppingCart,
            IOrchardServices orchardServices,
            ICurrencyProvider currencyProvider,
            INwazetCommunicationService nwazetCommunicationService,
            IWorkContextAccessor workContextAccessor,
            IShapeFactory shapeFactory,
            ITransactionManager transactionManager,
            IContentManager contentManager,
            INotifier notifier,
            IProductPriceService productPriceService,
            IAddressConfigurationService addressConfigurationService,
            IEnumerable <IOrderAdditionalInformationProvider> orderAdditionalInformationProviders,
            IEnumerable <IValidationProvider> validationProvider)
        {
            _orderService               = orderService;
            _paymentService             = paymentService;
            _shoppingCart               = shoppingCart;
            _orchardServices            = orchardServices;
            _currencyProvider           = currencyProvider;
            _nwazetCommunicationService = nwazetCommunicationService;
            _workContextAccessor        = workContextAccessor;
            _shapeFactory               = shapeFactory;
            _transactionManager         = transactionManager;
            _contentManager             = contentManager;
            _notifier                            = notifier;
            _productPriceService                 = productPriceService;
            _addressConfigurationService         = addressConfigurationService;
            _orderAdditionalInformationProviders = orderAdditionalInformationProviders;
            _validationProvider                  = validationProvider;

            T = NullLocalizer.Instance;
        }
コード例 #2
0
        public AddressesController(
            IOrderService orderService,
            IPosServiceIntegration posServiceIntegration,
            IPaymentService paymentService,
            IShoppingCart shoppingCart,
            IOrchardServices orchardServices,
            ICurrencyProvider currencyProvider,
            INwazetCommunicationService nwazetCommunicationService,
            IWorkContextAccessor workContextAccessor,
            IShapeFactory shapeFactory,
            ITransactionManager transactionManager,
            IContentManager contentManager,
            INotifier notifier,
            IProductPriceService productPriceService)
        {
            _orderService               = orderService;
            _posServiceIntegration      = posServiceIntegration;
            _paymentService             = paymentService;
            _shoppingCart               = shoppingCart;
            _orchardServices            = orchardServices;
            _currencyProvider           = currencyProvider;
            _nwazetCommunicationService = nwazetCommunicationService;
            _workContextAccessor        = workContextAccessor;
            _shapeFactory               = shapeFactory;
            _transactionManager         = transactionManager;
            _contentManager             = contentManager;
            _notifier            = notifier;
            _productPriceService = productPriceService;

            T = NullLocalizer.Instance;
        }
コード例 #3
0
 public PaymentEventHandler(IOrderService orderService, IPaymentService paymentService, IShoppingCart shoppingCart, IPosServiceIntegration posServiceIntegration, INwazetCommunicationService nwazetCommunicationService, IEnumerable <ICartLifeCycleEventHandler> cartLifeCycleEventHandlers)
 {
     _orderService               = orderService;
     _paymentService             = paymentService;
     _shoppingCart               = shoppingCart;
     _posServiceIntegration      = posServiceIntegration;
     _nwazetCommunicationService = nwazetCommunicationService;
     _cartLifeCycleEventHandlers = cartLifeCycleEventHandlers;
 }
コード例 #4
0
 public AddressesController(
     IOrderService orderService
     , IPosServiceIntegration posServiceIntegration
     , IPaymentService paymentService
     , IShoppingCart shoppingCart
     , IOrchardServices orchardServices
     , ICurrencyProvider currencyProvider
     , INwazetCommunicationService nwazetCommunicationService)
 {
     _orderService               = orderService;
     _posServiceIntegration      = posServiceIntegration;
     _paymentService             = paymentService;
     _shoppingCart               = shoppingCart;
     _orchardServices            = orchardServices;
     _currencyProvider           = currencyProvider;
     _nwazetCommunicationService = nwazetCommunicationService;
 }
コード例 #5
0
 public PaymentEventHandler(
     IOrderService orderService,
     IPaymentService paymentService,
     IShoppingCart shoppingCart,
     INwazetCommunicationService nwazetCommunicationService,
     IEnumerable <ICartLifeCycleEventHandler> cartLifeCycleEventHandlers,
     IContentManager contentManager,
     IWorkflowManager workflowManager,
     IUpdateStatusService updateStatusService)
 {
     _orderService               = orderService;
     _paymentService             = paymentService;
     _shoppingCart               = shoppingCart;
     _nwazetCommunicationService = nwazetCommunicationService;
     _cartLifeCycleEventHandlers = cartLifeCycleEventHandlers;
     _contentManager             = contentManager;
     _workflowManager            = workflowManager;
     _updateStatusService        = updateStatusService;
 }
コード例 #6
0
        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;
        }