Uses of Class
com.broadleafcommerce.promotion.offer.web.context.info.OrderOfferAdjustment
Package
Description
-
Uses of OrderOfferAdjustment in com.broadleafcommerce.promotion.offer.service.dto
Modifier and TypeMethodDescriptionOrderOfferPermutationResult.getAdjustments()
OfferProcessingContext.getBestOrderAdjustmentsForTesting()
Method facilitates unit testing.Modifier and TypeMethodDescriptionvoid
OrderOfferPermutationResult.addAdjustment
(OrderOfferAdjustment adjustment) Adds the adjustment to this permutation result and prorate it across the relevant items.void
OrderTotals.adjustTotals
(OrderOfferAdjustment orderOfferAdjustment, javax.money.MonetaryAmount amount) -
Uses of OrderOfferAdjustment in com.broadleafcommerce.promotion.offer.service.engine.application.processor
Modifier and TypeMethodDescriptionprotected OrderOfferAdjustment
DefaultOrderOfferProcessor.createOrderOfferAdjustment
(OfferProcessingContext context, CandidateOrderOffer orderOffer, javax.money.MonetaryAmount amount) Modifier and TypeMethodDescriptionprotected List<CandidateFulfillmentGroup>
DefaultFulfillmentGroupOfferProcessor.buildFulfillmentGroupsFromAdjustment
(OrderOfferAdjustment adjustment) protected Optional<javax.money.MonetaryAmount>
DefaultFulfillmentGroupOfferProcessor.calculateAmountRemaining
(OrderOfferAdjustment adjustment) protected CandidateFulfillmentGroupOffer
DefaultFulfillmentGroupOfferProcessor.createCandidateFulfillmentGroupOfferForRemaining
(OrderOfferAdjustment adjustment, javax.money.MonetaryAmount amtRemaining) Modifier and TypeMethodDescriptionprotected List<CandidateFulfillmentGroupOffer>
DefaultFulfillmentGroupOfferProcessor.convertToFulfillmentGroupOffers
(CombinedTypesOfferPermutation ctop, List<OrderOfferAdjustment> adjustments) -
Uses of OrderOfferAdjustment in com.broadleafcommerce.promotion.offer.service.engine.proration
Modifier and TypeMethodDescriptionDefaultProrationService.buildProratedOrderAdjustments
(OrderOfferAdjustment offerAdjustment, List<? extends EnhancedLineItem> lineItems, DiscountableItemInfo discountableItemInfo) ProrationService.buildProratedOrderAdjustments
(OrderOfferAdjustment offerAdjustment, List<? extends EnhancedLineItem> lineItems, DiscountableItemInfo discountableItemInfo) Builds a list ofEnhancedProratedOfferAdjustments
that prorates the adjustment value of the passed inOrderOfferAdjustment
to the passed in list of relevantEnhancedLineItem
sprotected boolean
DefaultProrationService.shouldProrateAdjustment
(OrderOfferAdjustment adjustment) Determines whether the givenOrderOfferAdjustment
should be prorated across the order line items. -
Uses of OrderOfferAdjustment in com.broadleafcommerce.promotion.offer.web.context
Modifier and TypeMethodDescriptionvoid
EnhancedOrder.setOrderAdjustments
(List<OrderOfferAdjustment> orderAdjustments)