Package | Description |
---|---|
org.salespointframework.order |
The order subsystem.
|
Modifier and Type | Method and Description |
---|---|
static OrderCompletionReport |
OrderCompletionReport.failed(Order order)
Creates an
OrderCompletionReport for an Order that's marked as failed. |
static OrderCompletionReport |
OrderCompletionReport.forCompletions(Order order,
Iterable<OrderCompletionReport.OrderLineCompletion> completions)
Creates a new
OrderCompletionReport for the given Order and OrderCompletionReport.OrderLineCompletion s. |
OrderCompletionReport |
OrderCompletionFailure.getReport() |
static OrderCompletionReport |
OrderCompletionReport.success(Order order)
Creates an
OrderCompletionReport representing a successful verification of the given Order . |
Modifier and Type | Method and Description |
---|---|
void |
OrderCompletionReport.onError(Function<OrderCompletionReport,? extends RuntimeException> exception)
Applies the given
Function to produce an exception in case the report has errors. |
Constructor and Description |
---|
OrderCompletionFailure(OrderCompletionReport report)
Creates a new
OrderCompletionFailure for the given OrderCompletionReport . |
Copyright © 2019. All rights reserved.