Class OfferItemCriteriaImpl

java.lang.Object
org.broadleafcommerce.core.offer.domain.OfferItemCriteriaImpl
All Implemented Interfaces:
Serializable, org.broadleafcommerce.common.copy.MultiTenantCloneable<OfferItemCriteria>, org.broadleafcommerce.common.rule.QuantityBasedRule, OfferItemCriteria

@Entity public class OfferItemCriteriaImpl extends Object implements OfferItemCriteria
Author:
jfischer
See Also:
  • Field Details

    • id

      protected Long id
    • quantity

      protected Integer quantity
    • orderItemMatchRule

      protected String orderItemMatchRule
  • Constructor Details

    • OfferItemCriteriaImpl

      public OfferItemCriteriaImpl()
  • Method Details

    • getId

      public Long getId()
      Specified by:
      getId in interface org.broadleafcommerce.common.rule.QuantityBasedRule
    • setId

      public void setId(Long id)
      Specified by:
      setId in interface org.broadleafcommerce.common.rule.QuantityBasedRule
    • getQuantity

      public Integer getQuantity()
      Specified by:
      getQuantity in interface org.broadleafcommerce.common.rule.QuantityBasedRule
    • setQuantity

      public void setQuantity(Integer receiveQuantity)
      Specified by:
      setQuantity in interface org.broadleafcommerce.common.rule.QuantityBasedRule
    • getMatchRule

      public String getMatchRule()
      Specified by:
      getMatchRule in interface org.broadleafcommerce.common.rule.QuantityBasedRule
    • setMatchRule

      public void setMatchRule(String matchRule)
      Specified by:
      setMatchRule in interface org.broadleafcommerce.common.rule.QuantityBasedRule
    • hashCode

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

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

      public <G extends OfferItemCriteria> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException
      Specified by:
      createOrRetrieveCopyInstance in interface org.broadleafcommerce.common.copy.MultiTenantCloneable<OfferItemCriteria>
      Throws:
      CloneNotSupportedException