Example #1
0
 public PersonViewModelService(
     PersonService personService,
     SecurityContextService securityContextService,
     LoginService loginService,
     MailService mailService,
     FieldTemplateService templateService,
     RoleService roleService,
     UserValidationService userValidationService,
     WelcomeEmailDefinitionResolver welcomeEmailDefinitionResolver,
     PersonStorage personStorage)
 {
     _personService                  = personService;
     _securityContextService         = securityContextService;
     _loginService                   = loginService;
     _mailService                    = mailService;
     _templateService                = templateService;
     _roleService                    = roleService;
     _userValidationService          = userValidationService;
     _welcomeEmailDefinitionResolver = welcomeEmailDefinitionResolver;
     _personStorage                  = personStorage;
 }
 public CheckoutServiceImpl(
     ModuleECommerce moduleECommerce,
     RequestModelAccessor requestModelAccessor,
     CartService cartService,
     IPaymentInfoFactory paymentInfoFactory,
     LanguageService languageService,
     UserValidationService userValidationService,
     SecurityContextService securityContextService,
     PersonService personService,
     LoginService loginService,
     MailService mailService,
     WelcomeEmailDefinitionResolver welcomeEmailDefinitionResolver,
     FieldTemplateService templateService,
     WebsiteService websiteService,
     AddressTypeService addressTypeService,
     UrlService urlService,
     PageService pageService,
     PersonStorage personStorage,
     CheckoutState checkoutState)
 {
     _moduleECommerce                = moduleECommerce;
     _requestModelAccessor           = requestModelAccessor;
     _cartService                    = cartService;
     _paymentInfoFactory             = paymentInfoFactory;
     _languageService                = languageService;
     _userValidationService          = userValidationService;
     _securityContextService         = securityContextService;
     _personService                  = personService;
     _loginService                   = loginService;
     _mailService                    = mailService;
     _welcomeEmailDefinitionResolver = welcomeEmailDefinitionResolver;
     _templateService                = templateService;
     _addressTypeService             = addressTypeService;
     _websiteService                 = websiteService;
     _pageService                    = pageService;
     _personStorage                  = personStorage;
     _checkoutState                  = checkoutState;
     _urlService = urlService;
 }
        public CheckoutController(
            SecurityContextService securityContextService,
            FieldTemplateService templateService,
            PersonService personService,
            OrganizationService organizationService,
            AddressTypeService addressTypeService,
            ChannelService channelService,
            WebsiteService websiteService,
            PageService pageService,
            UrlService urlService,
            UserValidationService userValidationService,
            LoginService loginService,
            MailService mailService,
            WelcomeEmailDefinitionResolver welcomeEmailDefinitionResolver,
            PaymentOptionViewModelBuilder paymentOptionViewModelBuilder,
            DeliveryMethodViewModelBuilder deliveryMethodViewModelBuilder,
            ILogger <CheckoutController> logger)
        {
            _securityContextService = securityContextService;
            _templateService        = templateService;
            _personService          = personService;
            _organizationService    = organizationService;
            _addressTypeService     = addressTypeService;
            _channelService         = channelService;
            _websiteService         = websiteService;
            _pageService            = pageService;
            _urlService             = urlService;

            _userValidationService          = userValidationService;
            _loginService                   = loginService;
            _mailService                    = mailService;
            _welcomeEmailDefinitionResolver = welcomeEmailDefinitionResolver;
            _paymentOptionViewModelBuilder  = paymentOptionViewModelBuilder;
            _deliveryMethodViewModelBuilder = deliveryMethodViewModelBuilder;
            _logger = logger;
        }