Package | Description |
---|---|
org.salespointframework.inventory |
The inventory subsystem.
|
org.salespointframework.order |
The order subsystem.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
LineItemFilter.shouldBeHandled(OrderLine orderLine,
Collection<LineItemFilter> filters)
Returns whether the given
OrderLine should be handled considering the given LineItemFilter s. |
Modifier and Type | Method and Description |
---|---|
OrderLine |
Order.add(OrderLine orderLine)
Deprecated.
since 7.1, use
Order.addOrderLine(Product, Quantity) instead. |
OrderLine |
Order.addOrderLine(Product product,
Quantity quantity)
|
@NonNull OrderLine |
OrderCompletionReport.OrderLineCompletion.getOrderLine() |
OrderLine |
ChargeLine.AttachedChargeLine.getOrderLine() |
Modifier and Type | Method and Description |
---|---|
Totalable<OrderLine> |
Order.getOrderLines()
|
Totalable<OrderLine> |
Order.getOrderLines(Product product)
|
Modifier and Type | Method and Description |
---|---|
OrderLine |
Order.add(OrderLine orderLine)
Deprecated.
since 7.1, use
Order.addOrderLine(Product, Quantity) instead. |
ChargeLine.AttachedChargeLine |
Order.addChargeLine(javax.money.MonetaryAmount price,
String description,
OrderLine orderLine)
Adds an
ChargeLine.AttachedChargeLine with the given price and description to the given OrderLine . |
boolean |
ChargeLine.AttachedChargeLine.belongsTo(OrderLine oderLine)
Returns whether the
ChargeLine.AttachedChargeLine belongs to the given OrderLine . |
static OrderCompletionReport.OrderLineCompletion |
OrderCompletionReport.OrderLineCompletion.error(OrderLine orderLine,
String message)
Creates an
OrderCompletionReport.OrderLineCompletion representing an erroneous OrderLine alongside an error message. |
Totalable<ChargeLine.AttachedChargeLine> |
Order.getChargeLines(OrderLine orderLine)
Returns all
ChargeLine.AttachedChargeLine s for the given OrderLine . |
void |
Order.remove(OrderLine orderLine)
Removes the given
OrderLine as well as all ChargeLine.AttachedChargeLine associated with it. |
void |
Order.removeChargeLinesFor(OrderLine orderLine)
Removes all
ChargeLine.AttachedChargeLine s attached to the given OrderLine . |
static OrderCompletionReport.OrderLineCompletion |
OrderCompletionReport.OrderLineCompletion.success(OrderLine orderLine)
Creates an
OrderCompletionReport.OrderLineCompletion representing the successful completion of an OrderLine . |
Modifier and Type | Method and Description |
---|---|
OrderCompletionReport.OrderLineCompletion |
OrderCompletionReport.OrderLineCompletion.onSuccess(Consumer<OrderLine> action)
Applies the given
Consumer in case the OrderCompletionReport.OrderLineCompletion is successful. |
Copyright © 2019. All rights reserved.