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.-
Field Summary
Fields inherited from class de.hybris.platform.prosservices.order.strategies.impl.DefaultPROSAbstractRemoveProductStrategy
DEFAULT_COMMERCE_ANCILLARY_REFUND_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidremoveOrderEntry(CartModel cartModel, AbstractOrderEntryModel orderEntryModel) This method removes a product of default type and a fare product.Methods inherited from class de.hybris.platform.prosservices.order.strategies.impl.DefaultPROSAbstractRemoveProductStrategy
getCommerceAncillaryBaggageRefundType, getModelService, setModelService, setOrderEntryToInactive
-
Constructor Details
-
DefaultPROSRemoveDefaultProductStrategy
public DefaultPROSRemoveDefaultProductStrategy()
-
-
Method Details
-
removeOrderEntry
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:
removeOrderEntryin interfacePROSRemoveOrderEntryStrategy- Parameters:
cartModel- the cartModelorderEntryModel- the order Entry to remove
-