Class DefaultCartResolver
java.lang.Object
de.hybris.platform.ticket.resolver.DefaultCartResolver
- All Implemented Interfaces:
TicketAssociatedObjectResolver
This class is responsible for to retrieve the Customer Cart for the code supplied.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CommerceCartServiceprotected UserServicevoidsetCommerceCartService(CommerceCartService commerceCartService) voidsetUserService(UserService userService)
-
Constructor Details
-
DefaultCartResolver
public DefaultCartResolver()
-
-
Method Details
-
getObject
- Specified by:
getObjectin interfaceTicketAssociatedObjectResolver- Parameters:
code- mandatoryuserUid- optionalsiteUid- optional- Returns:
-
getUserService
- Returns:
- the userService
-
getCommerceCartService
- Returns:
- the commerceCartService
-
setUserService
- Parameters:
userService- the userService to set
-
setCommerceCartService
- Parameters:
commerceCartService- the commerceCartService to set
-