public interface CartFacade
| Modifier and Type | Method and Description |
|---|---|
CartModificationData |
addOrderEntry(OrderEntryData cartEntry)
Method for adding a product to cart.
|
java.util.List<CartModificationData> |
addOrderEntryList(java.util.List<OrderEntryData> cartEntries)
Method for adding a product to cart.
|
CartData |
getCurrentCart()
This gets the current cart.
|
CartData |
update(CartData cartData)
Updates the information in the cart based on the content of the cartData
|
CartModificationData |
updateOrderEntry(OrderEntryData cartEntry)
Method for updating the number of products.
|
java.util.List<CartModificationData> |
updateOrderEntryList(java.util.List<OrderEntryData> cartEntries)
Method for updating a list of products in the cart.
|
CartModificationData addOrderEntry(OrderEntryData cartEntry) throws EntityValidationException
cartEntry - the cart entry with the new product to add..EntityValidationException - if the validation fails.CartModificationData updateOrderEntry(OrderEntryData cartEntry) throws EntityValidationException
cartEntry - the cart entry with the new value of quantity for product.EntityValidationException - if the validation fails.java.util.List<CartModificationData> addOrderEntryList(java.util.List<OrderEntryData> cartEntries)
cartEntries - the cart entries with the new products to add.java.util.List<CartModificationData> updateOrderEntryList(java.util.List<OrderEntryData> cartEntries)
cartEntries - the cart entries with the new products to add.CartData update(CartData cartData)
cartData - the cart to modify and it's modifications.CartData getCurrentCart()
Copyright © 2018 SAP SE. All Rights Reserved.