Class DefaultTmaCommerceCartService
java.lang.Object
de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartService
de.hybris.platform.b2ctelcoservices.order.impl.DefaultTmaCommerceCartService
- All Implemented Interfaces:
TmaCommerceCartService,de.hybris.platform.commerceservices.order.CommerceCartService
public class DefaultTmaCommerceCartService
extends de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartService
implements TmaCommerceCartService
Default implementation for
TmaCommerceCartService.- Since:
- 2205
-
Field Summary
Fields inherited from class de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartService
ESTIMATED_TAXES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCartForCode(String code) Retrieves a cart for the specified cart code.getCartsForCurrentSite(Integer offset, Integer limit) Retrieves all carts for the current site.protected TmaCommerceCartDaoMethods inherited from class de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartService
addToCart, addToCart, addToCart, afterCalculate, beforeCalculate, calculateCart, calculateCart, configureCartEntry, estimateTaxes, estimateTaxes, getBaseSiteService, getCartForCodeAndUser, getCartForGuidAndSite, getCartForGuidAndSiteAndUser, getCartsForSiteAndUser, getCartValidationStrategy, getCommerceAddToCartStrategy, getCommerceCartCalculationStrategy, getCommerceCartEstimateTaxesStrategy, getCommerceCartHashCalculationStrategy, getCommerceCartMergingStrategy, getCommerceCartMetadataUpdateStrategy, getCommerceCartRestorationStrategy, getCommerceCartSplitStrategy, getCommerceRemoveEntriesStrategy, getCommerceUpdateCartEntryStrategy, getModelService, getProductConfigurationStrategy, getRemoveEntryGroupStrategy, getSessionService, getStaleCartRemovalStrategy, mergeCarts, recalculateCart, recalculateCart, removeAllEntries, removeAllEntries, removeEntryGroup, removeStaleCarts, removeStaleCarts, restoreCart, restoreCart, setBaseSiteService, setCartValidationStrategy, setCommerceAddToCartStrategy, setCommerceCartCalculationStrategy, setCommerceCartDao, setCommerceCartEstimateTaxesStrategy, setCommerceCartHashCalculationStrategy, setCommerceCartMergingStrategy, setCommerceCartMetadataUpdateStrategy, setCommerceCartRestorationStrategy, setCommerceCartSplitStrategy, setCommerceRemoveEntriesStrategy, setCommerceUpdateCartEntryStrategy, setModelService, setProductConfigurationStrategy, setRemoveEntryGroupStrategy, setSessionService, setStaleCartRemovalStrategy, split, split, updateCartMetadata, updatePointOfServiceForCartEntry, updatePointOfServiceForCartEntry, updateQuantityForCartEntry, updateQuantityForCartEntry, updateToShippingModeForCartEntry, updateToShippingModeForCartEntry, validateCart, validateCartMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.commerceservices.order.CommerceCartService
addToCart, addToCart, addToCart, calculateCart, calculateCart, configureCartEntry, estimateTaxes, estimateTaxes, getCartForCodeAndUser, getCartForGuidAndSite, getCartForGuidAndSiteAndUser, getCartsForSiteAndUser, mergeCarts, recalculateCart, recalculateCart, removeAllEntries, removeAllEntries, removeEntryGroup, removeStaleCarts, removeStaleCarts, restoreCart, restoreCart, split, split, updateCartMetadata, updatePointOfServiceForCartEntry, updatePointOfServiceForCartEntry, updateQuantityForCartEntry, updateQuantityForCartEntry, updateToShippingModeForCartEntry, updateToShippingModeForCartEntry, validateCart, validateCart
-
Constructor Details
-
DefaultTmaCommerceCartService
public DefaultTmaCommerceCartService()
-
-
Method Details
-
getCartForCode
Description copied from interface:TmaCommerceCartServiceRetrieves a cart for the specified cart code.- Specified by:
getCartForCodein interfaceTmaCommerceCartService- Returns:
- the specified cart
-
getCartsForCurrentSite
Description copied from interface:TmaCommerceCartServiceRetrieves all carts for the current site.- Specified by:
getCartsForCurrentSitein interfaceTmaCommerceCartService- Parameters:
offset- the offset represents the position in list from where the result list will start.limit- the limit represents the number of entries that will be selected for the result list.- Returns:
- list of specified carts
-
getCommerceCartDao
- Overrides:
getCommerceCartDaoin classde.hybris.platform.commerceservices.order.impl.DefaultCommerceCartService
-