Class ResolveCartEndpoint
- java.lang.Object
-
- com.broadleafcommerce.cartoperation.web.endpoint.ResolveCartEndpoint
-
@FrameworkRestController @FrameworkMapping("/resolve-cart") public class ResolveCartEndpoint extends Object
- Author:
- Nick Crum (ncrum)
-
-
Field Summary
Fields Modifier and Type Field Description static String
BASE_URI
protected CartResolverService
cartResolverService
-
Constructor Summary
Constructors Constructor Description ResolveCartEndpoint(CartResolverService cartResolverService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
cartNotFoundMessage()
protected CartResolverService
getCartResolverService()
com.broadleafcommerce.cart.client.domain.Cart
resolveCart(List<String> status, com.broadleafcommerce.order.common.domain.CustomerRef registeredCustomer, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
-
-
Field Detail
-
BASE_URI
public static final String BASE_URI
- See Also:
- Constant Field Values
-
cartResolverService
protected final CartResolverService cartResolverService
-
-
Constructor Detail
-
ResolveCartEndpoint
public ResolveCartEndpoint(CartResolverService cartResolverService)
-
-
Method Detail
-
resolveCart
@FrameworkGetMapping public com.broadleafcommerce.cart.client.domain.Cart resolveCart(@RequestParam(required=false) List<String> status, com.broadleafcommerce.order.common.domain.CustomerRef registeredCustomer, @ContextOperation com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
cartNotFoundMessage
protected String cartNotFoundMessage()
-
getCartResolverService
protected CartResolverService getCartResolverService()
-
-