public interface SelectiveCartService
| Modifier and Type | Method and Description |
|---|---|
Wishlist2Model |
createWishlist()
Creates a wish list for the current customer
|
Wishlist2EntryModel |
getWishlistEntryForProduct(ProductModel product)
Gets wishlist entry by product code
|
Wishlist2EntryModel |
getWishlistEntryForProduct(ProductModel product,
Wishlist2Model wishlist)
Gets wishlist entry by product code and wishlist
|
Wishlist2Model |
getWishlistForSelectiveCart()
Gets wishlist for selective cart and the current user
|
void |
removeWishlistEntryForProduct(ProductModel product,
Wishlist2Model wishlist)
Removes wishlist entry by product code and wishlist
|
Wishlist2EntryModel |
saveWishlistEntryForProduct(ProductModel product,
Wishlist2Model wishlist,
java.util.Date addToCartTime)
Saves wishlist entry and addToCartTime by product and wishlist
|
void |
updateCartTimeForOrderEntry(java.lang.String cartCode,
int entryNumber,
java.util.Date addToCartTime)
Updates to the original addToCartTime when moving the wishlist entry from cart
|
void |
updateQuantityForWishlistEntry(Wishlist2EntryModel wishlistEntry,
java.lang.Integer quantity)
Updates the quantity of the give wishlist entry
|
Wishlist2Model getWishlistForSelectiveCart()
Wishlist2EntryModel getWishlistEntryForProduct(ProductModel product)
product - the product codeWishlist2EntryModel getWishlistEntryForProduct(ProductModel product, Wishlist2Model wishlist)
product - the product codewishlist - the wishlist modelvoid removeWishlistEntryForProduct(ProductModel product, Wishlist2Model wishlist)
product - the product codewishlist - the wishlist modelvoid updateQuantityForWishlistEntry(Wishlist2EntryModel wishlistEntry, java.lang.Integer quantity)
wishlistEntry - the wishlist entry modelquantity - the total number of quantityWishlist2Model createWishlist()
Wishlist2EntryModel saveWishlistEntryForProduct(ProductModel product, Wishlist2Model wishlist, java.util.Date addToCartTime)
product - the product codewishlist - the wishlist modeladdToCartTime - the added to cart time for a wishlist entryvoid updateCartTimeForOrderEntry(java.lang.String cartCode,
int entryNumber,
java.util.Date addToCartTime)
cartCode - the cart code used for getting cart entryentryNumber - the entry number used for getting cart entryaddToCartTime - the new "added to cart" timeCopyright © 2018 SAP SE. All Rights Reserved.