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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves a cart for the specified cart code.
    Retrieves all carts for the current site.
     

    Methods 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, validateCart

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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

      public CartModel getCartForCode(String code)
      Description copied from interface: TmaCommerceCartService
      Retrieves a cart for the specified cart code.
      Specified by:
      getCartForCode in interface TmaCommerceCartService
      Returns:
      the specified cart
    • getCartsForCurrentSite

      public List<CartModel> getCartsForCurrentSite(Integer offset, Integer limit)
      Description copied from interface: TmaCommerceCartService
      Retrieves all carts for the current site.
      Specified by:
      getCartsForCurrentSite in interface TmaCommerceCartService
      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

      protected TmaCommerceCartDao getCommerceCartDao()
      Overrides:
      getCommerceCartDao in class de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartService