Interface FindPDTValueInfoStrategy<VALUE extends PDTValue,INFO extends PDTInformation,CRITERIA extends PDTCriteria>

Type Parameters:
VALUE - the generic type for price/discount/tax values.
INFO - the generic type for price/discount/tax information.
CRITERIA - the generic type for price/discount/tax criteria.
All Known Implementing Classes:
CachingFindTaxValueInfoStrategy, DefaultFindDiscountValueInfoStrategy, DefaultFindPriceValueInfoStrategy, DefaultFindTaxValueInfoStrategy, DefaultPDTProcessorChainExecutor, GenericPDTFindValueInfoStrategy

public interface FindPDTValueInfoStrategy<VALUE extends PDTValue,INFO extends PDTInformation,CRITERIA extends PDTCriteria>
The Interface for find for price/discount/tax values or information.
  • Method Details

    • getPDTValues

      List<VALUE> getPDTValues(CRITERIA criteria) throws CalculationException
      Gets the price/discount/tax values.
      Parameters:
      criteria - the price/discount/tax criteria.
      Returns:
      the price/discount/tax values.
      Throws:
      CalculationException - the calculation exception
    • getPDTInformation

      List<INFO> getPDTInformation(CRITERIA criteria) throws CalculationException
      Gets the price/discount/tax information.
      Parameters:
      criteria - the price/discount/tax criteria.
      Returns:
      the price/discount/tax information.
      Throws:
      CalculationException - the calculation exception