Interface DeliveryCostsStrategy
- All Known Subinterfaces:
MultiAddressDeliveryCostsStrategy
- All Known Implementing Classes:
DefaultDeliveryCostsStrategy,DefaultMultiAddressDeliveryCostsStrategy
public interface DeliveryCostsStrategy
Interface for strategy to calculate the delivery costs of a existing
AbstractOrder.
Will be used by AbstractOrder.findDeliveryCosts().
-
Method Summary
Modifier and TypeMethodDescriptionfindDeliveryCosts(SessionContext ctx, AbstractOrder order) Called duringAbstractOrder.calculate(),AbstractOrder.calculate(java.util.Date),AbstractOrder.recalculate()andAbstractOrder.recalculate(java.util.Date)to fetch and set the delivery cost for the assigned order.
-
Method Details
-
findDeliveryCosts
Called duringAbstractOrder.calculate(),AbstractOrder.calculate(java.util.Date),AbstractOrder.recalculate()andAbstractOrder.recalculate(java.util.Date)to fetch and set the delivery cost for the assigned order.- Returns:
- the delivery costs of this abstract order
-