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 a PriceDataTier for uses with a JPA datastore.
Author:
Chad Harchar (charchar)
See Also:
  • 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

      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)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object