Class PromoSummary
java.lang.Object
org.bhn.promotion.core.model.pricing.BaseSummary
org.bhn.promotion.core.model.pricing.PromoSummary
- All Implemented Interfaces:
Serializable
Represents a summary of promotions applied to an order.
This class encapsulates the details of promotions that are applicable, applied, and any errors encountered during the promotion evaluation process. It serves as a comprehensive model to track the status and effects of promotions on an order level.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidupdateEligiblePromos(EligibilityResponseModel eligibilityResponseModel) Updates the list of eligible promotions based on the provided eligibility response.
-
Constructor Details
-
PromoSummary
public PromoSummary()
-
-
Method Details
-
updateEligiblePromos
Updates the list of eligible promotions based on the provided eligibility response.- Parameters:
eligibilityResponseModel- the eligibility response containing applicable promotions
-