Interface MergeCartProcessor
- All Known Implementing Classes:
MergeCartProcessorImpl
Deprecated.
this has been replaced by invoking the merge cart service explicitly within the cart state request processor
Responsible for merging an anonymous cart with the currently logged in user's cart
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authResult) Deprecated.Convenience method.voidexecute(org.springframework.web.context.request.WebRequest request, org.springframework.security.core.Authentication authResult) Deprecated.Merge the cart owned by the anonymous current sessionCustomerwith theCustomerthat has just logged in
-
Method Details
-
execute
void execute(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authResult) Deprecated.Convenience method. This will wrap the given request and response inside of aServletWebRequestand forward toexecute(WebRequest, Authentication)- Parameters:
request-response-authResult-
-
execute
void execute(org.springframework.web.context.request.WebRequest request, org.springframework.security.core.Authentication authResult) Deprecated.Merge the cart owned by the anonymous current sessionCustomerwith theCustomerthat has just logged in- Parameters:
request-authResult-
-