Class InventoryOrderEventListener

java.lang.Object
org.salespointframework.inventory.InventoryOrderEventListener

@Component
@ConditionalOnProperty(name="salespoint.inventory.disable-updates",
                       havingValue="false",
                       matchIfMissing=true)
public class InventoryOrderEventListener
extends Object
ApplicationListener for Order.OrderCompleted events to verify that sufficient amounts of the Product the OrderLines contained in the Order point to are available in the UniqueInventory.
Since:
6.3
Author:
Oliver Gierke