Uses of Class
org.salespointframework.order.OrderCompletionReport
-
Uses of OrderCompletionReport in org.salespointframework.order
Modifier and TypeMethodDescriptionstatic OrderCompletionReport
Creates anOrderCompletionReport
for anOrder
that's marked as failed.static OrderCompletionReport
OrderCompletionReport.forCompletions
(Order order, Iterable<OrderCompletionReport.OrderLineCompletion> completions) Creates a newOrderCompletionReport
for the givenOrder
andOrderCompletionReport.OrderLineCompletion
s.OrderCompletionFailure.getReport()
OrderCompletionReport.onError
(Function<OrderCompletionReport, ? extends RuntimeException> exception) Applies the givenFunction
to produce an exception in case the report has errors.static OrderCompletionReport
Creates anOrderCompletionReport
representing a successful verification of the givenOrder
.Modifier and TypeMethodDescriptionOrderCompletionReport.onError
(Function<OrderCompletionReport, ? extends RuntimeException> exception) Applies the givenFunction
to produce an exception in case the report has errors.ModifierConstructorDescriptionCreates a newOrderCompletionFailure
for the givenOrderCompletionReport
.