Class OfferCombinabilityCriteriaKey
java.lang.Object
com.broadleafcommerce.promotion.offer.service.dto.OfferCombinabilityCriteriaKey
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
void
setCompatibleWithOtherTypes
(boolean compatibleWithOtherTypes) void
setTargetType
(String targetType)
-
Constructor Details
-
OfferCombinabilityCriteriaKey
public OfferCombinabilityCriteriaKey()
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
isCompatibleWithOtherTypes
public boolean isCompatibleWithOtherTypes() -
setCompatibleWithOtherTypes
public void setCompatibleWithOtherTypes(boolean compatibleWithOtherTypes) -
getTargetType
-
setTargetType
-
getOtherTypeOfferIdExclusions
-