Ejemplo n.º 1
0
 public CustomerServiceImpl(Func <WorkContext> workContextFactory, ICustomerModuleApiClient customerApi, IOrdersModuleApiClient orderApi,
                            IQuoteModuleApiClient quoteApi, IStoreModuleApiClient storeApi, ILocalCacheManager cacheManager)
 {
     _workContextFactory = workContextFactory;
     _customerApi        = customerApi;
     _orderApi           = orderApi;
     _quoteApi           = quoteApi;
     _storeApi           = storeApi;
     _cacheManager       = cacheManager;
 }
 public ApiCartController(WorkContext workContext, ICatalogSearchService catalogSearchService, ICartBuilder cartBuilder,
                          IOrdersModuleApiClient orderApi, IStorefrontUrlBuilder urlBuilder,
                          IEventPublisher <OrderPlacedEvent> orderPlacedEventPublisher, ISubscriptionModuleApiClient subscriptionApi)
     : base(workContext, urlBuilder)
 {
     _cartBuilder               = cartBuilder;
     _orderApi                  = orderApi;
     _catalogSearchService      = catalogSearchService;
     _orderPlacedEventPublisher = orderPlacedEventPublisher;
     _subscriptionApi           = subscriptionApi;
 }
Ejemplo n.º 3
0
 public AccountController(WorkContext workContext, IStorefrontUrlBuilder urlBuilder, ICoreModuleApiClient commerceCoreApi,
                          IAuthenticationManager authenticationManager, IPlatformModuleApiClient platformApi,
                          ICustomerService customerService, IOrdersModuleApiClient orderApi, IEventPublisher <UserLoginEvent> userLoginEventPublisher)
     : base(workContext, urlBuilder)
 {
     _commerceCoreApi       = commerceCoreApi;
     _customerService       = customerService;
     _authenticationManager = authenticationManager;
     _platformApi           = platformApi;
     _orderApi = orderApi;
     _userLoginEventPublisher = userLoginEventPublisher;
 }
 public ApiOrderController(WorkContext workContext, IStorefrontUrlBuilder urlBuilder, IOrdersModuleApiClient orderApi, IStoreModuleApiClient storeApi)
     : base(workContext, urlBuilder)
 {
     _orderApi = orderApi;
     _storeApi = storeApi;
 }
Ejemplo n.º 5
0
 public CartController(WorkContext workContext, IOrdersModuleApiClient orderApi, IStorefrontUrlBuilder urlBuilder)
     : base(workContext, urlBuilder)
 {
     _orderApi = orderApi;
 }