Class DefaultCommerceCartService
- All Implemented Interfaces:
CommerceCartService
- Direct Known Subclasses:
DefaultB2BCommerceCartService,DefaultSubscriptionCommerceCartService
CommerceCartService-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddToCart(CommerceCartParameter parameter) Adds to the (existing)CartModelthe (existing)ProductModelin the givenUnitModeland with the givenquantity.addToCart(CartModel cartModel, ProductModel productModel, long quantityToAdd, UnitModel unit, boolean forceNewEntry) Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.addToCart(CartModel cartModel, ProductModel productModel, PointOfServiceModel deliveryPointOfService, long quantity, UnitModel unit, boolean forceNewEntry) Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.protected voidafterCalculate(CartModel cartModel, boolean recalculate) Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.protected voidbeforeCalculate(CartModel cartModel, boolean recalculate) Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.booleancalculateCart(CommerceCartParameter parameters) Calculates the givencartModeland returnstrueif each entry alone and after this theCartModelwas calculated.booleancalculateCart(CartModel cartModel) Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.voidconfigureCartEntry(CommerceCartParameter parameters) Update configuration on a configurable product.estimateTaxes(CommerceCartParameter parameters) Estimate taxes for the cartModel and using the deliveryZipCode as the delivery zip code.estimateTaxes(CartModel cartModel, String deliveryZipCode, String deliveryCountryIso) Estimate taxes for the cartModel and using the deliveryZipCode as the delivery zip code.protected BaseSiteServicegetCartForCodeAndUser(String code, UserModel user) Locate a cart for the specified guid and site and user.getCartForGuidAndSite(String guid, BaseSiteModel site) Locate a cart for the specified guid and sitegetCartForGuidAndSiteAndUser(String guid, BaseSiteModel site, UserModel user) Locate a cart for the specified guid and site and user.getCartsForSiteAndUser(BaseSiteModel site, UserModel user) Locate all carts for the specified site and user.protected CartValidationStrategyprotected CommerceAddToCartStrategyprotected CommerceCartCalculationStrategyprotected CommerceCartDaoprotected CommerceCartEstimateTaxesStrategyprotected CommerceCartHashCalculationStrategyprotected CommerceCartMergingStrategyprotected CommerceCartMetadataUpdateStrategyprotected CommerceCartRestorationStrategyprotected CommerceCartSplitStrategyprotected CommerceRemoveEntriesStrategyprotected CommerceUpdateCartEntryStrategyprotected ModelServiceprotected CommerceCartProductConfigurationStrategyprotected CommerceRemoveEntryGroupStrategyprotected SessionServiceprotected StaleCartRemovalStrategyvoidmergeCarts(CartModel fromCart, CartModel toCart, List<CommerceCartModification> modifications) Merge two carts and add modificationsvoidrecalculateCart(CommerceCartParameter parameters) Recalculates the whole cart and all its entries.voidrecalculateCart(CartModel cartModel) Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.voidremoveAllEntries(CommerceCartParameter parameter) Removes all entries from the givenCartModel.voidremoveAllEntries(CartModel cartModel) Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.removeEntryGroup(RemoveEntryGroupParameter parameter) Remove entry group and all cart entries of the group and it's descendants from the cart.voidremoveStaleCarts(CommerceCartParameter parameters) voidremoveStaleCarts(CartModel currentCart, BaseSiteModel baseSite, UserModel user) Remove the old carts for the user.restoreCart(CommerceCartParameter parameters) Restores the current customer's cart.restoreCart(CartModel cartModel) Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.voidsetBaseSiteService(BaseSiteService baseSiteService) voidsetCartValidationStrategy(CartValidationStrategy cartValidationStrategy) voidsetCommerceAddToCartStrategy(CommerceAddToCartStrategy commerceAddToCartStrategy) voidsetCommerceCartCalculationStrategy(CommerceCartCalculationStrategy commerceCartCalculationStrategy) voidsetCommerceCartDao(CommerceCartDao commerceCartDao) voidsetCommerceCartEstimateTaxesStrategy(CommerceCartEstimateTaxesStrategy commerceCartEstimateTaxesStrategy) voidsetCommerceCartHashCalculationStrategy(CommerceCartHashCalculationStrategy commerceCartHashCalculationStrategy) voidsetCommerceCartMergingStrategy(CommerceCartMergingStrategy commerceCartMergingStrategy) voidsetCommerceCartMetadataUpdateStrategy(CommerceCartMetadataUpdateStrategy commerceCartMetadataUpdateStrategy) voidsetCommerceCartRestorationStrategy(CommerceCartRestorationStrategy commerceCartRestorationStrategy) voidsetCommerceCartSplitStrategy(CommerceCartSplitStrategy commerceCartSplitStrategy) voidsetCommerceRemoveEntriesStrategy(CommerceRemoveEntriesStrategy commerceRemoveEntriesStrategy) voidsetCommerceUpdateCartEntryStrategy(CommerceUpdateCartEntryStrategy commerceUpdateCartEntryStrategy) voidsetModelService(ModelService modelService) voidsetProductConfigurationStrategy(CommerceCartProductConfigurationStrategy productConfigurationStrategy) voidsetRemoveEntryGroupStrategy(CommerceRemoveEntryGroupStrategy removeEntryGroupStrategy) voidsetSessionService(SessionService sessionService) voidsetStaleCartRemovalStrategy(StaleCartRemovalStrategy staleCartRemovalStrategy) longsplit(CommerceCartParameter parameters) Split existing cart entry.longDeprecated, for removal: This API element is subject to removal in a future version.Since 5.2.voidupdateCartMetadata(CommerceCartMetadataParameter parameter) Updates cart metadata, such as: name, description, expiration time.Updates given cart entry model with point of service.updatePointOfServiceForCartEntry(CartModel cartModel, long entryNumber, PointOfServiceModel pointOfServiceModel) Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.updateQuantityForCartEntry(CommerceCartParameter parameters) Update quantity for the cart entry with givenentryNumberwith the givennewQuantity.updateQuantityForCartEntry(CartModel cartModel, long entryNumber, long newQuantity) Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.Update the shipping mode for a given cart entryupdateToShippingModeForCartEntry(CartModel cartModel, long entryNumber) Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.validateCart(CommerceCartParameter parameter) Method for validating every entry in the cartvalidateCart(CartModel cartModel) Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.
-
Field Details
-
ESTIMATED_TAXES
- See Also:
-
-
Constructor Details
-
DefaultCommerceCartService
public DefaultCommerceCartService()
-
-
Method Details
-
addToCart
@Deprecated(since="5.2", forRemoval=true) public CommerceCartModification addToCart(CartModel cartModel, ProductModel productModel, long quantityToAdd, UnitModel unit, boolean forceNewEntry) throws CommerceCartModificationException Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.- Specified by:
addToCartin interfaceCommerceCartService- Parameters:
cartModel- the user's cart in sessionproductModel- theProductModelto addquantityToAdd- the quantity to addunit- the UnitModel of the product @seeProductModel.getUnit()forceNewEntry- the flag for creating a newCartEntryModel- Returns:
- the cart modification
- Throws:
CommerceCartModificationException
-
addToCart
@Deprecated(since="5.2", forRemoval=true) public CommerceCartModification addToCart(CartModel cartModel, ProductModel productModel, PointOfServiceModel deliveryPointOfService, long quantity, UnitModel unit, boolean forceNewEntry) throws CommerceCartModificationException Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.- Specified by:
addToCartin interfaceCommerceCartService- Parameters:
cartModel- the user's cart in sessionproductModel- theProductModelto adddeliveryPointOfService- the delivery storequantity- the quantity to addunit- the UnitModel of the product @seeProductModel.getUnit()forceNewEntry- the flag for creating a newCartEntryModel- Returns:
- the cart modification
- Throws:
CommerceCartModificationException
-
addToCart
public CommerceCartModification addToCart(CommerceCartParameter parameter) throws CommerceCartModificationException Description copied from interface:CommerceCartServiceAdds to the (existing)CartModelthe (existing)ProductModelin the givenUnitModeland with the givenquantity. If in the cart already an entry with the given product and given unit exists the givenquantityis added to the the quantity of this cart entry unlessforceNewEntryis set to true. After this the cart is calculated.- Specified by:
addToCartin interfaceCommerceCartService- Parameters:
parameter- - A parameter object containing all attributes needed for add to cartCommerceCartParameter.cart- The user's cart in sessionCommerceCartParameter.pointOfService- The store object for pick up in store items (only needs to be passed in if you are adding an item to pick upCommerceCartParameter.product- TheProductModelto addCommerceCartParameter.quantity- The quantity to addCommerceCartParameter.unit- The UnitModel of the product @seeProductModel.getUnit()CommerceCartParameter.createNewEntry- The flag for creating a newCartEntryModel- Returns:
- the cart modification data that includes a statusCode and the actual quantity added to the cart
- Throws:
CommerceCartModificationException- if theproductis a base product OR the quantity is less than 1 or no usable unit was found (only when givenunitis alsonull) or any other reason the cart could not be modified.
-
validateCart
public List<CommerceCartModification> validateCart(CommerceCartParameter parameter) throws CommerceCartModificationException Description copied from interface:CommerceCartServiceMethod for validating every entry in the cart- Specified by:
validateCartin interfaceCommerceCartService- Returns:
- a list of cart modifications data that includes a statusCode and the actual quantity that the entry was updated to
- Throws:
CommerceCartModificationException- if the cart could not be modified.
-
validateCart
@Deprecated(since="5.2", forRemoval=true) public List<CommerceCartModification> validateCart(CartModel cartModel) throws CommerceCartModificationException Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.- Specified by:
validateCartin interfaceCommerceCartService- Parameters:
cartModel- the user's cart in session- Returns:
- a
Listof cart modifications - Throws:
CommerceCartModificationException
-
calculateCart
Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.- Specified by:
calculateCartin interfaceCommerceCartService- Parameters:
cartModel- the user's cart in session- Returns:
falseif thecartModelwas already calculated
-
calculateCart
Description copied from interface:CommerceCartServiceCalculates the givencartModeland returnstrueif each entry alone and after this theCartModelwas calculated. Thereby any invalid entry will be automatically removed. The net/gross prices depends on the current session user, seePriceFactory.isNetUser(de.hybris.platform.jalo.user.User)for more information.- Specified by:
calculateCartin interfaceCommerceCartService- Parameters:
parameters- the parameter object holding the existingCartModelthat will be calculated- Returns:
falseif thecartModelwas already calculated.
-
recalculateCart
@Deprecated(since="5.2", forRemoval=true) public void recalculateCart(CartModel cartModel) throws CalculationException Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.- Specified by:
recalculateCartin interfaceCommerceCartService- Parameters:
cartModel- the user's cart in session- Throws:
CalculationException
-
recalculateCart
Description copied from interface:CommerceCartServiceRecalculates the whole cart and all its entries. This includes finding prices, taxes, discounts, payment and delivery costs by calling the currently installed price factory.- Specified by:
recalculateCartin interfaceCommerceCartService- Parameters:
parameters- A parameter object holding the cart modelCartModel(must exist) that will be recalculatedCartModel
-
removeAllEntries
Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.- Specified by:
removeAllEntriesin interfaceCommerceCartService- Parameters:
cartModel- the user's cart in session
-
removeAllEntries
Description copied from interface:CommerceCartServiceRemoves all entries from the givenCartModel.- Specified by:
removeAllEntriesin interfaceCommerceCartService- Parameters:
parameter- A parameter object holding theCartModelthat will be emptied
-
updateQuantityForCartEntry
@Deprecated(since="5.2", forRemoval=true) public CommerceCartModification updateQuantityForCartEntry(CartModel cartModel, long entryNumber, long newQuantity) throws CommerceCartModificationException Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.- Specified by:
updateQuantityForCartEntryin interfaceCommerceCartService- Parameters:
cartModel- the user's cart in sessionentryNumber- the cart entry numbernewQuantity- the new quantity- Returns:
- the cart modification
- Throws:
CommerceCartModificationException
-
updateQuantityForCartEntry
public CommerceCartModification updateQuantityForCartEntry(CommerceCartParameter parameters) throws CommerceCartModificationException Description copied from interface:CommerceCartServiceUpdate quantity for the cart entry with givenentryNumberwith the givennewQuantity. Then cart is calculated.- Specified by:
updateQuantityForCartEntryin interfaceCommerceCartService- Parameters:
parameters- - A parameter object containing all attributes needed for add to cartCommerceCartParameter.cart- The user's cart in sessionCommerceCartParameter.pointOfService- The store object for pick up in store items (only needs to be passed in if you are adding an item to pick upCommerceCartParameter.product- TheProductModelto addCommerceCartParameter.quantity- The quantity to addCommerceCartParameter.unit- The UnitModel of the product @seeProductModel.getUnit()CommerceCartParameter.createNewEntry- The flag for creating a newCartEntryModel- Returns:
- the cart modification data that includes a statusCode and the actual quantity that the entry was updated to
- Throws:
CommerceCartModificationException- if theproductis a base product OR the quantity is less than 1 or no usable unit was found (only when givenunitis alsonull) or any other reason the cart could not be modified.
-
updatePointOfServiceForCartEntry
@Deprecated(since="5.2", forRemoval=true) public CommerceCartModification updatePointOfServiceForCartEntry(CartModel cartModel, long entryNumber, PointOfServiceModel pointOfServiceModel) throws CommerceCartModificationException Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.- Specified by:
updatePointOfServiceForCartEntryin interfaceCommerceCartService- Parameters:
cartModel- the user's cart in sessionentryNumber- the cart entry numberpointOfServiceModel- the point of service- Returns:
- the cart modification
- Throws:
CommerceCartModificationException
-
updatePointOfServiceForCartEntry
public CommerceCartModification updatePointOfServiceForCartEntry(CommerceCartParameter parameters) throws CommerceCartModificationException Description copied from interface:CommerceCartServiceUpdates given cart entry model with point of service.- Specified by:
updatePointOfServiceForCartEntryin interfaceCommerceCartService- Parameters:
parameters- - A bean holding any number of additional parameters a client may want to pass to the method for extension purposes, the attributes can be added to the bean via beans.xml in your extensions- Returns:
CommerceCartModificationobject- Throws:
CommerceCartModificationException
-
updateToShippingModeForCartEntry
@Deprecated(since="5.2", forRemoval=true) public CommerceCartModification updateToShippingModeForCartEntry(CartModel cartModel, long entryNumber) throws CommerceCartModificationException Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.- Specified by:
updateToShippingModeForCartEntryin interfaceCommerceCartService- Parameters:
cartModel- the user's cart in sessionentryNumber- the cart entry number- Returns:
- the cart modification
- Throws:
CommerceCartModificationException
-
updateToShippingModeForCartEntry
public CommerceCartModification updateToShippingModeForCartEntry(CommerceCartParameter parameters) throws CommerceCartModificationException Description copied from interface:CommerceCartServiceUpdate the shipping mode for a given cart entry- Specified by:
updateToShippingModeForCartEntryin interfaceCommerceCartService- Parameters:
parameters- - A bean holding any number of additional parameters a client may want to pass to the method for extension purposes, the attributes can be added to the bean via beans.xml in your extensions- Returns:
CommerceCartModificationobject- Throws:
CommerceCartModificationException
-
split
@Deprecated(since="5.2", forRemoval=true) public long split(CartModel cartModel, long entryNumber) throws CommerceCartModificationException Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.- Specified by:
splitin interfaceCommerceCartService- Parameters:
cartModel- the user's cart in sessionentryNumber- the cart entry number- Returns:
- the number of the newly created entry
- Throws:
CommerceCartModificationException
-
split
Description copied from interface:CommerceCartServiceSplit existing cart entry. The entry must have a quantity greater than 1. One of the quantity from the original entry is moved to the new cart entry.- Specified by:
splitin interfaceCommerceCartService- Parameters:
parameters- - A bean holding any number of additional parameters a client may want to pass to the method for extension purposes, the attributes can be added to the bean via beans.xml in your extensions- Returns:
- The number of the newly created entry.
- Throws:
CommerceCartModificationException
-
restoreCart
@Deprecated(since="5.2", forRemoval=true) public CommerceCartRestoration restoreCart(CartModel cartModel) throws CommerceCartRestorationException Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.- Specified by:
restoreCartin interfaceCommerceCartService- Parameters:
cartModel- the old cart to restore- Returns:
- details of any items that could not be restored in part or in full
- Throws:
CommerceCartRestorationException
-
restoreCart
public CommerceCartRestoration restoreCart(CommerceCartParameter parameters) throws CommerceCartRestorationException Description copied from interface:CommerceCartServiceRestores the current customer's cart.- Specified by:
restoreCartin interfaceCommerceCartService- Parameters:
parameters- - A bean holding any number of additional parameters a client may want to pass to the method for extension purposes, the attributes can be added to the bean via beans.xml in your extensions- Returns:
- details of any items that could not be restored in part or in full.
- Throws:
CommerceCartRestorationException- if any problems occur in restoring the cart
-
removeStaleCarts
Description copied from interface:CommerceCartServiceRemove the old carts for the user.- Specified by:
removeStaleCartsin interfaceCommerceCartService- Parameters:
currentCart- the current user's cartbaseSite- the current base siteuser- the current user
-
removeStaleCarts
- Specified by:
removeStaleCartsin interfaceCommerceCartService- Parameters:
parameters- a parameter object holding the following values - cart Users Cart - baseSite Current base site - user Current user
-
configureCartEntry
public void configureCartEntry(CommerceCartParameter parameters) throws CommerceCartModificationException Description copied from interface:CommerceCartServiceUpdate configuration on a configurable product.- Specified by:
configureCartEntryin interfaceCommerceCartService- Parameters:
parameters-cartentryNumberproductproductConfiguratorproductConfiguration
- Throws:
CommerceCartModificationException- if product is not configurable orentryis invalid
-
mergeCarts
public void mergeCarts(CartModel fromCart, CartModel toCart, List<CommerceCartModification> modifications) throws CommerceCartMergingException Description copied from interface:CommerceCartServiceMerge two carts and add modifications- Specified by:
mergeCartsin interfaceCommerceCartService- Parameters:
fromCart- the cart to mergetoCart- the target cartmodifications- the list of modifications- Throws:
CommerceCartMergingException
-
getCartForGuidAndSiteAndUser
Description copied from interface:CommerceCartServiceLocate a cart for the specified guid and site and user. If guid is null, the most recently modified user cart is returned.- Specified by:
getCartForGuidAndSiteAndUserin interfaceCommerceCartService- Parameters:
guid- a unique identifiersite- the current BaseSite - may not be nulluser- the current user - may not be null- Returns:
- the specified cart
-
getCartForGuidAndSite
Description copied from interface:CommerceCartServiceLocate a cart for the specified guid and site- Specified by:
getCartForGuidAndSitein interfaceCommerceCartService- Returns:
- the specified cart
-
getCartForCodeAndUser
Description copied from interface:CommerceCartServiceLocate a cart for the specified guid and site and user.- Specified by:
getCartForCodeAndUserin interfaceCommerceCartService- Returns:
- the specified cart
-
getCartsForSiteAndUser
Description copied from interface:CommerceCartServiceLocate all carts for the specified site and user.- Specified by:
getCartsForSiteAndUserin interfaceCommerceCartService- Returns:
- list of specified carts
-
updateCartMetadata
Description copied from interface:CommerceCartServiceUpdates cart metadata, such as: name, description, expiration time.- Specified by:
updateCartMetadatain interfaceCommerceCartService- Parameters:
parameter- a bean holding any number of additional attributes a client may want to pass to the method for extension purposes, the attributes can be added to the bean via beans.xml in your extensions
-
estimateTaxes
public BigDecimal estimateTaxes(CartModel cartModel, String deliveryZipCode, String deliveryCountryIso) Description copied from interface:CommerceCartServiceEstimate taxes for the cartModel and using the deliveryZipCode as the delivery zip code.- Specified by:
estimateTaxesin interfaceCommerceCartService- Parameters:
cartModel- cart to estimate taxes fordeliveryZipCode- zip code to use as the delivery addressdeliveryCountryIso- country isocode used as the delivery address- Returns:
- total of the estimated taxes
-
estimateTaxes
Description copied from interface:CommerceCartServiceEstimate taxes for the cartModel and using the deliveryZipCode as the delivery zip code.- Specified by:
estimateTaxesin interfaceCommerceCartService- Parameters:
parameters- A parameter object holding the following properties - cartModel cart to estimate taxes for - deliveryZipCode zip code to use as the delivery address - deliveryCountryIso country iso code used as the delivery address- Returns:
- A result object with the total of the estimated taxes
-
removeEntryGroup
public CommerceCartModification removeEntryGroup(@Nonnull RemoveEntryGroupParameter parameter) throws CommerceCartModificationException Description copied from interface:CommerceCartServiceRemove entry group and all cart entries of the group and it's descendants from the cart.- Specified by:
removeEntryGroupin interfaceCommerceCartService- Parameters:
parameter- a parameter object containing all attributes needed for remove group from the cartcartuser's cartentryGroupNumbernumber of entry group to be removedenableHooksshould the method hooks be executed
- Returns:
CommerceCartModificationobject- Throws:
CommerceCartModificationException- if related cart entry wasn't removed.
-
beforeCalculate
@Deprecated(since="5.2", forRemoval=true) protected void beforeCalculate(CartModel cartModel, boolean recalculate) Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2. UseCommerceCartCalculationStrategybefore calculation method hooks -
afterCalculate
@Deprecated(since="5.2", forRemoval=true) protected void afterCalculate(CartModel cartModel, boolean recalculate) Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2. UseCommerceCartCalculationStrategybefore calculation method hooks -
getModelService
-
setModelService
-
getBaseSiteService
-
setBaseSiteService
-
getCommerceCartDao
-
setCommerceCartDao
-
getCartValidationStrategy
-
setCartValidationStrategy
-
getCommerceCartCalculationStrategy
-
setCommerceCartCalculationStrategy
public void setCommerceCartCalculationStrategy(CommerceCartCalculationStrategy commerceCartCalculationStrategy) -
getProductConfigurationStrategy
-
setProductConfigurationStrategy
public void setProductConfigurationStrategy(CommerceCartProductConfigurationStrategy productConfigurationStrategy) -
getSessionService
-
setSessionService
-
getStaleCartRemovalStrategy
-
setStaleCartRemovalStrategy
-
getCommerceAddToCartStrategy
-
setCommerceAddToCartStrategy
-
getCommerceUpdateCartEntryStrategy
-
setCommerceUpdateCartEntryStrategy
public void setCommerceUpdateCartEntryStrategy(CommerceUpdateCartEntryStrategy commerceUpdateCartEntryStrategy) -
getCommerceCartHashCalculationStrategy
-
setCommerceCartHashCalculationStrategy
public void setCommerceCartHashCalculationStrategy(CommerceCartHashCalculationStrategy commerceCartHashCalculationStrategy) -
getCommerceCartEstimateTaxesStrategy
-
setCommerceCartEstimateTaxesStrategy
public void setCommerceCartEstimateTaxesStrategy(CommerceCartEstimateTaxesStrategy commerceCartEstimateTaxesStrategy) -
getCommerceCartRestorationStrategy
-
setCommerceCartRestorationStrategy
public void setCommerceCartRestorationStrategy(CommerceCartRestorationStrategy commerceCartRestorationStrategy) -
getCommerceCartMergingStrategy
-
setCommerceCartMergingStrategy
-
getCommerceCartSplitStrategy
-
setCommerceCartSplitStrategy
-
getCommerceRemoveEntriesStrategy
-
setCommerceRemoveEntriesStrategy
public void setCommerceRemoveEntriesStrategy(CommerceRemoveEntriesStrategy commerceRemoveEntriesStrategy) -
getCommerceCartMetadataUpdateStrategy
-
setCommerceCartMetadataUpdateStrategy
public void setCommerceCartMetadataUpdateStrategy(CommerceCartMetadataUpdateStrategy commerceCartMetadataUpdateStrategy) -
getRemoveEntryGroupStrategy
-
setRemoveEntryGroupStrategy
-