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 TypeMethodDescriptionvoidOrderOfferPermutationResult.addAdjustment(OrderOfferAdjustment adjustment) Adds the adjustment to this permutation result and prorate it across the relevant items.voidOrderTotals.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 OrderOfferAdjustmentDefaultOrderOfferProcessor.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 CandidateFulfillmentGroupOfferDefaultFulfillmentGroupOfferProcessor.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 ofEnhancedProratedOfferAdjustmentsthat prorates the adjustment value of the passed inOrderOfferAdjustmentto the passed in list of relevantEnhancedLineItemsprotected booleanDefaultProrationService.shouldProrateAdjustment(OrderOfferAdjustment adjustment) Determines whether the givenOrderOfferAdjustmentshould 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 TypeMethodDescriptionvoidEnhancedOrder.setOrderAdjustments(List<OrderOfferAdjustment> orderAdjustments)