public class DefaultOutOfStockDeclineStrategy extends java.lang.Object implements DeclineActionStrategy
.DeclineReason#OUTOFSTOCK.| Constructor and Description |
|---|
DefaultOutOfStockDeclineStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(java.util.Collection<DeclineEntry> declineEntries)
Action to be performed on the given collection of
DeclineEntry, based on the selected DeclineReason |
void |
execute(DeclineEntry declineEntry)
Action to be performed based on the given
DeclineEntry, based on the selected DeclineReason |
protected InventoryEventService |
getInventoryEventService() |
protected DefaultWarehouseStockService |
getWarehouseStockService() |
void |
setInventoryEventService(InventoryEventService inventoryEventService) |
void |
setWarehouseStockService(DefaultWarehouseStockService warehouseStockService) |
public void execute(DeclineEntry declineEntry)
DeclineActionStrategyDeclineEntry, based on the selected DeclineReasonexecute in interface DeclineActionStrategydeclineEntry - the DeclineEntry to be declinedpublic void execute(java.util.Collection<DeclineEntry> declineEntries)
DeclineActionStrategyDeclineEntry, based on the selected DeclineReasonexecute in interface DeclineActionStrategydeclineEntries - the collection of DeclineEntry to be declinedprotected InventoryEventService getInventoryEventService()
public void setInventoryEventService(InventoryEventService inventoryEventService)
protected DefaultWarehouseStockService getWarehouseStockService()
public void setWarehouseStockService(DefaultWarehouseStockService warehouseStockService)
Copyright © 2018 SAP SE. All Rights Reserved.