Class DefaultDamagedStockDeclineStrategy
java.lang.Object
de.hybris.platform.warehousing.allocation.decline.action.impl.DefaultDamagedStockDeclineStrategy
- All Implemented Interfaces:
DeclineActionStrategy
Strategy to apply when the decline reason for a consignment entry is
.DeclineReason#DAMAGED.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(DeclineEntry declineEntry) Action to be performed based on the givenDeclineEntry, based on the selectedDeclineReasonvoidexecute(Collection<DeclineEntry> declineEntries) Action to be performed on the given collection ofDeclineEntry, based on the selectedDeclineReasonprotected InventoryEventServiceprotected DefaultWarehouseStockServicevoidsetInventoryEventService(InventoryEventService inventoryEventService) voidsetWarehouseStockService(DefaultWarehouseStockService warehouseStockService)
-
Constructor Details
-
DefaultDamagedStockDeclineStrategy
public DefaultDamagedStockDeclineStrategy()
-
-
Method Details
-
execute
Description copied from interface:DeclineActionStrategyAction to be performed based on the givenDeclineEntry, based on the selectedDeclineReason- Specified by:
executein interfaceDeclineActionStrategy- Parameters:
declineEntry- theDeclineEntryto be declined
-
execute
Description copied from interface:DeclineActionStrategyAction to be performed on the given collection ofDeclineEntry, based on the selectedDeclineReason- Specified by:
executein interfaceDeclineActionStrategy- Parameters:
declineEntries- the collection ofDeclineEntryto be declined
-
getInventoryEventService
-
setInventoryEventService
-
getWarehouseStockService
-
setWarehouseStockService
-