public class DefaultB2BCartService extends DefaultCartService implements B2BCartService
B2BCartService| Modifier and Type | Field and Description |
|---|---|
protected KeyGenerator |
keyGenerator |
| Constructor and Description |
|---|
DefaultB2BCartService() |
| Modifier and Type | Method and Description |
|---|---|
CartModel |
createCartFromAbstractOrder(AbstractOrderModel order)
Clones an order model into cart model by delegating to
CartService#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) |
protected KeyGenerator keyGenerator
public CartModel createCartFromAbstractOrder(AbstractOrderModel order)
B2BCartServiceCartService#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 © 2017 SAP SE. All Rights Reserved.