Class TotalPotentialSavings
java.lang.Object
com.broadleafcommerce.promotion.offer.service.dto.TotalPotentialSavings
- All Implemented Interfaces:
Serializable
DTO containing the total potential savings info for all of an
order's order items
due to the application of a single
CandidateItemOffer
.- Author:
- Nathan Moore (nathanmoore).
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
javax.money.MonetaryAmount
int
hashCode()
void
setAmount
(javax.money.MonetaryAmount amount) void
setWeightedSavingsPercentage
(BigDecimal weightedSavingsPercentage) toString()
withAmount
(javax.money.MonetaryAmount amount) withWeightedSavingsPercentage
(BigDecimal weightedSavingsPercentage)
-
Constructor Details
-
TotalPotentialSavings
public TotalPotentialSavings()
-
-
Method Details
-
withAmount
-
withWeightedSavingsPercentage
-
getAmount
public javax.money.MonetaryAmount getAmount() -
getWeightedSavingsPercentage
-
setAmount
public void setAmount(javax.money.MonetaryAmount amount) -
setWeightedSavingsPercentage
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-