Interface OrderCalculation

All Known Implementing Classes:
DefaultOrderCalculation

@Deprecated(since="ages", forRemoval=true) public interface OrderCalculation
Deprecated, for removal: This API element is subject to removal in a future version.
since ages - UseCalculationService to calculate orders.
Provides functionality for the order calculation.
Spring Bean ID:
orderCalculation
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Calculates the given order and returns true if each entry and after this the AbstractOrderModel was calculated.
  • Method Details

    • calculate

      boolean calculate(AbstractOrderModel order)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Calculates the given order and returns true if each entry and after this the AbstractOrderModel was calculated. Thereby any invalid entry will be automatically removed.
      Parameters:
      order - the AbstractOrderModel
      Returns:
      false if the order was already calculated.