com.ibm.commerce.installment.facade.server.util

Interface InstallmentRuleCondition

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright notice field.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      boolean evaluate(java.lang.Long anCatalogEntryId)
      Evaluates whether a catalog entry meets the condition.
      void setProperties(java.util.Map amapProperties)
      Sets the properties of the condition.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Method Detail

      • setProperties

        void setProperties(java.util.Map amapProperties)
        Sets the properties of the condition. This method is called once by the installment component when the condition is instantiated.
        Parameters:
        amapProperties - the properties.
        Key type: String.
        Value type: String.
      • evaluate

        boolean evaluate(java.lang.Long anCatalogEntryId)
                  throws java.lang.Exception
        Evaluates whether a catalog entry meets the condition. This method must be reentrant.
        Parameters:
        anCatalogEntryId - A catalog entry ID.
        Returns:
        True if the condition is met, false otherwise.
        Throws:
        java.lang.Exception