/// <summary>
        /// Ctor
        /// </summary>
        /// <param name="addressService">Address service</param>
        /// <param name="workContext">Work context</param>
        /// <param name="taxSettings">Tax settings</param>
        /// <param name="pluginFinder">Plugin finder</param>
        /// <param name="geoLookupService">GEO lookup service</param>
        /// <param name="countryService">Country service</param>
        /// <param name="customerSettings">Customer settings</param>
        /// <param name="addressSettings">Address settings</param>
        public TaxService(IAddressService addressService,
            IWorkContext workContext,
            TaxSettings taxSettings,
            IPluginFinder pluginFinder,
            IGeoLookupService geoLookupService,
            ICountryService countryService,
            CustomerSettings customerSettings,
            AddressSettings addressSettings,
            PromoSettings promoSettings,
            //IpromoService promoService,
            IPromoUtilities promoUtilities,
            ITaxServiceExtensions taxServiceExtensions)
            : base(addressService, workContext, taxSettings,
                                                    pluginFinder, geoLookupService, countryService,
                                                    customerSettings, addressSettings)
        {
            this._addressService = addressService;
            this._workContext = workContext;
            this._taxSettings = taxSettings;
            this._pluginFinder = pluginFinder;
            this._geoLookupService = geoLookupService;
            this._countryService = countryService;
            this._customerSettings = customerSettings;
            this._addressSettings = addressSettings;

            this._promoSettings = promoSettings;
            //this._promoService = promoService;
            this._promoUtilities = promoUtilities;
            this._taxServiceExtensions = taxServiceExtensions;
        }
 public AddressModelFactory(AddressSettings addressSettings,
                            IAddressAttributeFormatter addressAttributeFormatter,
                            IAddressAttributeParser addressAttributeParser,
                            IAddressAttributeService addressAttributeService,
                            IGenericAttributeService genericAttributeService,
                            ILocalizationService localizationService,
                            IStateProvinceService stateProvinceService)
 {
     _addressSettings           = addressSettings;
     _addressAttributeFormatter = addressAttributeFormatter;
     _addressAttributeParser    = addressAttributeParser;
     _addressAttributeService   = addressAttributeService;
     _genericAttributeService   = genericAttributeService;
     _localizationService       = localizationService;
     _stateProvinceService      = stateProvinceService;
 }
Example #3
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="addressRepository">Address repository</param>
 /// <param name="countryService">Country service</param>
 /// <param name="stateProvinceService">State/province service</param>
 /// <param name="addressAttributeService">Address attribute service</param>
 /// <param name="eventPublisher">Event publisher</param>
 /// <param name="addressSettings">Address settings</param>
 public AddressService(ICacheManager cacheManager,
                       IRepository <Address> addressRepository,
                       ICountryService countryService,
                       IStateProvinceService stateProvinceService,
                       IAddressAttributeService addressAttributeService,
                       IMediator mediator,
                       AddressSettings addressSettings)
 {
     this._cacheManager            = cacheManager;
     this._addressRepository       = addressRepository;
     this._countryService          = countryService;
     this._stateProvinceService    = stateProvinceService;
     this._addressAttributeService = addressAttributeService;
     this._mediator        = mediator;
     this._addressSettings = addressSettings;
 }
Example #4
0
 public AddressService(AddressSettings addressSettings,
                       IAddressAttributeParser addressAttributeParser,
                       IAddressAttributeService addressAttributeService,
                       ICountryService countryService,
                       IEventPublisher eventPublisher,
                       IRepository <Address> addressRepository,
                       IStateProvinceService stateProvinceService)
 {
     _addressSettings         = addressSettings;
     _addressAttributeParser  = addressAttributeParser;
     _addressAttributeService = addressAttributeService;
     _countryService          = countryService;
     _eventPublisher          = eventPublisher;
     _addressRepository       = addressRepository;
     _stateProvinceService    = stateProvinceService;
 }
Example #5
0
 public AddressService(AddressSettings addressSettings,
                       IAddressAttributeService addressAttributeService,
                       ICacheManager cacheManager,
                       ICountryService countryService,
                       IEventPublisher eventPublisher,
                       IRepository <Address> addressRepository,
                       IStateProvinceService stateProvinceService)
 {
     this._addressSettings         = addressSettings;
     this._addressAttributeService = addressAttributeService;
     this._cacheManager            = cacheManager;
     this._countryService          = countryService;
     this._eventPublisher          = eventPublisher;
     this._addressRepository       = addressRepository;
     this._stateProvinceService    = stateProvinceService;
 }
        public CheckoutModelFactory(IAddressModelFactory addressModelFactory,
                                    IWorkContext workContext,
                                    IStoreContext storeContext,
                                    IStoreMappingService storeMappingService,
                                    ILocalizationService localizationService,
                                    ITaxService taxService,
                                    ICurrencyService currencyService,
                                    IPriceFormatter priceFormatter,
                                    IOrderProcessingService orderProcessingService,
                                    IGenericAttributeService genericAttributeService,
                                    ICountryService countryService,
                                    IStateProvinceService stateProvinceService,
                                    IShippingService shippingService,
                                    IPaymentService paymentService,
                                    IOrderTotalCalculationService orderTotalCalculationService,
                                    IRewardPointService rewardPointService,
                                    IWebHelper webHelper,
                                    OrderSettings orderSettings,
                                    RewardPointsSettings rewardPointsSettings,
                                    PaymentSettings paymentSettings,
                                    ShippingSettings shippingSettings,
                                    AddressSettings addressSettings)
        {
            this._addressModelFactory          = addressModelFactory;
            this._workContext                  = workContext;
            this._storeContext                 = storeContext;
            this._storeMappingService          = storeMappingService;
            this._localizationService          = localizationService;
            this._taxService                   = taxService;
            this._currencyService              = currencyService;
            this._priceFormatter               = priceFormatter;
            this._orderProcessingService       = orderProcessingService;
            this._genericAttributeService      = genericAttributeService;
            this._countryService               = countryService;
            this._stateProvinceService         = stateProvinceService;
            this._shippingService              = shippingService;
            this._paymentService               = paymentService;
            this._orderTotalCalculationService = orderTotalCalculationService;
            this._rewardPointService           = rewardPointService;
            this._webHelper = webHelper;

            this._orderSettings        = orderSettings;
            this._rewardPointsSettings = rewardPointsSettings;
            this._paymentSettings      = paymentSettings;
            this._shippingSettings     = shippingSettings;
            this._addressSettings      = addressSettings;
        }
Example #7
0
 public UserModelFactory(AddressSettings addressSettings,
                         CaptchaSettings captchaSettings,
                         CommonSettings commonSettings,
                         UserSettings userSettings,
                         DateTimeSettings dateTimeSettings,
                         ExternalAuthenticationSettings externalAuthenticationSettings,
                         IAddressModelFactory addressModelFactory,
                         ICountryService countryService,
                         IUserAttributeParser userAttributeParser,
                         IUserAttributeService userAttributeService,
                         IDateTimeHelper dateTimeHelper,
                         IDownloadService downloadService,
                         IExternalAuthenticationService externalAuthenticationService,
                         IGenericAttributeService genericAttributeService,
                         ILocalizationService localizationService,
                         INewsLetterSubscriptionService newsLetterSubscriptionService,
                         IPictureService pictureService,
                         IStateProvinceService stateProvinceService,
                         IUrlRecordService urlRecordService,
                         IWorkContext workContext,
                         MediaSettings mediaSettings,
                         SecuritySettings securitySettings)
 {
     this._addressSettings  = addressSettings;
     this._captchaSettings  = captchaSettings;
     this._commonSettings   = commonSettings;
     this._userSettings     = userSettings;
     this._dateTimeSettings = dateTimeSettings;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._addressModelFactory            = addressModelFactory;
     this._countryService                = countryService;
     this._userAttributeParser           = userAttributeParser;
     this._userAttributeService          = userAttributeService;
     this._dateTimeHelper                = dateTimeHelper;
     this._downloadService               = downloadService;
     this._externalAuthenticationService = externalAuthenticationService;
     this._genericAttributeService       = genericAttributeService;
     this._localizationService           = localizationService;
     this._newsLetterSubscriptionService = newsLetterSubscriptionService;
     this._pictureService                = pictureService;
     this._stateProvinceService          = stateProvinceService;
     this._urlRecordService              = urlRecordService;
     this._workContext      = workContext;
     this._mediaSettings    = mediaSettings;
     this._securitySettings = securitySettings;
 }
 public GetAddressModelHandler(
     IAddressAttributeFormatter addressAttributeFormatter,
     ICountryService countryService,
     IStateProvinceService stateProvinceService,
     ILocalizationService localizationService,
     IAddressAttributeService addressAttributeService,
     IAddressAttributeParser addressAttributeParser,
     AddressSettings addressSettings)
 {
     _addressAttributeFormatter = addressAttributeFormatter;
     _countryService            = countryService;
     _stateProvinceService      = stateProvinceService;
     _localizationService       = localizationService;
     _addressAttributeService   = addressAttributeService;
     _addressAttributeParser    = addressAttributeParser;
     _addressSettings           = addressSettings;
 }
Example #9
0
 public AddressService(
     IRepository <Address> addressRepository,
     ICountryService countryService,
     IStateProvinceService stateProvinceService,
     ICommonServices services,
     AddressSettings addressSettings,
     ITemplateEngine templateEngine,
     IMessageModelProvider messageModelProvider)
 {
     _addressRepository    = addressRepository;
     _countryService       = countryService;
     _stateProvinceService = stateProvinceService;
     _services             = services;
     _addressSettings      = addressSettings;
     _templateEngine       = templateEngine;
     _messageModelProvider = messageModelProvider;
 }
Example #10
0
 public PdfService(ILocalizationService localizationService,
                   ILanguageService languageService,
                   IWorkContext workContext,
                   IOrderService orderService,
                   IPaymentService paymentService,
                   IDateTimeHelper dateTimeHelper,
                   IPriceFormatter priceFormatter,
                   ICurrencyService currencyService,
                   IMeasureService measureService,
                   IPictureService pictureService,
                   IProductService productService,
                   IProductAttributeParser productAttributeParser,
                   IStoreService storeService,
                   IStoreContext storeContext,
                   ISettingService settingContext,
                   IAddressAttributeFormatter addressAttributeFormatter,
                   CatalogSettings catalogSettings,
                   CurrencySettings currencySettings,
                   MeasureSettings measureSettings,
                   PdfSettings pdfSettings,
                   TaxSettings taxSettings,
                   AddressSettings addressSettings)
 {
     this._localizationService       = localizationService;
     this._languageService           = languageService;
     this._workContext               = workContext;
     this._orderService              = orderService;
     this._paymentService            = paymentService;
     this._dateTimeHelper            = dateTimeHelper;
     this._priceFormatter            = priceFormatter;
     this._currencyService           = currencyService;
     this._measureService            = measureService;
     this._pictureService            = pictureService;
     this._productService            = productService;
     this._productAttributeParser    = productAttributeParser;
     this._storeService              = storeService;
     this._storeContext              = storeContext;
     this._settingContext            = settingContext;
     this._addressAttributeFormatter = addressAttributeFormatter;
     this._currencySettings          = currencySettings;
     this._catalogSettings           = catalogSettings;
     this._measureSettings           = measureSettings;
     this._pdfSettings               = pdfSettings;
     this._taxSettings               = taxSettings;
     this._addressSettings           = addressSettings;
 }
Example #11
0
        //private readonly ICacheManager _cacheManager;

        #endregion

        #region Ctor
        public AddressService(/*ICacheManager cacheManager,*/
            IRepository <Address> addressRepository,
            ICountryService countryService,
            IStateProvinceService stateProvinceService,
            IAddressAttributeService addressAttributeService,
            //IUnitOfWork unitOfWork,
            ISettingService settingService)
        {
            //this._cacheManager = cacheManager;
            this._addressRepository       = addressRepository;
            this._countryService          = countryService;
            this._stateProvinceService    = stateProvinceService;
            this._addressAttributeService = addressAttributeService;
            //this._unitOfWork = unitOfWork;
            this._settingService  = settingService;
            this._addressSettings = _settingService.LoadSetting <AddressSettings>();
        }
        public CheckoutController(IWorkContext workContext, IStoreContext storeContext,
            IShoppingCartService shoppingCartService, ILocalizationService localizationService,
            ITaxService taxService, ICurrencyService currencyService,
            IPriceFormatter priceFormatter, IOrderProcessingService orderProcessingService,
            ICustomerService customerService,  IGenericAttributeService genericAttributeService,
            ICountryService countryService,
            IStateProvinceService stateProvinceService, IShippingService shippingService,
            IPaymentService paymentService,
            IOrderTotalCalculationService orderTotalCalculationService,
            IOrderService orderService, IWebHelper webHelper,
            HttpContextBase httpContext, IMobileDeviceHelper mobileDeviceHelper,
            OrderSettings orderSettings, RewardPointsSettings rewardPointsSettings,
            PaymentSettings paymentSettings, AddressSettings addressSettings,
            ShoppingCartSettings shoppingCartSettings,
            ISettingService settingService,
            PluginMediator pluginMediator)
        {
            this._workContext = workContext;
            this._storeContext = storeContext;
            this._shoppingCartService = shoppingCartService;
            this._localizationService = localizationService;
            this._taxService = taxService;
            this._currencyService = currencyService;
            this._priceFormatter = priceFormatter;
            this._orderProcessingService = orderProcessingService;
            this._customerService = customerService;
            this._genericAttributeService = genericAttributeService;
            this._countryService = countryService;
            this._stateProvinceService = stateProvinceService;
            this._shippingService = shippingService;
            this._paymentService = paymentService;
            this._orderTotalCalculationService = orderTotalCalculationService;
            this._orderService = orderService;
            this._webHelper = webHelper;
            this._httpContext = httpContext;
            this._mobileDeviceHelper = mobileDeviceHelper;
            this._settingService = settingService;

            this._orderSettings = orderSettings;
            this._rewardPointsSettings = rewardPointsSettings;
            this._paymentSettings = paymentSettings;
            this._addressSettings = addressSettings;
            this._shoppingCartSettings = shoppingCartSettings;
            this._pluginMediator = pluginMediator;
        }
Example #13
0
        public SubscriptionModelFactory(IAddressModelFactory addressModelFactory,
                                        ISubscriptionService subscriptionService,
                                        IWorkContext workContext,
                                        ICurrencyService currencyService,
                                        IPriceFormatter priceFormatter,
                                        ISubscriptionProcessingService subscriptionProcessingService,
                                        IDateTimeHelper dateTimeHelper,
                                        IPaymentService paymentService,
                                        ILocalizationService localizationService,
                                        ICountryService countryService,
                                        IArticleAttributeParser articleAttributeParser,
                                        IDownloadService downloadService,
                                        IStoreContext storeContext,
                                        ISubscriptionTotalCalculationService subscriptionTotalCalculationService,
                                        IRewardPointService rewardPointService,
                                        CatalogSettings catalogSettings,
                                        SubscriptionSettings subscriptionSettings,
                                        TaxSettings taxSettings,
                                        AddressSettings addressSettings,
                                        RewardPointsSettings rewardPointsSettings,
                                        PdfSettings pdfSettings)
        {
            this._addressModelFactory                 = addressModelFactory;
            this._subscriptionService                 = subscriptionService;
            this._workContext                         = workContext;
            this._currencyService                     = currencyService;
            this._priceFormatter                      = priceFormatter;
            this._subscriptionProcessingService       = subscriptionProcessingService;
            this._dateTimeHelper                      = dateTimeHelper;
            this._paymentService                      = paymentService;
            this._localizationService                 = localizationService;
            this._countryService                      = countryService;
            this._articleAttributeParser              = articleAttributeParser;
            this._downloadService                     = downloadService;
            this._storeContext                        = storeContext;
            this._subscriptionTotalCalculationService = subscriptionTotalCalculationService;
            this._rewardPointService                  = rewardPointService;

            this._catalogSettings      = catalogSettings;
            this._subscriptionSettings = subscriptionSettings;
            this._taxSettings          = taxSettings;
            this._addressSettings      = addressSettings;
            this._rewardPointsSettings = rewardPointsSettings;
            this._pdfSettings          = pdfSettings;
        }
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="addressService">Address service</param>
 /// <param name="workContext">Work context</param>
 /// <param name="taxSettings">Tax settings</param>
 /// <param name="pluginFinder">Plugin finder</param>
 /// <param name="geoLookupService">GEO lookup service</param>
 /// <param name="countryService">Country service</param>
 /// <param name="customerSettings">Customer settings</param>
 /// <param name="addressSettings">Address settings</param>
 public TaxService(IAddressService addressService,
                   IWorkContext workContext,
                   TaxSettings taxSettings,
                   IPluginFinder pluginFinder,
                   IGeoLookupService geoLookupService,
                   ICountryService countryService,
                   CustomerSettings customerSettings,
                   AddressSettings addressSettings)
 {
     this._addressService   = addressService;
     this._workContext      = workContext;
     this._taxSettings      = taxSettings;
     this._pluginFinder     = pluginFinder;
     this._geoLookupService = geoLookupService;
     this._countryService   = countryService;
     this._customerSettings = customerSettings;
     this._addressSettings  = addressSettings;
 }
 public PickupInStoreController(IAddressService addressService,
                                ICountryService countryService,
                                ILocalizationService localizationService,
                                IPermissionService permissionService,
                                IStateProvinceService stateProvinceService,
                                IStorePickupPointService storePickupPointService,
                                IStoreService storeService,
                                AddressSettings customerSettings)
 {
     this._addressService          = addressService;
     this._countryService          = countryService;
     this._localizationService     = localizationService;
     this._permissionService       = permissionService;
     this._stateProvinceService    = stateProvinceService;
     this._storePickupPointService = storePickupPointService;
     this._storeService            = storeService;
     this._addressSettings         = customerSettings;
 }
Example #16
0
        public void TestInitialize()
        {
            //plugin initialization
            new Grand.Services.Tests.ServiceTest().PluginInitializator();

            _pluginFinder     = new PluginFinder();
            _taxSettings      = new TaxSettings();
            _workContext      = null;
            _addressService   = new Mock <IAddressService>().Object;
            _geoLookupService = new Mock <IGeoLookupService>().Object;
            _countryService   = new Mock <ICountryService>().Object;
            _customerSettings = new CustomerSettings();
            _addressSettings  = new AddressSettings();
            _logger           = new NullLogger();

            _taxService = new TaxService(_addressService, _workContext, _taxSettings,
                                         _pluginFinder, _geoLookupService, _countryService, _logger,
                                         _customerSettings, _addressSettings);
        }
Example #17
0
 public PdfService(AddressSettings addressSettings,
                   CatalogSettings catalogSettings,
                   CurrencySettings currencySettings,
                   IAddressAttributeFormatter addressAttributeFormatter,
                   ICurrencyService currencyService,
                   IDateTimeHelper dateTimeHelper,
                   ILanguageService languageService,
                   ILocalizationService localizationService,
                   IMeasureService measureService,
                   IGSFileProvider fileProvider,
                   IPictureService pictureService,
                   ISettingService settingService,
                   IStoreContext storeContext,
                   IStoreService storeService,
                   IVendorService vendorService,
                   IWorkContext workContext,
                   MeasureSettings measureSettings,
                   PdfSettings pdfSettings,
                   TaxSettings taxSettings,
                   VendorSettings vendorSettings)
 {
     this._addressSettings           = addressSettings;
     this._catalogSettings           = catalogSettings;
     this._currencySettings          = currencySettings;
     this._addressAttributeFormatter = addressAttributeFormatter;
     this._currencyService           = currencyService;
     this._dateTimeHelper            = dateTimeHelper;
     this._languageService           = languageService;
     this._localizationService       = localizationService;
     this._measureService            = measureService;
     this._fileProvider    = fileProvider;
     this._pictureService  = pictureService;
     this._settingService  = settingService;
     this._storeContext    = storeContext;
     this._storeService    = storeService;
     this._vendorService   = vendorService;
     this._workContext     = workContext;
     this._measureSettings = measureSettings;
     this._pdfSettings     = pdfSettings;
     this._taxSettings     = taxSettings;
     this._vendorSettings  = vendorSettings;
 }
 public PickupInStoreController(IAddressService addressService,
                                ICountryService countryService,
                                ILocalizationService localizationService,
                                IPermissionService permissionService,
                                IStateProvinceService stateProvinceService,
                                IStorePickupPointModelFactory storePickupPointModelFactory,
                                IStorePickupPointService storePickupPointService,
                                IStoreService storeService,
                                AddressSettings customerSettings)
 {
     _addressService               = addressService;
     _countryService               = countryService;
     _localizationService          = localizationService;
     _permissionService            = permissionService;
     _stateProvinceService         = stateProvinceService;
     _storePickupPointModelFactory = storePickupPointModelFactory;
     _storePickupPointService      = storePickupPointService;
     _storeService    = storeService;
     _addressSettings = customerSettings;
 }
Example #19
0
 public AddressModelFactory(AddressSettings addressSettings,
                            IAddressAttributeFormatter addressAttributeFormatter,
                            IAddressAttributeParser addressAttributeParser,
                            IAddressAttributeService addressAttributeService,
                            ICountryService countryService,
                            IGenericAttributeService genericAttributeService,
                            ILocalizationService localizationService,
                            IStateProvinceService stateProvinceService,
                            IWorkContext workContext)
 {
     _addressSettings           = addressSettings;
     _addressAttributeFormatter = addressAttributeFormatter;
     _addressAttributeParser    = addressAttributeParser;
     _addressAttributeService   = addressAttributeService;
     _countryService            = countryService;
     _genericAttributeService   = genericAttributeService;
     _localizationService       = localizationService;
     _stateProvinceService      = stateProvinceService;
     _workContext = workContext;
 }
Example #20
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="addressService">Address service</param>
 /// <param name="workContext">Work context</param>
 /// <param name="pluginFinder">Plugin finder</param>
 /// <param name="geoLookupService">GEO lookup service</param>
 /// <param name="countryService">Country service</param>
 /// <param name="logger">Logger service</param>
 /// <param name="taxSettings">Tax settings</param>
 /// <param name="customerSettings">Customer settings</param>
 /// <param name="addressSettings">Address settings</param>
 public TaxService(IAddressService addressService,
                   IWorkContext workContext,
                   IPluginFinder pluginFinder,
                   IGeoLookupService geoLookupService,
                   ICountryService countryService,
                   ILogger logger,
                   TaxSettings taxSettings,
                   CustomerSettings customerSettings,
                   AddressSettings addressSettings)
 {
     _addressService   = addressService;
     _workContext      = workContext;
     _taxSettings      = taxSettings;
     _pluginFinder     = pluginFinder;
     _geoLookupService = geoLookupService;
     _logger           = logger;
     _countryService   = countryService;
     _customerSettings = customerSettings;
     _addressSettings  = addressSettings;
 }
Example #21
0
        public AddressViewModelService(ILocalizationService localizationService,
                                       IStateProvinceService stateProvinceService,
                                       ICountryService countryService,
                                       IAddressAttributeService addressAttributeService,
                                       IAddressAttributeParser addressAttributeParser,
                                       IAddressAttributeFormatter addressAttributeFormatter,
                                       IWorkContext workContext,
                                       AddressSettings addressSettings
                                       )
        {
            this._localizationService       = localizationService;
            this._stateProvinceService      = stateProvinceService;
            this._countryService            = countryService;
            this._addressAttributeService   = addressAttributeService;
            this._addressAttributeParser    = addressAttributeParser;
            this._addressAttributeFormatter = addressAttributeFormatter;
            this._workContext = workContext;

            this._addressSettings = addressSettings;
        }
Example #22
0
        public async Task <IActionResult> CustomerUser(
            int storeScope,
            CustomerSettings customerSettings,
            AddressSettings addressSettings,
            PrivacySettings privacySettings)
        {
            var model = new CustomerUserSettingsModel();

            await MapperFactory.MapAsync(customerSettings, model.CustomerSettings);

            await MapperFactory.MapAsync(addressSettings, model.AddressSettings);

            await MapperFactory.MapAsync(privacySettings, model.PrivacySettings);

            AddLocales(model.Locales, (locale, languageId) =>
            {
                locale.Salutations = addressSettings.GetLocalizedSetting(x => x.Salutations, languageId, storeScope, false, false);
            });

            return(View(model));
        }
 public UserModelFactory(AddressSettings addressSettings,
                         UserSettings userSettings,
                         DateTimeSettings dateTimeSettings,
                         IAclSupportedModelFactory aclSupportedModelFactory,
                         IAddressAttributeFormatter addressAttributeFormatter,
                         IAddressAttributeModelFactory addressAttributeModelFactory,
                         IBaseAdminModelFactory baseAdminModelFactory,
                         IUserActivityService userActivityService,
                         IUserAttributeParser userAttributeParser,
                         IUserAttributeService userAttributeService,
                         IUserService userService,
                         IDateTimeHelper dateTimeHelper,
                         IExternalAuthenticationService externalAuthenticationService,
                         IGenericAttributeService genericAttributeService,
                         IGeoLookupService geoLookupService,
                         ILocalizationService localizationService,
                         INewsLetterSubscriptionService newsLetterSubscriptionService,
                         IPictureService pictureService,
                         MediaSettings mediaSettings)
 {
     this._addressSettings              = addressSettings;
     this._userSettings                 = userSettings;
     this._dateTimeSettings             = dateTimeSettings;
     this._aclSupportedModelFactory     = aclSupportedModelFactory;
     this._addressAttributeFormatter    = addressAttributeFormatter;
     this._addressAttributeModelFactory = addressAttributeModelFactory;
     this._baseAdminModelFactory        = baseAdminModelFactory;
     this._userActivityService          = userActivityService;
     this._userAttributeParser          = userAttributeParser;
     this._userAttributeService         = userAttributeService;
     this._userService    = userService;
     this._dateTimeHelper = dateTimeHelper;
     this._externalAuthenticationService = externalAuthenticationService;
     this._genericAttributeService       = genericAttributeService;
     this._geoLookupService              = geoLookupService;
     this._localizationService           = localizationService;
     this._newsLetterSubscriptionService = newsLetterSubscriptionService;
     this._pictureService = pictureService;
     this._mediaSettings  = mediaSettings;
 }
Example #24
0
        public OrderController(IOrderService orderService,
                               IShipmentService shipmentService, IWorkContext workContext,
                               ICurrencyService currencyService, IPriceFormatter priceFormatter,
                               IOrderProcessingService orderProcessingService, IDateTimeHelper dateTimeHelper,
                               IPaymentService paymentService, ILocalizationService localizationService,
                               IPdfService pdfService, IShippingService shippingService,
                               ICountryService countryService, IWebHelper webHelper,
                               CatalogSettings catalogSettings, OrderSettings orderSettings,
                               TaxSettings taxSettings, PdfSettings pdfSettings,
                               ShippingSettings shippingSettings, AddressSettings addressSettings,
                               ICheckoutAttributeFormatter checkoutAttributeFormatter,
                               IProductService productService,
                               IProductAttributeFormatter productAttributeFormatter,
                               PluginMediator pluginMediator)
        {
            this._orderService           = orderService;
            this._shipmentService        = shipmentService;
            this._workContext            = workContext;
            this._currencyService        = currencyService;
            this._priceFormatter         = priceFormatter;
            this._orderProcessingService = orderProcessingService;
            this._dateTimeHelper         = dateTimeHelper;
            this._paymentService         = paymentService;
            this._localizationService    = localizationService;
            this._pdfService             = pdfService;
            this._shippingService        = shippingService;
            this._countryService         = countryService;
            this._webHelper                 = webHelper;
            this._productService            = productService;
            this._productAttributeFormatter = productAttributeFormatter;

            this._catalogSettings            = catalogSettings;
            this._orderSettings              = orderSettings;
            this._taxSettings                = taxSettings;
            this._pdfSettings                = pdfSettings;
            this._shippingSettings           = shippingSettings;
            this._addressSettings            = addressSettings;
            this._checkoutAttributeFormatter = checkoutAttributeFormatter;
            this._pluginMediator             = pluginMediator;
        }
 public CompanyModelFactory(ICompanyService companyService,
                            ILocalizationService localizationService,
                            ILocalizedModelFactory localizedModelFactory,
                            ICustomerService customerService,
                            IWorkContext workContext,
                            AddressSettings addressSettings,
                            IAddressAttributeFormatter addressAttributeFormatter,
                            ICountryService countryService,
                            IStateProvinceService stateProvinceService,
                            IAddressModelFactory addressModelFactory)
 {
     _companyService            = companyService;
     _localizationService       = localizationService;
     _localizedModelFactory     = localizedModelFactory;
     _customerService           = customerService;
     _workContext               = workContext;
     _addressSettings           = addressSettings;
     _addressAttributeFormatter = addressAttributeFormatter;
     _countryService            = countryService;
     _stateProvinceService      = stateProvinceService;
     _addressModelFactory       = addressModelFactory;
 }
Example #26
0
 public PdfService(AddressSettings addressSettings,
                   IAddressAttributeFormatter addressAttributeFormatter,
                   IDateTimeHelper dateTimeHelper,
                   ILanguageService languageService,
                   ILocalizationService localizationService,
                   INopFileProvider fileProvider,
                   IPictureService pictureService,
                   ISettingService settingService,
                   IWorkContext workContext,
                   PdfSettings pdfSettings)
 {
     this._addressSettings           = addressSettings;
     this._addressAttributeFormatter = addressAttributeFormatter;
     this._dateTimeHelper            = dateTimeHelper;
     this._languageService           = languageService;
     this._localizationService       = localizationService;
     this._fileProvider   = fileProvider;
     this._pictureService = pictureService;
     this._settingService = settingService;
     this._workContext    = workContext;
     this._pdfSettings    = pdfSettings;
 }
        public CustomerModelFactory(
            IDateTimeHelper dateTimeHelper,
            DateTimeSettings dateTimeSettings,


            IWorkContext workContext,

            CustomerSettings customerSettings,
            AddressSettings addressSettings,


            ICountryService countryService,
            IStateProvinceService stateProvinceService,


            CaptchaSettings captchaSettings,
            SecuritySettings securitySettings


            )
        {
            this._dateTimeHelper   = dateTimeHelper;
            this._dateTimeSettings = dateTimeSettings;


            this._workContext = workContext;

            this._customerSettings = customerSettings;
            this._addressSettings  = addressSettings;


            this._countryService       = countryService;
            this._stateProvinceService = stateProvinceService;



            this._captchaSettings  = captchaSettings;
            this._securitySettings = securitySettings;
        }
Example #28
0
 public AddressService(AddressSettings addressSettings,
                       IAddressAttributeService addressAttributeService,
                       ICacheManager cacheManager,
                       ICountryService countryService,
                       IEventPublisher eventPublisher,
                       IRepository <BillTo> billToRepository,
                       IRepository <ShipTo> shipToRepository,
                       IRepository <Address> addressRepository,
                       IRepository <CustomerBillToMapping> customerBillToMappingRepository,
                       IStateProvinceService stateProvinceService)
 {
     this._addressSettings                 = addressSettings;
     this._addressAttributeService         = addressAttributeService;
     this._cacheManager                    = cacheManager;
     this._countryService                  = countryService;
     this._eventPublisher                  = eventPublisher;
     this._addressRepository               = addressRepository;
     this._stateProvinceService            = stateProvinceService;
     this._billToRepository                = billToRepository;
     this._shipToRepository                = shipToRepository;
     this._customerBillToMappingRepository = customerBillToMappingRepository;
 }
Example #29
0
 public ReturnRequestController(IOrderService orderService,
                                IProductService productService,
                                ICustomerService customerService, IDateTimeHelper dateTimeHelper,
                                ILocalizationService localizationService, IWorkContext workContext,
                                IWorkflowMessageService workflowMessageService, LocalizationSettings localizationSettings,
                                ICustomerActivityService customerActivityService, IPermissionService permissionService,
                                IRepository <ReturnRequest> returnRequest,
                                IReturnRequestService returnRequestService,
                                IPriceFormatter priceFormatter,
                                ICurrencyService currencyService,
                                AddressSettings addressSettings,
                                ICountryService countryService,
                                IStateProvinceService stateProvinceService,
                                IAddressAttributeService addressAttributeService,
                                IAddressAttributeParser addressAttributeParser,
                                OrderSettings orderSettings)
 {
     this._orderService            = orderService;
     this._productService          = productService;
     this._customerService         = customerService;
     this._dateTimeHelper          = dateTimeHelper;
     this._localizationService     = localizationService;
     this._workContext             = workContext;
     this._workflowMessageService  = workflowMessageService;
     this._localizationSettings    = localizationSettings;
     this._customerActivityService = customerActivityService;
     this._permissionService       = permissionService;
     this._returnRequest           = returnRequest;
     this._returnRequestService    = returnRequestService;
     this._priceFormatter          = priceFormatter;
     this._currencyService         = currencyService;
     this._addressSettings         = addressSettings;
     this._countryService          = countryService;
     this._stateProvinceService    = stateProvinceService;
     this._addressAttributeService = addressAttributeService;
     this._addressAttributeParser  = addressAttributeParser;
     this._orderSettings           = orderSettings;
 }
        public ShoppingCartViewComponent(
            IProductService productService,
            IStoreContext storeContext,
            IWorkContext workContext,
            IShoppingCartService shoppingCartService,
            IPermissionService permissionService,
            IShoppingCartWebService shoppingCartWebService,
            IHttpContextAccessor httpContextAccessor,

            MediaSettings mediaSettings,
            ShoppingCartSettings shoppingCartSettings,
            CatalogSettings catalogSettings,
            OrderSettings orderSettings,
            ShippingSettings shippingSettings,
            TaxSettings taxSettings,
            CaptchaSettings captchaSettings,
            AddressSettings addressSettings,
            RewardPointsSettings rewardPointsSettings
            )
        {
            this._productService      = productService;
            this._workContext         = workContext;
            this._storeContext        = storeContext;
            this._shoppingCartService = shoppingCartService;
            this._permissionService   = permissionService;

            this._shoppingCartWebService = shoppingCartWebService;

            this._mediaSettings        = mediaSettings;
            this._shoppingCartSettings = shoppingCartSettings;
            this._catalogSettings      = catalogSettings;
            this._orderSettings        = orderSettings;
            this._shippingSettings     = shippingSettings;
            this._taxSettings          = taxSettings;
            this._captchaSettings      = captchaSettings;
            this._addressSettings      = addressSettings;
            this._rewardPointsSettings = rewardPointsSettings;
        }
 public ReturnRequestViewModelService(IOrderService orderService,
                                      IWorkContext workContext,
                                      IProductService productService,
                                      ICustomerService customerService, IDateTimeHelper dateTimeHelper,
                                      ILocalizationService localizationService,
                                      IWorkflowMessageService workflowMessageService, LocalizationSettings localizationSettings,
                                      ICustomerActivityService customerActivityService,
                                      IReturnRequestService returnRequestService,
                                      IPriceFormatter priceFormatter,
                                      ICurrencyService currencyService,
                                      AddressSettings addressSettings,
                                      ICountryService countryService,
                                      IStateProvinceService stateProvinceService,
                                      IAddressAttributeService addressAttributeService,
                                      IAddressAttributeParser addressAttributeParser,
                                      IDownloadService downloadService,
                                      OrderSettings orderSettings)
 {
     _orderService            = orderService;
     _workContext             = workContext;
     _productService          = productService;
     _customerService         = customerService;
     _dateTimeHelper          = dateTimeHelper;
     _localizationService     = localizationService;
     _workflowMessageService  = workflowMessageService;
     _localizationSettings    = localizationSettings;
     _customerActivityService = customerActivityService;
     _returnRequestService    = returnRequestService;
     _priceFormatter          = priceFormatter;
     _currencyService         = currencyService;
     _addressSettings         = addressSettings;
     _countryService          = countryService;
     _stateProvinceService    = stateProvinceService;
     _addressAttributeService = addressAttributeService;
     _addressAttributeParser  = addressAttributeParser;
     _downloadService         = downloadService;
     _orderSettings           = orderSettings;
 }