Class DefaultPROSRemoveDefaultProductStrategy

java.lang.Object
de.hybris.platform.prosservices.order.strategies.impl.DefaultPROSAbstractRemoveProductStrategy
de.hybris.platform.prosservices.order.strategies.impl.DefaultPROSRemoveDefaultProductStrategy
All Implemented Interfaces:
PROSRemoveOrderEntryStrategy

public class DefaultPROSRemoveDefaultProductStrategy extends DefaultPROSAbstractRemoveProductStrategy implements PROSRemoveOrderEntryStrategy
The Pros default implementation of PROSRemoveOrderEntryStrategy interface.
  • Constructor Details

    • DefaultPROSRemoveDefaultProductStrategy

      public DefaultPROSRemoveDefaultProductStrategy()
  • Method Details

    • removeOrderEntry

      public void removeOrderEntry(CartModel cartModel, AbstractOrderEntryModel orderEntryModel)
      This method removes a product of default type and a fare product. As default behaviour, the order entry is updated by setting the quantity to 0, the AmendStatus to CHANGED and active to FALSE.
      Specified by:
      removeOrderEntry in interface PROSRemoveOrderEntryStrategy
      Parameters:
      cartModel - the cartModel
      orderEntryModel - the order Entry to remove