Package com.broadleafcommerce.promotion.offer.service.engine
package com.broadleafcommerce.promotion.offer.service.engine
-
ClassDescriptionOfferEngineResponseBuilder<P extends com.broadleafcommerce.promotion.offer.client.web.context.info.ProratedItemOfferAdjustment>Tool to build a
OrderResponse
from the information provided via anEnhancedOrder
.This serves as the entry and exist points for the offer engine, which takes in an order and context then determines what offers can apply before calculating the best possible permutation of offers and applying them.Utility methods used by the offer processing engine extracted for ease of testing.