@FrameworkRestController @FrameworkMapping(value="/resolve-cart") public class ResolveCartEndpoint extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BASE_URI |
protected CartResolverService |
cartResolverService |
Constructor and Description |
---|
ResolveCartEndpoint(CartResolverService cartResolverService) |
Modifier and Type | Method and Description |
---|---|
protected String |
cartNotFoundMessage() |
protected CartResolverService |
getCartResolverService() |
com.broadleafcommerce.cart.client.domain.Cart |
resolveCart(List<String> status,
com.broadleafcommerce.cart.client.domain.CustomerRef registeredCustomer,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) |
public static final String BASE_URI
protected final CartResolverService cartResolverService
public ResolveCartEndpoint(CartResolverService cartResolverService)
@FrameworkGetMapping public com.broadleafcommerce.cart.client.domain.Cart resolveCart(@RequestParam(required=false) List<String> status, com.broadleafcommerce.cart.client.domain.CustomerRef registeredCustomer, @ContextOperation com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
protected String cartNotFoundMessage()
protected CartResolverService getCartResolverService()
Copyright © 2021. All rights reserved.