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 OrderCompletionReportOrderCompletionReport. failed(Order order)Creates anOrderCompletionReportfor anOrderthat's marked as failed.static OrderCompletionReportOrderCompletionReport. forCompletions(Order order, Iterable<OrderCompletionReport.OrderLineCompletion> completions)Creates a newOrderCompletionReportfor the givenOrderandOrderCompletionReport.OrderLineCompletions.OrderCompletionReportOrderCompletionFailure. getReport()OrderCompletionReportOrderCompletionReport. onError(Function<OrderCompletionReport,? extends RuntimeException> exception)Applies the givenFunctionto produce an exception in case the report has errors.static OrderCompletionReportOrderCompletionReport. success(Order order)Creates anOrderCompletionReportrepresenting a successful verification of the givenOrder.Method parameters in org.salespointframework.order with type arguments of type OrderCompletionReport Modifier and Type Method Description OrderCompletionReportOrderCompletionReport. onError(Function<OrderCompletionReport,? extends RuntimeException> exception)Applies the givenFunctionto 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 newOrderCompletionFailurefor the givenOrderCompletionReport.