You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some lab projects would like to attach ChargeLine instances to individual OrderLines to e.g. attach additional services to a particular line item. We should introduce means to create specialized ChargeLines and the ability to find all ChargeLines that are attached to a particular OrderLine.
Implementation ideas:
switch to List instances for OrderLines and ChargeLines in Order.
add custom ChargeLine that has a reference to an OrderLine
add API to add such ChargeLine to an Order
add API to look up all ChargeLines attached to an OrderLine
The text was updated successfully, but these errors were encountered:
Order now exposes API to attach AttachedChargeLine instances to an OrderLine by either an instance or its index in the order's list of OrderLines. It also exposes API to look up all AttachedChargeLine instance for an OrderLine.
Introduced Totalable<T extends Priced> to easily allow summing up an Iterable of Priced instances. All methods returning (Attached)ChargeLine instances now use that for convenience. Deprecated a couple of methods in Order for better alignment.
Some lab projects would like to attach
ChargeLine
instances to individualOrderLines
to e.g. attach additional services to a particular line item. We should introduce means to create specializedChargeLine
s and the ability to find allChargeLine
s that are attached to a particularOrderLine
.Implementation ideas:
List
instances forOrderLine
s andChargeLine
s inOrder
.ChargeLine
that has a reference to anOrderLine
ChargeLine
to anOrder
ChargeLine
s attached to anOrderLine
The text was updated successfully, but these errors were encountered: