Class ShoppingTravelBundleCommerceAddToCartStrategy

java.lang.Object
de.hybris.platform.commerceservices.order.impl.AbstractCommerceCartStrategy
de.hybris.platform.commerceservices.order.impl.AbstractCommerceAddToCartStrategy
de.hybris.platform.commerceservices.order.impl.DefaultCommerceAddToCartStrategy
de.hybris.platform.commerceservices.order.impl.BundleCommerceAddToCartStrategy
de.hybris.platform.travelservices.order.impl.TravelBundleCommerceAddToCartStrategy
de.hybris.platform.shoppingservices.order.impl.ShoppingTravelBundleCommerceAddToCartStrategy
All Implemented Interfaces:
de.hybris.platform.commerceservices.order.CommerceAddToCartStrategy

public class ShoppingTravelBundleCommerceAddToCartStrategy extends TravelBundleCommerceAddToCartStrategy
  • Field Summary

    Fields inherited from class de.hybris.platform.commerceservices.order.impl.AbstractCommerceAddToCartStrategy

    APPEND_AS_LAST

    Fields inherited from class de.hybris.platform.commerceservices.order.impl.AbstractCommerceCartStrategy

    DEFAULT_FORCE_IN_STOCK_MAX_QUANTITY, forceInStockMaxQuantity
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected CartEntryModel
    addCartEntry(CommerceCartParameter parameter, long actualAllowedQuantityChange)
    Creates and adds a new cart entry, setting proper OrderEntryType and solutionId against it

    Methods inherited from class de.hybris.platform.travelservices.order.impl.TravelBundleCommerceAddToCartStrategy

    addToCart, getCalculationService, getSessionService, setCalculationService, setSessionService

    Methods inherited from class de.hybris.platform.commerceservices.order.impl.DefaultCommerceAddToCartStrategy

    addToCart, createAddToCartResp, createEmptyCartEntry, doAddToCart, getEntryMergeStrategy, getStatusCodeAllowedQuantityChange, getStatusCodeForNotAllowedQuantityChange, getUnit, isProductForCode, mergeEntry, setEntryMergeStrategy

    Methods inherited from class de.hybris.platform.commerceservices.order.impl.AbstractCommerceAddToCartStrategy

    afterAddToCart, beforeAddToCart, getAddToCartValidators, getCommerceAddToCartMethodHooks, getConfigurationService, getFallbackAddToCartValidator, setAddToCartValidators, setCommerceAddToCartMethodHooks, setConfigurationService, setFallbackAddToCartValidator, validateAddToCart

    Methods inherited from class de.hybris.platform.commerceservices.order.impl.AbstractCommerceCartStrategy

    checkCartLevel, getAllowedCartAdjustmentForProduct, getAvailableStockLevel, getBaseStoreService, getCartEntryDao, getCartService, getCommerceCartCalculationStrategy, getCommerceStockService, getEntryForNumber, getEntryForProductAndPointOfService, getEntryOrderChecker, getForceInStockMaxQuantity, getModelService, getProductService, isMaxOrderQuantitySet, isOrderEntryUpdatable, isStockLevelSufficient, normalizeEntryNumbers, setBaseStoreService, setCartEntryDao, setCartService, setCommerceCartCalculationStrategy, setCommerceStockService, setEntryOrderChecker, setForceInStockMaxQuantity, setModelService, setProductService

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ShoppingTravelBundleCommerceAddToCartStrategy

      public ShoppingTravelBundleCommerceAddToCartStrategy()
  • Method Details

    • addCartEntry

      protected CartEntryModel addCartEntry(CommerceCartParameter parameter, long actualAllowedQuantityChange) throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
      Creates and adds a new cart entry, setting proper OrderEntryType and solutionId against it
      Overrides:
      addCartEntry in class TravelBundleCommerceAddToCartStrategy
      Parameters:
      parameter - the commerce cart parameter
      actualAllowedQuantityChange - the actual allowed quantity change
      Returns:
      the cart entry model
      Throws:
      de.hybris.platform.commerceservices.order.CommerceCartModificationException