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 TypeMethodDescriptionbooleanjavax.money.CurrencyUnitTransient property that holds the parent price list currency in order to convert price to a MonetaryAmount.javax.money.MonetaryAmountgetPrice()javax.money.MonetaryAmountjavax.money.MonetaryAmountinthashCode()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) voidsetRecurringPrice(javax.money.MonetaryAmount recurringPrice) voidsetUsagePrice(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
-