Uses of Class
com.broadleafcommerce.promotion.offer.web.context.info.OrderOfferAdjustment
Packages that use OrderOfferAdjustment
Package
Description
-
Uses of OrderOfferAdjustment in com.broadleafcommerce.promotion.offer.service.dto
Methods in com.broadleafcommerce.promotion.offer.service.dto that return types with arguments of type OrderOfferAdjustmentModifier and TypeMethodDescriptionOrderOfferPermutationResult.getAdjustments()
OfferProcessingContext.getBestOrderAdjustmentsForTesting()
Method facilitates unit testing.Methods in com.broadleafcommerce.promotion.offer.service.dto with parameters of type OrderOfferAdjustmentModifier 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
Methods in com.broadleafcommerce.promotion.offer.service.engine.application.processor that return OrderOfferAdjustmentModifier and TypeMethodDescriptionprotected OrderOfferAdjustment
DefaultOrderOfferProcessor.createOrderOfferAdjustment
(OfferProcessingContext context, CandidateOrderOffer orderOffer, javax.money.MonetaryAmount amount) Methods in com.broadleafcommerce.promotion.offer.service.engine.application.processor with parameters of type OrderOfferAdjustmentModifier 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) Method parameters in com.broadleafcommerce.promotion.offer.service.engine.application.processor with type arguments of type OrderOfferAdjustmentModifier and TypeMethodDescriptionprotected List<CandidateFulfillmentGroupOffer>
DefaultFulfillmentGroupOfferProcessor.convertToFulfillmentGroupOffers
(CombinedTypesOfferPermutation ctop, List<OrderOfferAdjustment> adjustments) -
Uses of OrderOfferAdjustment in com.broadleafcommerce.promotion.offer.service.engine.proration
Methods in com.broadleafcommerce.promotion.offer.service.engine.proration with parameters of type OrderOfferAdjustmentModifier 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
Methods in com.broadleafcommerce.promotion.offer.web.context that return types with arguments of type OrderOfferAdjustmentMethod parameters in com.broadleafcommerce.promotion.offer.web.context with type arguments of type OrderOfferAdjustmentModifier and TypeMethodDescriptionvoid
EnhancedOrder.setOrderAdjustments
(List<OrderOfferAdjustment> orderAdjustments)