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
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()static DiscountParametersof(String discountMethodType, BigDecimal discountAmount) toString() 
- 
Constructor Details
- 
DiscountParameters
 
 - 
 - 
Method Details
- 
of
public static DiscountParameters of(@NonNull String discountMethodType, @NonNull BigDecimal discountAmount)  - 
getDiscountMethodType
 - 
getDiscountAmount
 - 
equals
 - 
hashCode
public int hashCode() - 
toString
 
 -