Class PromoSummary

java.lang.Object
org.bhn.promotion.core.model.pricing.BaseSummary
org.bhn.promotion.core.model.pricing.PromoSummary
All Implemented Interfaces:
Serializable

public class PromoSummary extends BaseSummary implements 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 Details

    • PromoSummary

      public PromoSummary()
  • Method Details

    • updateEligiblePromos

      public void updateEligiblePromos(EligibilityResponseModel eligibilityResponseModel)
      Updates the list of eligible promotions based on the provided eligibility response.
      Parameters:
      eligibilityResponseModel - the eligibility response containing applicable promotions