Uses of Class
com.broadleafcommerce.promotion.offer.service.dto.OfferCodeData
Package
Description
-
Uses of OfferCodeData in com.broadleafcommerce.promotion.offer.service.dto
Modifier and TypeMethodDescriptionvoid
BaseCandidateOffer.populatePropertiesFromCodeData
(OfferCodeData codeData) -
Uses of OfferCodeData in com.broadleafcommerce.promotion.offer.service.engine
Modifier and TypeMethodDescriptionprotected void
DefaultOfferEngineResponseBuilder.addCampaignTrackingIdToAdjustmentIfUsed
(@NonNull Offer offer, @NonNull com.broadleafcommerce.promotion.offer.client.web.context.info.Adjustment adjustment, @NonNull OfferCodeData offerCodeData) protected void
DefaultOfferEngineResponseBuilder.addOfferCodeToProratedAdjustmentIfUsed
(@NonNull com.broadleafcommerce.promotion.offer.client.web.context.info.OfferRef offer, @NonNull com.broadleafcommerce.promotion.offer.client.web.context.info.ProratedOfferAdjustment proratedAdjustment, @NonNull OfferCodeData offerCodeData) Adds an offer code to the givenProratedOfferAdjustment
if it is present on the order.protected void
DefaultOfferEngineResponseBuilder.addOfferCodeToProratedItemAdjustmentIfUsed
(@NonNull com.broadleafcommerce.promotion.offer.client.web.context.info.OfferRef offer, @NonNull EnhancedProratedItemOfferAdjustment proratedItemAdjustment, @NonNull OfferCodeData offerCodeData) Adds an offer code to the givenEnhancedProratedItemOfferAdjustment
if it is present on the order.protected void
DefaultOfferEngineResponseBuilder.addOrderCodeToAdjustmentIfUsed
(@NonNull Offer offer, @NonNull com.broadleafcommerce.promotion.offer.client.web.context.info.Adjustment adjustment, @NonNull OfferCodeData offerCodeData) Adds an offer code to the givenAdjustment
if it is present on the order.protected com.broadleafcommerce.promotion.offer.client.web.context.info.Adjustment
DefaultOfferEngineResponseBuilder.getAdjustment
(@NonNull Offer offer, @NonNull javax.money.MonetaryAmount amount, @NonNull OfferCodeData offerCodeData) Creates anAdjustment
caused by theOffer
for an order.protected com.broadleafcommerce.promotion.offer.client.web.context.discounts.FulfillmentGroupResponse<P>
DefaultOfferEngineResponseBuilder.getFulfillmentGroupResponse
(@NonNull EnhancedOrder order, @NonNull EnhancedFulfillmentGroup group, @NonNull OfferCodeData offerCodeData) Creates an offer fulfillment group response for a fulfillment group.protected com.broadleafcommerce.promotion.offer.client.web.context.discounts.ItemAdjustment
DefaultOfferEngineResponseBuilder.getItemAdjustment
(@NonNull ItemOfferAdjustment itemOfferAdjustment, @NonNull OfferCodeData offerCodeData) Creates anItemAdjustment
for theItemOfferAdjustment
.protected com.broadleafcommerce.promotion.offer.client.web.context.discounts.ItemResponse<P>
DefaultOfferEngineResponseBuilder.getItemResponse
(@NonNull EnhancedLineItem lineItem, @NonNull OfferCodeData offerCodeData) Creates anOffer ItemResponse
for aline item
.protected com.broadleafcommerce.promotion.offer.client.web.context.discounts.ItemResponseDetail<P>
DefaultOfferEngineResponseBuilder.getItemResponseDetail
(@NonNull javax.money.CurrencyUnit currencyUnit, @NonNull LineItemOfferDetail orderItemOfferDetail, @NonNull OfferCodeData offerCodeData) Creates anOffer ItemResponseDetail
for aLineItemOfferDetail
. -
Uses of OfferCodeData in com.broadleafcommerce.promotion.offer.service.engine.candidate
Modifier and TypeMethodDescriptionprotected OfferCodeData
DefaultOfferCandidateService.createOfferCodeData()
-
Uses of OfferCodeData in com.broadleafcommerce.promotion.offer.web.context
Modifier and TypeMethodDescriptionvoid
EnhancedOrder.setOfferCodeData
(OfferCodeData offerCodeData)