Class OfferItemCriteriaImpl
java.lang.Object
org.broadleafcommerce.core.offer.domain.OfferItemCriteriaImpl
- All Implemented Interfaces:
Serializable,MultiTenantCloneable<OfferItemCriteria>,QuantityBasedRule,OfferItemCriteria
- Author:
- jfischer
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<G extends OfferItemCriteria>
CreateResponse<G>booleangetId()inthashCode()voidvoidsetMatchRule(String matchRule) voidsetQuantity(Integer receiveQuantity)
-
Field Details
-
id
-
quantity
-
orderItemMatchRule
-
-
Constructor Details
-
OfferItemCriteriaImpl
public OfferItemCriteriaImpl()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceQuantityBasedRule
-
setId
- Specified by:
setIdin interfaceQuantityBasedRule
-
getQuantity
- Specified by:
getQuantityin interfaceQuantityBasedRule
-
setQuantity
- Specified by:
setQuantityin interfaceQuantityBasedRule
-
getMatchRule
- Specified by:
getMatchRulein interfaceQuantityBasedRule
-
setMatchRule
- Specified by:
setMatchRulein interfaceQuantityBasedRule
-
hashCode
public int hashCode() -
equals
-
createOrRetrieveCopyInstance
public <G extends OfferItemCriteria> CreateResponse<G> createOrRetrieveCopyInstance(MultiTenantCopyContext context) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceMultiTenantCloneable<OfferItemCriteria>- Throws:
CloneNotSupportedException
-