Class DefaultTravelCommerceCartRestorationStrategy

java.lang.Object
de.hybris.platform.commerceservices.order.impl.AbstractCommerceCartStrategy
de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartRestorationStrategy
de.hybris.platform.travelservices.order.impl.DefaultTravelCommerceCartRestorationStrategy
All Implemented Interfaces:
de.hybris.platform.commerceservices.order.CommerceCartRestorationStrategy

public class DefaultTravelCommerceCartRestorationStrategy extends de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartRestorationStrategy
Overriding DefaultTravelCommerceCartRestorationStrategy so that while restoring an amendment cart, payment transactions won't be cleared
  • Field Summary

    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
     

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

    clearPaymentTransactionsOnCart, getBaseSiteService, getCartFactory, getCartValidityPeriod, getCommerceAddToCartStrategy, getCommerceCommonI18NService, getGuidKeyGenerator, getTimeService, isCartInValidityPeriod, rebuildSessionCart, recalculateCartIfNotIgnored, rewriteEntriesFromCartToCart, setBaseSiteService, setCartFactory, setCartValidityPeriod, setCommerceAddToCartStrategy, setCommerceCommonI18NService, setGuidKeyGenerator, setTimeService

    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

    • DefaultTravelCommerceCartRestorationStrategy

      public DefaultTravelCommerceCartRestorationStrategy()
  • Method Details

    • restoreCart

      public CommerceCartRestoration restoreCart(CommerceCartParameter parameter) throws de.hybris.platform.commerceservices.order.CommerceCartRestorationException
      Specified by:
      restoreCart in interface de.hybris.platform.commerceservices.order.CommerceCartRestorationStrategy
      Overrides:
      restoreCart in class de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartRestorationStrategy
      Throws:
      de.hybris.platform.commerceservices.order.CommerceCartRestorationException