Exemplo n.º 1
0
 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 PersonViewModelService(
     PersonService personService,
     SecurityContextService securityContextService,
     LoginService loginService,
     MailService mailService,
     FieldTemplateService templateService,
     RoleService roleService,
     UserValidationService userValidationService,
     WelcomeEmailDefinitionResolver welcomeEmailDefinitionResolver,
     PersonStorage personStorage,
     ILogger <PersonViewModelService> logger)
 {
     _personService                  = personService;
     _securityContextService         = securityContextService;
     _loginService                   = loginService;
     _mailService                    = mailService;
     _templateService                = templateService;
     _roleService                    = roleService;
     _userValidationService          = userValidationService;
     _welcomeEmailDefinitionResolver = welcomeEmailDefinitionResolver;
     _personStorage                  = personStorage;
     _logger = logger;
 }