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_LASTFields inherited from class de.hybris.platform.commerceservices.order.impl.AbstractCommerceCartStrategy
DEFAULT_FORCE_IN_STOCK_MAX_QUANTITY, forceInStockMaxQuantity -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CartEntryModeladdCartEntry(CommerceCartParameter parameter, long actualAllowedQuantityChange) Creates and adds a new cart entry, setting properOrderEntryTypeand solutionId against itMethods inherited from class de.hybris.platform.travelservices.order.impl.TravelBundleCommerceAddToCartStrategy
addToCart, getCalculationService, getSessionService, setCalculationService, setSessionServiceMethods inherited from class de.hybris.platform.commerceservices.order.impl.DefaultCommerceAddToCartStrategy
addToCart, createAddToCartResp, createEmptyCartEntry, doAddToCart, getEntryMergeStrategy, getStatusCodeAllowedQuantityChange, getStatusCodeForNotAllowedQuantityChange, getUnit, isProductForCode, mergeEntry, setEntryMergeStrategyMethods inherited from class de.hybris.platform.commerceservices.order.impl.AbstractCommerceAddToCartStrategy
afterAddToCart, beforeAddToCart, getAddToCartValidators, getCommerceAddToCartMethodHooks, getConfigurationService, getFallbackAddToCartValidator, setAddToCartValidators, setCommerceAddToCartMethodHooks, setConfigurationService, setFallbackAddToCartValidator, validateAddToCartMethods 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
-
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 properOrderEntryTypeand solutionId against it- Overrides:
addCartEntryin classTravelBundleCommerceAddToCartStrategy- Parameters:
parameter- the commerce cart parameteractualAllowedQuantityChange- the actual allowed quantity change- Returns:
- the cart entry model
- Throws:
de.hybris.platform.commerceservices.order.CommerceCartModificationException
-