Uses of Class
org.salespointframework.order.OrderCompletionReport
Package | Description |
---|---|
org.salespointframework.order |
The order subsystem.
|
-
Uses of OrderCompletionReport in org.salespointframework.order
Methods in org.salespointframework.order that return OrderCompletionReport Modifier and Type Method Description static OrderCompletionReport
OrderCompletionReport. failed(Order order)
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.OrderCompletionReport
OrderCompletionFailure. getReport()
OrderCompletionReport
OrderCompletionReport. onError(Function<OrderCompletionReport,? extends RuntimeException> exception)
Applies the givenFunction
to produce an exception in case the report has errors.static OrderCompletionReport
OrderCompletionReport. success(Order order)
Creates anOrderCompletionReport
representing a successful verification of the givenOrder
.Method parameters in org.salespointframework.order with type arguments of type OrderCompletionReport Modifier and Type Method Description OrderCompletionReport
OrderCompletionReport. onError(Function<OrderCompletionReport,? extends RuntimeException> exception)
Applies the givenFunction
to produce an exception in case the report has errors.Constructors in org.salespointframework.order with parameters of type OrderCompletionReport Constructor Description OrderCompletionFailure(OrderCompletionReport report)
Creates a newOrderCompletionFailure
for the givenOrderCompletionReport
.