Interface CartCheckoutBaseService

All Known Subinterfaces:
CartService, CheckoutService, CPQCartService
All Known Implementing Classes:
CPQDefaultCartService, DefaultCartCheckoutBaseService, DefaultCartService, DefaultCheckoutService

public interface CartCheckoutBaseService
Service for checking, retrieving session cart held in the SAP back end
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the session cart held in the SAP back end
    getSessionCart(boolean recentlyAddedFirst)
    Returns session cart, sorted in inverted order if required
    boolean
    Checks if a session cart exists held in the SAP back end
    void
    Removes the existing session cart and releases the underlying LO-API session in SD.
  • Method Details

    • 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