java.lang.Object
com.broadleafcommerce.promotion.offer.provider.jpa.domain.JpaDiscountTier
All Implemented Interfaces:
Serializable

public class JpaDiscountTier extends Object implements Serializable
Persistent counter-part to a DiscountTier for use with a Jpa datastore.
Author:
Chad Harchar (charchar)
See Also:
  • Field Details

    • minQuantity

      protected Long minQuantity
    • amount

      protected BigDecimal amount
    • minAmount

      protected BigDecimal minAmount
    • methodType

      protected String methodType
  • Constructor Details

    • JpaDiscountTier

      public JpaDiscountTier()
  • Method Details

    • getMinQuantity

      public Long getMinQuantity()
    • getAmount

      public BigDecimal getAmount()
    • getMinAmount

      public BigDecimal getMinAmount()
    • getMethodType

      public String getMethodType()
    • setMinQuantity

      public void setMinQuantity(Long minQuantity)
    • setAmount

      public void setAmount(BigDecimal amount)
    • setMinAmount

      public void setMinAmount(BigDecimal minAmount)
    • setMethodType

      public void setMethodType(String methodType)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object