Class JpaPriceDataTier
java.lang.Object
com.broadleafcommerce.pricing.provider.jpa.domain.JpaPriceDataTier
- All Implemented Interfaces:
Serializable
* Persistent counter-part to a
PriceDataTier
for uses with a JPA datastore.- Author:
- Chad Harchar (charchar)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
javax.money.CurrencyUnit
Transient property that holds the parent price list currency in order to convert price to a MonetaryAmount.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) toString()
-
Constructor Details
-
JpaPriceDataTier
public JpaPriceDataTier()
-
-
Method Details
-
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
-
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
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-