Package de.hybris.platform.b2b.services
Interface B2BCartService
-
- All Superinterfaces:
AbstractOrderService<CartModel,CartEntryModel>
,CartService
- All Known Implementing Classes:
DefaultB2BCartService
public interface B2BCartService extends CartService
A specialized Cart Service extending functionality ofDefaultCartService
to address additional needs of a b2b cart functionality- Spring Bean ID:
- b2bCartService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CartModel
createCartFromAbstractOrder(AbstractOrderModel order)
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)
-
Methods inherited from interface de.hybris.platform.order.AbstractOrderService
addAllGlobalDiscountValues, addAllTotalTaxValues, addGlobalDiscountValue, addNewEntry, addNewEntry, addNewEntry, addTotalTaxValue, clone, getEntriesForNumber, getEntriesForProduct, getEntryForNumber, getGlobalDiscountValue, removeGlobalDiscountValue, removeTotalTaxValue, saveOrder
-
Methods inherited from interface de.hybris.platform.order.CartService
addToCart, appendToCart, calculateCart, changeCurrentCartUser, changeSessionCartCurrency, createCartFromQuote, getSessionCart, hasCart, hasSessionCart, removeSessionCart, setSessionCart, updateQuantities, updateQuantities
-
-
-
-
Method Detail
-
createCartFromAbstractOrder
CartModel createCartFromAbstractOrder(AbstractOrderModel order)
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.
-
-