Package de.hybris.platform.b2b.services
Interface B2BCartService
- All Superinterfaces:
AbstractOrderService<CartModel,,CartEntryModel> CartService
- All Known Implementing Classes:
DefaultB2BCartService
A specialized Cart Service extending functionality of
DefaultCartService
to address additional needs of a b2b cart functionality- Spring Bean ID:
- b2bCartService
-
Method Summary
Modifier and TypeMethodDescriptionClones an order model into cart model by delegating toAbstractOrderService.clone(de.hybris.platform.core.model.type.ComposedTypeModel, de.hybris.platform.core.model.type.ComposedTypeModel, de.hybris.platform.core.model.order.AbstractOrderModel, String)Methods inherited from interface de.hybris.platform.order.AbstractOrderService
addAllGlobalDiscountValues, addAllTotalTaxValues, addGlobalDiscountValue, addNewEntry, addNewEntry, addNewEntry, addTotalTaxValue, clone, getEntriesForNumber, getEntriesForProduct, getEntryForNumber, getGlobalDiscountValue, removeGlobalDiscountValue, removeTotalTaxValue, saveOrderMethods inherited from interface de.hybris.platform.order.CartService
addToCart, appendToCart, calculateCart, changeCurrentCartUser, changeSessionCartCurrency, createCartFromQuote, getSessionCart, hasCart, hasSessionCart, removeSessionCart, setSessionCart, updateQuantities, updateQuantities
-
Method Details
-
createCartFromAbstractOrder
Clones an order model into cart model by delegating toAbstractOrderService.clone(de.hybris.platform.core.model.type.ComposedTypeModel, de.hybris.platform.core.model.type.ComposedTypeModel, de.hybris.platform.core.model.order.AbstractOrderModel, String)- Parameters:
order- An original order model to clone into cart- Returns:
- not persisted cart model instance.
-