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 TypeMethodDescriptionvoid
execute
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authResult) Deprecated.Convenience method.void
execute
(org.springframework.web.context.request.WebRequest request, org.springframework.security.core.Authentication authResult) Deprecated.Merge the cart owned by the anonymous current sessionCustomer
with theCustomer
that 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 aServletWebRequest
and 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 sessionCustomer
with theCustomer
that has just logged in- Parameters:
request
-authResult
-
-