Interface CartCheckoutBaseService
-
- All Known Subinterfaces:
CartService,CheckoutService,CPQCartService
- All Known Implementing Classes:
CPQDefaultCartService,DefaultCartCheckoutBaseService,DefaultCartService,DefaultCheckoutService
public interface CartCheckoutBaseServiceService for checking, retrieving session cart held in the SAP back end
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CartDatagetSessionCart()Retrieves the session cart held in the SAP back endCartDatagetSessionCart(boolean recentlyAddedFirst)Returns session cart, sorted in inverted order if requiredbooleanhasSessionCart()Checks if a session cart exists held in the SAP back endvoidremoveSessionCart()Removes the existing session cart and releases the underlying LO-API session in SD.
-
-
-
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
-
-