Class DefaultSapOaaCommerceAddToCartStrategy
java.lang.Object
de.hybris.platform.commerceservices.order.impl.AbstractCommerceCartStrategy
de.hybris.platform.commerceservices.order.impl.AbstractCommerceAddToCartStrategy
de.hybris.platform.commerceservices.order.impl.DefaultCommerceAddToCartStrategy
com.sap.retail.oaa.commerce.services.order.impl.DefaultSapOaaCommerceAddToCartStrategy
- All Implemented Interfaces:
de.hybris.platform.commerceservices.order.CommerceAddToCartStrategy
public class DefaultSapOaaCommerceAddToCartStrategy
extends de.hybris.platform.commerceservices.order.impl.DefaultCommerceAddToCartStrategy
Add to Cart Strategy for Omni Channel Availability. Check Allowed quantity on add to cart
-
Field Summary
Fields inherited from class de.hybris.platform.commerceservices.order.impl.AbstractCommerceAddToCartStrategy
APPEND_AS_LASTFields inherited from class de.hybris.platform.commerceservices.order.impl.AbstractCommerceCartStrategy
DEFAULT_FORCE_IN_STOCK_MAX_QUANTITY, forceInStockMaxQuantity -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected longgetAllowedCartAdjustmentForProduct(CartModel cartModel, ProductModel productModel, long quantityToAdd, PointOfServiceModel pointOfServiceModel) protected SapOaaCartAdjustmentStrategyvoidsetCommonUtils(CommonUtils commonUtils) voidsetOaaCartAdjustmentStrategy(SapOaaCartAdjustmentStrategy oaaCartAdjustmentStrategy) Methods inherited from class de.hybris.platform.commerceservices.order.impl.DefaultCommerceAddToCartStrategy
addCartEntry, addToCart, addToCart, createAddToCartResp, createEmptyCartEntry, doAddToCart, getEntryMergeStrategy, getStatusCodeAllowedQuantityChange, getStatusCodeForNotAllowedQuantityChange, getUnit, isProductForCode, mergeEntry, setEntryMergeStrategyMethods inherited from class de.hybris.platform.commerceservices.order.impl.AbstractCommerceAddToCartStrategy
afterAddToCart, beforeAddToCart, getAddToCartValidators, getCommerceAddToCartMethodHooks, getConfigurationService, getFallbackAddToCartValidator, setAddToCartValidators, setCommerceAddToCartMethodHooks, setConfigurationService, setFallbackAddToCartValidator, validateAddToCartMethods inherited from class de.hybris.platform.commerceservices.order.impl.AbstractCommerceCartStrategy
checkCartLevel, getAvailableStockLevel, getBaseStoreService, getCartEntryDao, getCartService, getCommerceCartCalculationStrategy, getCommerceStockService, getEntryForNumber, getEntryForProductAndPointOfService, getEntryOrderChecker, getForceInStockMaxQuantity, getModelService, getProductService, isMaxOrderQuantitySet, isOrderEntryUpdatable, isStockLevelSufficient, normalizeEntryNumbers, setBaseStoreService, setCartEntryDao, setCartService, setCommerceCartCalculationStrategy, setCommerceStockService, setEntryOrderChecker, setForceInStockMaxQuantity, setModelService, setProductService
-
Constructor Details
-
DefaultSapOaaCommerceAddToCartStrategy
public DefaultSapOaaCommerceAddToCartStrategy()
-
-
Method Details
-
getAllowedCartAdjustmentForProduct
protected long getAllowedCartAdjustmentForProduct(CartModel cartModel, ProductModel productModel, long quantityToAdd, PointOfServiceModel pointOfServiceModel) - Overrides:
getAllowedCartAdjustmentForProductin classde.hybris.platform.commerceservices.order.impl.AbstractCommerceCartStrategy
-
getOaaCartAdjustmentStrategy
- Returns:
- the oaaCartAdjustmentStrategy
-
setOaaCartAdjustmentStrategy
- Parameters:
oaaCartAdjustmentStrategy- the oaaCartAdjustmentStrategy to set
-
getCommonUtils
- Returns:
- the commonUtils
-
setCommonUtils
- Parameters:
commonUtils- the commonUtils to set
-