Class PriceListPriceDetail
java.lang.Object
com.broadleafcommerce.pricing.domain.PriceListPriceDetail
- All Implemented Interfaces:
Serializable
DTO containing the details of a price from a price list.
- Since:
- 1.7.14, 2.0.1
- Author:
- Sunny Yu
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanjavax.money.MonetaryAmountgetPrice()Price determined from a price list.The source of this price within the price list, e.g.inthashCode()voidsetPrice(javax.money.MonetaryAmount price) Price determined from a price list.voidsetPriceSource(String priceSource) The source of this price within the price list, e.g.toString()
-
Constructor Details
-
PriceListPriceDetail
public PriceListPriceDetail()
-
-
Method Details
-
getPrice
public javax.money.MonetaryAmount getPrice()Price determined from a price list. -
getPriceSource
The source of this price within the price list, e.g. price list formula, price list price data, etc.- See Also:
-
DefaultPriceListPriceSources
-
setPrice
public void setPrice(javax.money.MonetaryAmount price) Price determined from a price list. -
setPriceSource
The source of this price within the price list, e.g. price list formula, price list price data, etc.- See Also:
-
DefaultPriceListPriceSources
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-