Uses of Class
org.salespointframework.order.OrderLine
Package
Description
The inventory subsystem.
The order subsystem.
-
Uses of OrderLine in org.salespointframework.inventory
Modifier and TypeMethodDescriptionstatic 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
Modifier and TypeMethodDescriptionOrder.addOrderLine
(Product product, Quantity quantity) ChargeLine.AttachedChargeLine.getOrderLine()
@NonNull OrderLine
OrderCompletionReport.OrderLineCompletion.getOrderLine()
Modifier and TypeMethodDescriptionOrder.addChargeLine
(javax.money.MonetaryAmount price, String description, OrderLine orderLine) Adds anChargeLine.AttachedChargeLine
with the given price and description to the givenOrderLine
.boolean
Returns whether theChargeLine.AttachedChargeLine
belongs to the givenOrderLine
.Creates anOrderCompletionReport.OrderLineCompletion
representing an erroneousOrderLine
alongside an error message.Order.getChargeLines
(OrderLine orderLine) Returns allChargeLine.AttachedChargeLine
s for the givenOrderLine
.void
Removes the givenOrderLine
as well as allChargeLine.AttachedChargeLine
associated with it.void
Order.removeChargeLinesFor
(OrderLine orderLine) Removes allChargeLine.AttachedChargeLine
s attached to the givenOrderLine
.Creates anOrderCompletionReport.OrderLineCompletion
representing the successful completion of anOrderLine
.Modifier and TypeMethodDescriptionApplies the givenConsumer
in case theOrderCompletionReport.OrderLineCompletion
is successful.