Class DefaultOrderResolver

java.lang.Object
de.hybris.platform.ticket.resolver.DefaultOrderResolver
All Implemented Interfaces:
TicketAssociatedObjectResolver

public class DefaultOrderResolver extends Object implements TicketAssociatedObjectResolver
This class is responsible for to retrieve the Customer Cart for the code supplied.
  • Field Details

    • ORDER_NOT_FOUND_FOR_USER_AND_BASE_STORE

      protected static final String ORDER_NOT_FOUND_FOR_USER_AND_BASE_STORE
      See Also:
  • Constructor Details

    • DefaultOrderResolver

      public DefaultOrderResolver()
  • Method Details

    • getObject

      public AbstractOrderModel getObject(String code, String userUid, String siteUid)
      Specified by:
      getObject in interface TicketAssociatedObjectResolver
      Parameters:
      code - mandatory
      userUid - optional
      siteUid - optional
      Returns:
    • getUserService

      protected UserService getUserService()
      Returns:
      the userService
    • getBaseStoreService

      protected BaseStoreService getBaseStoreService()
      Returns:
      the baseStoreService
    • getCustomerAccountService

      protected CustomerAccountService getCustomerAccountService()
      Returns:
      the customerAccountService
    • setUserService

      public void setUserService(UserService userService)
      Parameters:
      userService - the userService to set
    • setBaseStoreService

      public void setBaseStoreService(BaseStoreService baseStoreService)
      Parameters:
      baseStoreService - the baseStoreService to set
    • setCustomerAccountService

      public void setCustomerAccountService(CustomerAccountService customerAccountService)
      Parameters:
      customerAccountService - the customerAccountService to set