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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
javax.money.CurrencyUnit
Transient property that holds the parent price list currency in order to convert price to a MonetaryAmount.javax.money.MonetaryAmount
getPrice()
javax.money.MonetaryAmount
javax.money.MonetaryAmount
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) void
setRecurringPrice
(javax.money.MonetaryAmount recurringPrice) void
setUsagePrice
(javax.money.MonetaryAmount usagePrice) toString()
-
Constructor Details
-
JpaPriceDataTier
public JpaPriceDataTier()
-
-
Method Details
-
getPrice
public javax.money.MonetaryAmount getPrice() -
setPrice
public void setPrice(javax.money.MonetaryAmount price) -
getRecurringPrice
public javax.money.MonetaryAmount getRecurringPrice() -
setRecurringPrice
public void setRecurringPrice(javax.money.MonetaryAmount recurringPrice) -
getUsagePrice
public javax.money.MonetaryAmount getUsagePrice() -
setUsagePrice
public void setUsagePrice(javax.money.MonetaryAmount usagePrice) -
equals
-
hashCode
public int hashCode() -
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
-