Interface TmaCommerceCartService

All Superinterfaces:
de.hybris.platform.commerceservices.order.CommerceCartService
All Known Implementing Classes:
DefaultTmaCommerceCartService

public interface TmaCommerceCartService extends de.hybris.platform.commerceservices.order.CommerceCartService
Service handling business logic acting upon cart retrievals.
Since:
2205
  • 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 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
  • Method Details

    • getCartForCode

      CartModel getCartForCode(String code)
      Retrieves a cart for the specified cart code.
      Parameters:
      code -
      Returns:
      the specified cart
    • getCartsForCurrentSite

      List<CartModel> getCartsForCurrentSite(Integer offset, Integer limit)
      Retrieves all carts for the current site.
      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