public ShoppingCartController(IShoppingCart shoppingCart, IOrchardServices services, IWebshopSettingsService webshopSettings, IOrderService orderService)
 {
     _shoppingCart = shoppingCart;
     _services = services;
     _webshopSettings = webshopSettings;
     _orderService = orderService;
 }
예제 #2
0
 public ShoppingCartController(IShoppingCart shoppingCart, IOrchardServices services, IWebshopSettingsService webshopSettings, IOrderService orderService)
 {
     _shoppingCart    = shoppingCart;
     _services        = services;
     _webshopSettings = webshopSettings;
     _orderService    = orderService;
 }
 public PaypalResponseController(IOrchardServices services, IPaypalExpressServices paypalExpressServices, IOrderService orderService, IPaypalTransactionService paypalTransactionService, IWebshopSettingsService webshopSettings)
 {
     _services = services;
     _paypalExpressServices = paypalExpressServices;
     _orderService = orderService;
     _paypalTransactionService = paypalTransactionService;
     _webshopSettings = webshopSettings;
 }
예제 #4
0
 public PaypalResponseController(IOrchardServices services, IPaypalExpressServices paypalExpressServices, IOrderService orderService, IPaypalTransactionService paypalTransactionService, IWebshopSettingsService webshopSettings)
 {
     _services = services;
     _paypalExpressServices    = paypalExpressServices;
     _orderService             = orderService;
     _paypalTransactionService = paypalTransactionService;
     _webshopSettings          = webshopSettings;
 }
        public CheckoutController(IOrchardServices services, IAuthenticationService authenticationService, ICustomerService customerService, IMembershipService membershipService,
            IShoppingCart shoppingCart, IWebshopSettingsService webshopSettings, IMessageManager messageManager)
        {
            _authenticationService = authenticationService;
            _services = services;
            _customerService = customerService;
            _membershipService = membershipService;
            _shoppingCart = shoppingCart;
            _webshopSettings = webshopSettings;
            _messageManager = messageManager;

            T = NullLocalizer.Instance;
        }
예제 #6
0
        public CheckoutController(IOrchardServices services, IAuthenticationService authenticationService, ICustomerService customerService, IMembershipService membershipService,
                                  IShoppingCart shoppingCart, IWebshopSettingsService webshopSettings, ISmtpChannel email)
        {
            _authenticationService = authenticationService;
            _services          = services;
            _customerService   = customerService;
            _membershipService = membershipService;
            _shoppingCart      = shoppingCart;
            _webshopSettings   = webshopSettings;
            _email             = email;
            //_messageManager = messageManager;

            T = NullLocalizer.Instance;
        }
예제 #7
0
 public OrderController(IShapeFactory shapeFactory, IOrderService orderService, IAuthenticationService authenticationService,
     IShoppingCart shoppingCart, ICustomerService customerService, IEnumerable<IPaymentServiceProvider> paymentServiceProviders,
     IMessageManager messageManager, IWebshopSettingsService webshopSettings)
 {
     _shapeFactory = shapeFactory;
     _orderService = orderService;
     _authenticationService = authenticationService;
     _shoppingCart = shoppingCart;
     _customerService = customerService;
     _t = NullLocalizer.Instance;
     _paymentServiceProviders = paymentServiceProviders;
     _messageManager = messageManager;
     _webshopSettings = webshopSettings;
 }
예제 #8
0
 public OrderController(IShapeFactory shapeFactory, IOrderService orderService, IAuthenticationService authenticationService,
                        IShoppingCart shoppingCart, ICustomerService customerService, IEnumerable <IPaymentServiceProvider> paymentServiceProviders,
                        ISmtpChannel messageManager, IWebshopSettingsService webshopSettings, IContentManager contentManager)
 {
     _shapeFactory          = shapeFactory;
     _orderService          = orderService;
     _authenticationService = authenticationService;
     _shoppingCart          = shoppingCart;
     _customerService       = customerService;
     _t = NullLocalizer.Instance;
     _paymentServiceProviders = paymentServiceProviders;
     _messageManager          = messageManager;
     _webshopSettings         = webshopSettings;
     _contentManager          = contentManager;
 }
예제 #9
0
        private const string templateName = "Parts/WebShop.Settings";      // "Parts.Settings.WebShopSettings"

        public WebShopSettingsPartDriver(IWebshopSettingsService webshopSettings, ISiteService siteService)
        {
            _webshopSettings = webshopSettings;
            //_siteService = siteService;
        }
예제 #10
0
 public ShoppingCart(IWorkContextAccessor workContextAccessor, IContentManager contentManager, IWebshopSettingsService webshopSettings)
 {
     _workContextAccessor = workContextAccessor;
     _contentManager      = contentManager;
     _webshopSettings     = webshopSettings;
 }
예제 #11
0
 public ShoppingCart(IWorkContextAccessor workContextAccessor, IContentManager contentManager, IWebshopSettingsService webshopSettings)
 {
     _workContextAccessor = workContextAccessor;
     _contentManager = contentManager;
     _webshopSettings = webshopSettings;
 }
예제 #12
0
 public ShoppingCartWidgetPartDriver(IShoppingCart shoppingCart, IWebshopSettingsService webShopSettings)
 {
     _shoppingCart    = shoppingCart;
     _webshopSettings = webShopSettings;
 }