Class JpaPriceDataTier
- java.lang.Object
-
- com.broadleafcommerce.pricing.provider.jpa.domain.JpaPriceDataTier
-
- All Implemented Interfaces:
Serializable
public class JpaPriceDataTier extends Object implements Serializable
* Persistent counter-part to aPriceDataTier
for uses with a JPA datastore.- Author:
- Chad Harchar (charchar)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JpaPriceDataTier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
javax.money.CurrencyUnit
getCurrency()
Transient property that holds the parent price list currency in order to convert price to a MonetaryAmount.Integer
getMinQuantity()
javax.money.MonetaryAmount
getPrice()
int
hashCode()
void
setCurrency(javax.money.CurrencyUnit currency)
Transient property that holds the parent price list currency in order to convert price to a MonetaryAmount.void
setMinQuantity(Integer minQuantity)
void
setPrice(javax.money.MonetaryAmount price)
String
toString()
-
-
-
Method Detail
-
getPrice
public javax.money.MonetaryAmount getPrice()
-
setPrice
public void setPrice(javax.money.MonetaryAmount price)
-
getCurrency
public javax.money.CurrencyUnit getCurrency()
Transient property that holds the parent price list currency in order to convert price to a MonetaryAmount.
-
getMinQuantity
public Integer getMinQuantity()
-
setCurrency
public void setCurrency(javax.money.CurrencyUnit currency)
Transient property that holds the parent price list currency in order to convert price to a MonetaryAmount.
-
setMinQuantity
public void setMinQuantity(Integer minQuantity)
-
canEqual
protected boolean canEqual(Object other)
-
-