Interface CalculationResultValidator


  • public interface CalculationResultValidator
    Validator to ensure that a former result of a price calculation can still be used
    • Method Detail

      • validate

        boolean validate​(com.sap.ppengine.client.dto.PriceCalculateBase priceCalculate,
                         AbstractOrderModel order)
        Parameters:
        priceCalculate - Result of former price calculation
        order - current order / cart
        Returns:
        true if result still represents the price calculation for a part of the current order / cart