Class CommerceUpdateCartEntryStrictStrategy
java.lang.Object
de.hybris.platform.commerceservices.order.impl.AbstractCommerceCartStrategy
de.hybris.platform.commerceservices.order.impl.DefaultCommerceUpdateCartEntryStrategy
de.hybris.platform.commerceservices.order.impl.CommerceUpdateCartEntryStrictStrategy
- All Implemented Interfaces:
CommerceUpdateCartEntryStrategy
A strict strategy to update a cart entry.
-
Field Summary
Fields inherited from class de.hybris.platform.commerceservices.order.impl.AbstractCommerceCartStrategy
DEFAULT_FORCE_IN_STOCK_MAX_QUANTITY, forceInStockMaxQuantity -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionUpdate point of service for cart entry.updateQuantityForCartEntry(CommerceCartParameter parameters) Update quantity for cart entry.Update to shipping mode for cart entry.Methods inherited from class de.hybris.platform.commerceservices.order.impl.DefaultCommerceUpdateCartEntryStrategy
afterUpdateCartEntry, beforeUpdateCartEntry, getCommerceUpdateCartEntryHooks, getConfigurationService, getEntryMergeStrategy, mergeEntries, modifyEntry, setCommerceUpdateCartEntryHooks, setConfigurationService, setEntryMergeStrategy, validateEntryBeforeModification, validateEntryBeforeSetShippingModeMethods inherited from class de.hybris.platform.commerceservices.order.impl.AbstractCommerceCartStrategy
checkCartLevel, getAllowedCartAdjustmentForProduct, 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
-
CommerceUpdateCartEntryStrictStrategy
public CommerceUpdateCartEntryStrictStrategy()
-
-
Method Details
-
updateQuantityForCartEntry
public CommerceCartModification updateQuantityForCartEntry(CommerceCartParameter parameters) throws CommerceCartModificationException Description copied from interface:CommerceUpdateCartEntryStrategyUpdate quantity for cart entry.- Specified by:
updateQuantityForCartEntryin interfaceCommerceUpdateCartEntryStrategy- Overrides:
updateQuantityForCartEntryin classDefaultCommerceUpdateCartEntryStrategy- Parameters:
parameters- the parameters- Returns:
- the commerce cart modification
- Throws:
CommerceCartModificationException- the commerce cart modification exception
-
updatePointOfServiceForCartEntry
public CommerceCartModification updatePointOfServiceForCartEntry(CommerceCartParameter parameters) throws CommerceCartModificationException Description copied from interface:CommerceUpdateCartEntryStrategyUpdate point of service for cart entry.- Specified by:
updatePointOfServiceForCartEntryin interfaceCommerceUpdateCartEntryStrategy- Overrides:
updatePointOfServiceForCartEntryin classDefaultCommerceUpdateCartEntryStrategy- Parameters:
parameters- the parameters- Returns:
- the commerce cart modification
- Throws:
CommerceCartModificationException- the commerce cart modification exception
-
updateToShippingModeForCartEntry
public CommerceCartModification updateToShippingModeForCartEntry(CommerceCartParameter parameters) throws CommerceCartModificationException Description copied from interface:CommerceUpdateCartEntryStrategyUpdate to shipping mode for cart entry.- Specified by:
updateToShippingModeForCartEntryin interfaceCommerceUpdateCartEntryStrategy- Overrides:
updateToShippingModeForCartEntryin classDefaultCommerceUpdateCartEntryStrategy- Parameters:
parameters- the parameters- Returns:
- the commerce cart modification
- Throws:
CommerceCartModificationException- the commerce cart modification exception
-