Class DefaultGuestCheckoutCartCleanStrategy

java.lang.Object
de.hybris.platform.yacceleratorstorefront.security.impl.DefaultGuestCheckoutCartCleanStrategy
All Implemented Interfaces:
GuestCheckoutCartCleanStrategy

public class DefaultGuestCheckoutCartCleanStrategy extends Object implements GuestCheckoutCartCleanStrategy
  • Field Details

  • Constructor Details

    • DefaultGuestCheckoutCartCleanStrategy

      public DefaultGuestCheckoutCartCleanStrategy()
  • Method Details

    • cleanGuestCart

      public void cleanGuestCart(javax.servlet.http.HttpServletRequest request)
      Description copied from interface: GuestCheckoutCartCleanStrategy
      Removes the delivery address, delivery mode, payment info from the session cart, if the guest user moves away from checkout pages.
      Specified by:
      cleanGuestCart in interface GuestCheckoutCartCleanStrategy
    • checkWhetherURLContainsSkipPattern

      public boolean checkWhetherURLContainsSkipPattern(javax.servlet.http.HttpServletRequest request)
      Description copied from interface: GuestCheckoutCartCleanStrategy
      Checks whether the request's page is to be skipped (e.g. checkout URL).
      Specified by:
      checkWhetherURLContainsSkipPattern in interface GuestCheckoutCartCleanStrategy
    • isGetMethod

      protected boolean isGetMethod(javax.servlet.http.HttpServletRequest httpRequest)
    • getCheckoutCustomerStrategy

      protected CheckoutCustomerStrategy getCheckoutCustomerStrategy()
    • isAnonymousCheckout

      protected boolean isAnonymousCheckout()
    • setCheckoutCustomerStrategy

      public void setCheckoutCustomerStrategy(CheckoutCustomerStrategy checkoutCustomerStrategy)
    • getCartService

      protected CartService getCartService()
    • setCartService

      public void setCartService(CartService cartService)
    • getSessionService

      protected SessionService getSessionService()
    • setSessionService

      public void setSessionService(SessionService sessionService)
    • getUserService

      protected UserService getUserService()
    • setUserService

      public void setUserService(UserService userService)
    • getSkipPatterns

      public List<String> getSkipPatterns()
    • setSkipPatterns

      public void setSkipPatterns(List<String> skipPatterns)