public class CartValidationWithoutCartAlteringStrategy extends java.lang.Object implements CartValidationStrategy
| Constructor and Description |
|---|
CartValidationWithoutCartAlteringStrategy() |
| Modifier and Type | Method and Description |
|---|---|
BaseStoreService |
getBaseStoreService() |
CommerceStockService |
getCommerceStockService() |
ProductService |
getProductService() |
protected java.lang.Long |
getStockLevel(CartEntryModel cartEntryModel) |
protected boolean |
hasPointOfService(CartEntryModel cartEntryModel) |
void |
setBaseStoreService(BaseStoreService baseStoreService) |
void |
setCommerceStockService(CommerceStockService commerceStockService) |
void |
setProductService(ProductService productService) |
java.util.List<CommerceCartModification> |
validateCart(CartModel cartModel)
Deprecated.
Since 5.2.
|
java.util.List<CommerceCartModification> |
validateCart(CommerceCartParameter parameter) |
protected CommerceCartModification |
validateCartEntry(CartEntryModel cartEntryModel) |
public CartValidationWithoutCartAlteringStrategy()
@Deprecated public java.util.List<CommerceCartModification> validateCart(CartModel cartModel)
validateCart in interface CartValidationStrategypublic java.util.List<CommerceCartModification> validateCart(CommerceCartParameter parameter)
validateCart in interface CartValidationStrategyprotected CommerceCartModification validateCartEntry(CartEntryModel cartEntryModel)
protected java.lang.Long getStockLevel(CartEntryModel cartEntryModel)
protected boolean hasPointOfService(CartEntryModel cartEntryModel)
public ProductService getProductService()
public void setProductService(ProductService productService)
public CommerceStockService getCommerceStockService()
public void setCommerceStockService(CommerceStockService commerceStockService)
public BaseStoreService getBaseStoreService()
public void setBaseStoreService(BaseStoreService baseStoreService)
Copyright © 2018 SAP SE. All Rights Reserved.