public interface PromotionsCalculator
extends org.pf4j.ExtensionPoint
XPFPromotionsCalculatorOutputContext evaluate(XPFCatalogPromotionsCalculatorInputContext context)
context
- the contextXPFPromotionsCalculatorOutputContext evaluate(XPFCartPromotionsCalculatorInputContext context)
context
- the contextMap<String,XPFPromotionRule> retrievePromotionRules(XPFPromotionsCalculatorRuleRetrievalContext context)
context
- the rule retrieval contextSet<XPFPromotionRule> retrievePromotionCarrots(XPFPromotionCarrotsInputContext context)
context
- the contextMap<String,XPFCoupon> retrieveCouponsByGuids(XPFPromotionCalculatorCouponGuidRetrievalContext context)
context
- the contextMap<String,Collection<XPFCoupon>> retrieveCouponsByCodes(XPFPromotionCalculatorCouponCodeRetrievalContext context)
context
- the contextSet<String> retrieveCouponCodesByCustomerAndStore(XPFPromotionCalculatorCouponStoreEmailRetrievalContext context)
context
- the contextMap<String,XPFPromotionCouponValidationOutputContext> validateCouponRuleAndUsage(XPFPromotionCalculatorCouponValidationContext context)
context
- the contextvoid createCouponsForPromotions(XPFPromotionCalculatorCouponCreationContext context)
context
- the contextvoid disableCouponAutoApply(XPFPromotionCalculatorDisableCouponContext context)
context
- the contextCopyright © 2025. All rights reserved.