Uses of Class
org.salespointframework.order.OrderLine
-
Packages that use OrderLine Package Description org.salespointframework.inventory The inventory subsystem.org.salespointframework.order The order subsystem. -
-
Uses of OrderLine in org.salespointframework.inventory
Methods in org.salespointframework.inventory with parameters of type OrderLine Modifier and Type Method Description static boolean
LineItemFilter. shouldBeHandled(OrderLine orderLine, Collection<LineItemFilter> filters)
Returns whether the givenOrderLine
should be handled considering the givenLineItemFilter
s. -
Uses of OrderLine in org.salespointframework.order
Methods in org.salespointframework.order that return OrderLine Modifier and Type Method Description OrderLine
Order. add(OrderLine orderLine)
Deprecated.since 7.1, useOrder.addOrderLine(Product, Quantity)
instead.OrderLine
Order. addOrderLine(Product product, Quantity quantity)
OrderLine
ChargeLine.AttachedChargeLine. getOrderLine()
@NonNull OrderLine
OrderCompletionReport.OrderLineCompletion. getOrderLine()
Methods in org.salespointframework.order that return types with arguments of type OrderLine Modifier and Type Method Description Totalable<OrderLine>
Order. getOrderLines()
Totalable<OrderLine>
Order. getOrderLines(Product product)
Methods in org.salespointframework.order with parameters of type OrderLine Modifier and Type Method Description OrderLine
Order. add(OrderLine orderLine)
Deprecated.since 7.1, useOrder.addOrderLine(Product, Quantity)
instead.ChargeLine.AttachedChargeLine
Order. addChargeLine(javax.money.MonetaryAmount price, String description, OrderLine orderLine)
Adds anChargeLine.AttachedChargeLine
with the given price and description to the givenOrderLine
.boolean
ChargeLine.AttachedChargeLine. belongsTo(OrderLine oderLine)
Returns whether theChargeLine.AttachedChargeLine
belongs to the givenOrderLine
.static OrderCompletionReport.OrderLineCompletion
OrderCompletionReport.OrderLineCompletion. error(OrderLine orderLine, String message)
Creates anOrderCompletionReport.OrderLineCompletion
representing an erroneousOrderLine
alongside an error message.Totalable<ChargeLine.AttachedChargeLine>
Order. getChargeLines(OrderLine orderLine)
Returns allChargeLine.AttachedChargeLine
s for the givenOrderLine
.void
Order. remove(OrderLine orderLine)
Removes the givenOrderLine
as well as allChargeLine.AttachedChargeLine
associated with it.void
Order. removeChargeLinesFor(OrderLine orderLine)
Removes allChargeLine.AttachedChargeLine
s attached to the givenOrderLine
.static OrderCompletionReport.OrderLineCompletion
OrderCompletionReport.OrderLineCompletion. skipped(OrderLine ordeLine)
static OrderCompletionReport.OrderLineCompletion
OrderCompletionReport.OrderLineCompletion. success(OrderLine orderLine)
Creates anOrderCompletionReport.OrderLineCompletion
representing the successful completion of anOrderLine
.Method parameters in org.salespointframework.order with type arguments of type OrderLine Modifier and Type Method Description OrderCompletionReport.OrderLineCompletion
OrderCompletionReport.OrderLineCompletion. onSuccess(Consumer<OrderLine> action)
Applies the givenConsumer
in case theOrderCompletionReport.OrderLineCompletion
is successful.
-