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 TypeMethodDescriptionRetrieves the session cart held in the SAP back endgetSessionCart(boolean recentlyAddedFirst) Returns session cart, sorted in inverted order if requiredbooleanChecks if a session cart exists held in the SAP back endvoidRemoves 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
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
-