Class InventoryItems<T extends InventoryItem<?>>

java.lang.Object
org.salespointframework.inventory.InventoryItems<T>
All Implemented Interfaces:
Iterable<T>, Supplier<Stream<T>>, Streamable<T>

public class InventoryItems<T extends InventoryItem<?>> extends Object implements Streamable<T>
An abstraction over a collection of InventoryItems. Offers convenience methods to handle cases in which a lookup of InventoryItems for a Product return multiple items or a UniqueInventoryItem.
Since:
7.2
Author:
Oliver Drotbohm