Class CommerceWebServicesCartFacade

java.lang.Object
de.hybris.platform.commercefacades.order.impl.DefaultCartFacade
de.hybris.platform.commercewebservices.core.cart.impl.CommerceWebServicesCartFacade
All Implemented Interfaces:
CartFacade

public class CommerceWebServicesCartFacade extends DefaultCartFacade
Extension of DefaultCartFacade for commercewebservices.
  • Constructor Details

    • CommerceWebServicesCartFacade

      public CommerceWebServicesCartFacade()
  • Method Details

    • getSessionCart

      public CartData getSessionCart()
      Description copied from interface: CartFacade
      Method gets cart from session, if any exist.
      Specified by:
      getSessionCart in interface CartFacade
      Overrides:
      getSessionCart in class DefaultCartFacade
      Returns:
      the cart data
    • isAnonymousUserCart

      public boolean isAnonymousUserCart(String cartGuid)
      Checks if given card belongs to anonymous user.
      Parameters:
      cartGuid - GUID of the cart.
      Returns:
      true if the cart belongs to anonymous user.
    • isCurrentUserCart

      public boolean isCurrentUserCart(String cartGuid)
      Checks if given card belongs to current user.
      Parameters:
      cartGuid - GUID of the cart.
      Returns:
      true if the cart belongs to current user.