Interface Totalable<T extends org.salespointframework.order.Priced>
- All Superinterfaces:
Iterable<T>, Streamable<T>, Supplier<Stream<T>>
An extension of
Streamable of Priced objects that expose a getTotal() method so that the
combined price can be calculated easily.- Since:
- 7.1
- Author:
- Oliver Gierke
-
Method Summary
Methods inherited from interface Iterable
forEach, iterator, spliterator
-
Method Details
-
of
-
getTotal
javax.money.MonetaryAmount getTotal()Returns the total of all thePricedelements contained in thisTotalable.- Returns:
-
and
-