Class DiscountParameters
java.lang.Object
com.broadleafcommerce.promotion.offer.service.dto.DiscountParameters
- All Implemented Interfaces:
Serializable
Parameters used in the
DefaultOfferApplicationService
to calculate the potential discount
of a CandidateItemOffer
for an EnhancedLineItem
.- Author:
- Nathan Moore (nathanmoore).
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
static DiscountParameters
of
(String discountMethodType, BigDecimal discountAmount) toString()