Class OfferCombinabilityCriteriaKey

java.lang.Object
com.broadleafcommerce.promotion.offer.service.dto.OfferCombinabilityCriteriaKey

public class OfferCombinabilityCriteriaKey extends Object
A structure containing the combinability data for a single offer. For a given offer engine execution, the combinability data for an offer depends on the other offers in play. As a result, the data for this class is populated in a few phases. Initially, the combinability criteria is populated based on the data stored with the offer. The second phase, modifies this data to remove irrelevant combinability exceptions.
Author:
Brian Polster (bpolster)
See Also:
  • Constructor Details

    • OfferCombinabilityCriteriaKey

      public OfferCombinabilityCriteriaKey()
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isCompatibleWithOtherTypes

      public boolean isCompatibleWithOtherTypes()
    • setCompatibleWithOtherTypes

      public void setCompatibleWithOtherTypes(boolean compatibleWithOtherTypes)
    • getTargetType

      public String getTargetType()
    • setTargetType

      public void setTargetType(String targetType)
    • getOtherTypeOfferIdExclusions

      public Set<String> getOtherTypeOfferIdExclusions()