public class OrderCompletionReport extends Object implements Streamable<OrderCompletionReport.OrderLineCompletion>
| Modifier and Type | Class and Description |
|---|---|
static class |
OrderCompletionReport.CompletionStatus
The status of a completion.
|
static class |
OrderCompletionReport.OrderLineCompletion
The completion status of an
OrderLine. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitempty, of, ofLazy, streamforEach, spliteratorpublic static OrderCompletionReport success(Order order)
OrderCompletionReport representing a successful verification of the given Order.order - must not be null.public static OrderCompletionReport failed(Order order)
OrderCompletionReport for an Order that's marked as failed.order - must not be null.public static OrderCompletionReport forCompletions(Order order, Iterable<OrderCompletionReport.OrderLineCompletion> completions)
OrderCompletionReport for the given Order and OrderCompletionReport.OrderLineCompletions.order - must not be null.completions - must not be null.static OrderCompletionReport forCompletions(Order order, Streamable<OrderCompletionReport.OrderLineCompletion> completions)
OrderCompletionReport for the given Order and OrderCompletionReport.OrderLineCompletions.order - must not be null.completions - must not be null.public boolean hasErrors()
OrderCompletionReport.OrderLineCompletion (e.g. using Streamable.stream() to access the individual completions).public Iterator<OrderCompletionReport.OrderLineCompletion> iterator()
iterator in interface Iterable<OrderCompletionReport.OrderLineCompletion>@Generated(value="lombok") public String toString()
@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") protected boolean canEqual(Object other)
@Generated(value="lombok") public int hashCode()
@NonNull @Generated(value="lombok") public Order getOrder()
@NonNull @Generated(value="lombok") public OrderCompletionReport.CompletionStatus getStatus()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.