Interface CartCheckoutBaseService

    • Method Detail

      • getSessionCart

        CartData getSessionCart()
        Retrieves the session cart held in the SAP back end
        Returns:
        Current session cart
      • hasSessionCart

        boolean hasSessionCart()
        Checks if a session cart exists held in the SAP back end
        Returns:
        Does the session cart exist?
      • getSessionCart

        CartData getSessionCart​(boolean recentlyAddedFirst)
        Returns session cart, sorted in inverted order if required
        Parameters:
        recentlyAddedFirst - If true, recently added items will be returned first (Standard sorting will be inverted)
        Returns:
        Session Cart
      • removeSessionCart

        void removeSessionCart()
        Removes the existing session cart and releases the underlying LO-API session in SD. Afterwards, the cart is initial