public class DefaultB2BCartService extends DefaultCartService implements B2BCartService
B2BCartServiceAbstractService.SerializableDTO| Modifier and Type | Field and Description |
|---|---|
protected KeyGenerator |
keyGenerator |
SESSION_CART_PARAMETER_NAMEmodelService, sessionService, txManagertenant| Constructor and Description |
|---|
DefaultB2BCartService() |
| Modifier and Type | Method and Description |
|---|---|
CartModel |
createCartFromAbstractOrder(AbstractOrderModel order)
Clones an order model into cart model by delegating to
AbstractOrderService.clone(de.hybris.platform.core.model.type.ComposedTypeModel, de.hybris.platform.core.model.type.ComposedTypeModel, de.hybris.platform.core.model.order.AbstractOrderModel, String) |
protected KeyGenerator |
getKeyGenerator() |
protected TypeService |
getTypeService() |
void |
setKeyGenerator(KeyGenerator keyGenerator) |
void |
setTypeService(TypeService typeService) |
addToCart, appendToCart, calculateCart, changeCurrentCartUser, changeSessionCartCurrency, clone, createCartFromQuote, getCreateCartFromQuoteStrategy, getNextEntryNumber, getSessionCart, hasCart, hasSessionCart, internalGetSessionCart, postProcessClonedEntries, removeSessionCart, setAddToCartStrategy, setCartFactory, setCreateCartFromQuoteStrategy, setOrderCalculation, setSessionCart, updateQuantities, updateQuantitiesaddAllGlobalDiscountValues, addAllTotalTaxValues, addEntryAtPosition, addGlobalDiscountValue, addNewEntry, addNewEntry, addNewEntry, addTotalTaxValue, getAbstractOrderEntryService, getAbstractOrderEntryTypeService, getCloneAbstractOrderStrategy, getCollidingEntry, getEntriesForNumber, getEntriesForProduct, getEntryForNumber, getEntryTypeCode, getGlobalDiscountValue, getOrderDao, getSaveAbstractOrderStrategy, removeGlobalDiscountValue, removeTotalTaxValue, saveOrder, setAbstractOrderEntryService, setAbstractOrderEntryTypeService, setCloneAbstractOrderStrategy, setOrderDao, setSaveAbstractOrderStrategygetModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerafterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, writeReplaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddToCart, appendToCart, calculateCart, changeCurrentCartUser, changeSessionCartCurrency, createCartFromQuote, getSessionCart, hasCart, hasSessionCart, removeSessionCart, setSessionCart, updateQuantities, updateQuantitiesaddAllGlobalDiscountValues, addAllTotalTaxValues, addGlobalDiscountValue, addNewEntry, addNewEntry, addNewEntry, addTotalTaxValue, clone, getEntriesForNumber, getEntriesForProduct, getEntryForNumber, getGlobalDiscountValue, removeGlobalDiscountValue, removeTotalTaxValue, saveOrderprotected transient KeyGenerator keyGenerator
public CartModel createCartFromAbstractOrder(AbstractOrderModel order)
B2BCartServiceAbstractOrderService.clone(de.hybris.platform.core.model.type.ComposedTypeModel, de.hybris.platform.core.model.type.ComposedTypeModel, de.hybris.platform.core.model.order.AbstractOrderModel, String)createCartFromAbstractOrder in interface B2BCartServiceorder - An original order model to clone into cartprotected TypeService getTypeService()
public void setTypeService(TypeService typeService)
protected KeyGenerator getKeyGenerator()
public void setKeyGenerator(KeyGenerator keyGenerator)
Copyright © 2018 SAP SE. All Rights Reserved.