Interface GuestCheckoutCartCleanStrategy

All Known Implementing Classes:
DefaultGuestCheckoutCartCleanStrategy

public interface GuestCheckoutCartCleanStrategy
A strategy for clearing unwanted saved data from the cart for guest checkout.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    checkWhetherURLContainsSkipPattern(javax.servlet.http.HttpServletRequest request)
    Checks whether the request's page is to be skipped (e.g.
    void
    cleanGuestCart(javax.servlet.http.HttpServletRequest request)
    Removes the delivery address, delivery mode, payment info from the session cart, if the guest user moves away from checkout pages.
  • Method Details

    • checkWhetherURLContainsSkipPattern

      boolean checkWhetherURLContainsSkipPattern(javax.servlet.http.HttpServletRequest request)
      Checks whether the request's page is to be skipped (e.g. checkout URL).
    • cleanGuestCart

      void cleanGuestCart(javax.servlet.http.HttpServletRequest request)
      Removes the delivery address, delivery mode, payment info from the session cart, if the guest user moves away from checkout pages.