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

Class ManufacturerNameInstallmentRuleConditionImpl

  • java.lang.Object
    • com.ibm.commerce.installment.facade.server.util.ManufacturerNameInstallmentRuleConditionImpl
    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ManufacturerNameInstallmentRuleConditionImpl

        public ManufacturerNameInstallmentRuleConditionImpl()
    • Method Detail

      • setProperties

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

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