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 aPriceDataTierfor 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 booleancanEqual(Object other)booleanequals(Object o)javax.money.CurrencyUnitgetCurrency()Transient property that holds the parent price list currency in order to convert price to a MonetaryAmount.IntegergetMinQuantity()javax.money.MonetaryAmountgetPrice()inthashCode()voidsetCurrency(javax.money.CurrencyUnit currency)Transient property that holds the parent price list currency in order to convert price to a MonetaryAmount.voidsetMinQuantity(Integer minQuantity)voidsetPrice(javax.money.MonetaryAmount price)StringtoString()
-
-
-
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)
-
-