Class JpaDiscountTier
- 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 aDiscountTierfor use with a Jpa datastore.- Author:
- Chad Harchar (charchar)
- See Also:
DiscountTier, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected BigDecimalamountprotected StringmethodTypeprotected BigDecimalminAmountprotected LongminQuantity
-
Constructor Summary
Constructors Constructor Description JpaDiscountTier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)BigDecimalgetAmount()StringgetMethodType()BigDecimalgetMinAmount()LonggetMinQuantity()inthashCode()voidsetAmount(BigDecimal amount)voidsetMethodType(String methodType)voidsetMinAmount(BigDecimal minAmount)voidsetMinQuantity(Long minQuantity)StringtoString()
-
-
-
Field Detail
-
minQuantity
protected Long minQuantity
-
amount
protected BigDecimal amount
-
minAmount
protected BigDecimal minAmount
-
methodType
protected String methodType
-
-
Method Detail
-
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)
-
canEqual
protected boolean canEqual(Object other)
-
-