public interface SelectiveCartFacade
| Modifier and Type | Method and Description |
|---|---|
void |
addToCartFromWishlist(java.lang.String productCode)
Removes the entry from wishlist and adds wishlist entry to cart as a cart entry
|
void |
addToWishlistFromCart(java.lang.Integer entryNumber)
Removes the entry from cart and adds cart entry to wishlist
|
void |
addToWishlistFromCart(java.util.List<java.lang.String> productCodes)
Removes the entry from cart and adds the entry to wishlist
|
void |
addToWishlistFromCart(OrderEntryData orderEntry)
Removes the entry from cart and adds cart entry to wishlist
|
Wishlist2Data |
getWishlistForSelectiveCart()
Gets the wishlist2data for selective cart of the current user
|
java.util.List<OrderEntryData> |
getWishlistOrdersForSelectiveCart()
Gets order entries that are converted from Wishlist2EntryModel
|
void |
removeWishlistEntryForProduct(java.lang.String productCode)
Removes the entry from wishlist by product code
|
void |
updateCartFromWishlist()
Removes the entry from wishlist and adds wishlist entry to cart as a cart entry
|
Wishlist2Data getWishlistForSelectiveCart()
void removeWishlistEntryForProduct(java.lang.String productCode)
productCode - the product code used for removing entryvoid addToCartFromWishlist(java.lang.String productCode)
throws CommerceCartModificationException
productCode - the product code used for getting entry from wishlistCommerceCartModificationException - throws when removing wish list entry errorvoid updateCartFromWishlist()
throws CommerceCartModificationException
CommerceCartModificationException - throws when cart could not be modifiedvoid addToWishlistFromCart(OrderEntryData orderEntry) throws CommerceCartModificationException
orderEntry - the order entry dataCommerceCartModificationException - throws when cart could not be modifiedvoid addToWishlistFromCart(java.lang.Integer entryNumber)
throws CommerceCartModificationException
entryNumber - the entry number used for getting cart entryCommerceCartModificationException - throws when cart could not be modifiedvoid addToWishlistFromCart(java.util.List<java.lang.String> productCodes)
throws CommerceCartModificationException
productCodes - the product code list used for getting product data from cart entryCommerceCartModificationException - throws when the cart could not be modifiedjava.util.List<OrderEntryData> getWishlistOrdersForSelectiveCart()
Copyright © 2018 SAP SE. All Rights Reserved.