public interface SelectiveCartService
Wishlist2Models.| Modifier and Type | Method and Description |
|---|---|
Wishlist2Model |
createWishlist()
create a wish list for current customer
|
Wishlist2EntryModel |
getWishlistEntryForProduct(ProductModel product)
get wishlist entry based on a product in given wishlist
|
Wishlist2EntryModel |
getWishlistEntryForProduct(ProductModel product,
Wishlist2Model wishlist)
get wishlist entry based on a product in given wishlist
|
Wishlist2Model |
getWishlistForSelectiveCart()
get wishlist for selective-cart and current user
|
void |
removeWishlistEntryForProduct(ProductModel product,
Wishlist2Model wishlist)
remove wishlist entry based on a product in given wishlist
|
Wishlist2EntryModel |
saveWishlistEntryForProduct(ProductModel product,
Wishlist2Model wishlist,
java.util.Date addToCartTime)
save wishlist entry based on a product in given wishlist and save addToCartTime also
|
void |
updateCartTimeForOrderEntry(java.lang.String cartCode,
int entryNumber,
java.util.Date addToCartTime)
update to the original addToCartTime when move the wishlistentry to cart
|
void |
updateQuantityForWishlistEntry(Wishlist2EntryModel wishlistEntry,
java.lang.Integer quantity)
update the quantity of the give wishlist entry
|
Wishlist2Model getWishlistForSelectiveCart()
Wishlist2EntryModel getWishlistEntryForProduct(ProductModel product)
product - the given productWishlist2EntryModel getWishlistEntryForProduct(ProductModel product, Wishlist2Model wishlist)
product - the given productwishlist - the given wishlistvoid removeWishlistEntryForProduct(ProductModel product, Wishlist2Model wishlist)
product - the given productwishlist - the given wishlistvoid updateQuantityForWishlistEntry(Wishlist2EntryModel wishlistEntry, java.lang.Integer quantity)
wishlistEntry - the given wishlistquantity - the total number of quantityWishlist2Model createWishlist()
Wishlist2EntryModel saveWishlistEntryForProduct(ProductModel product, Wishlist2Model wishlist, java.util.Date addToCartTime)
product - the given productwishlist - the given wishlistaddToCartTime - the added to cart time for a wishlist entryvoid updateCartTimeForOrderEntry(java.lang.String cartCode,
int entryNumber,
java.util.Date addToCartTime)
cartCode - the cart code returned when modify cartentryNumber - the entry number returned when modify cartaddToCartTime - the added to cart time for a wishlist entryCopyright © 2018 SAP SE. All Rights Reserved.