Class CartValidationWithoutCartAlteringStrategy

java.lang.Object
de.hybris.platform.commerceservices.strategies.impl.CartValidationWithoutCartAlteringStrategy
All Implemented Interfaces:
CartValidationStrategy

@Deprecated(since="2011", forRemoval=true) public class CartValidationWithoutCartAlteringStrategy extends Object implements CartValidationStrategy
Deprecated, for removal: This API element is subject to removal in a future version.
since 2011. Please use DefaultCartValidationStrategy instead
In contrast to this simplified implementation DefaultCartValidationStrategy is aware of CartValidationHooks, so that the validation result will also cover logic placed in hook implementations.
  • Constructor Details

    • CartValidationWithoutCartAlteringStrategy

      public CartValidationWithoutCartAlteringStrategy()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • validateCart

      @Deprecated(since="5.2", forRemoval=true) public List<CommerceCartModification> validateCart(CartModel cartModel)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since 5.2.
      Specified by:
      validateCart in interface CartValidationStrategy
    • validateCart

      public List<CommerceCartModification> validateCart(CommerceCartParameter parameter)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      validateCart in interface CartValidationStrategy
    • validateCartEntry

      protected CommerceCartModification validateCartEntry(CartEntryModel cartEntryModel)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getStockLevel

      protected Long getStockLevel(CartEntryModel cartEntryModel)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hasPointOfService

      protected boolean hasPointOfService(CartEntryModel cartEntryModel)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getProductService

      public ProductService getProductService()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setProductService

      public void setProductService(ProductService productService)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getCommerceStockService

      public CommerceStockService getCommerceStockService()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setCommerceStockService

      public void setCommerceStockService(CommerceStockService commerceStockService)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getBaseStoreService

      public BaseStoreService getBaseStoreService()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setBaseStoreService

      public void setBaseStoreService(BaseStoreService baseStoreService)
      Deprecated, for removal: This API element is subject to removal in a future version.