Uses of Class
com.broadleafcommerce.promotion.offer.domain.Offer
Packages that use Offer
Package
Description
-
Uses of Offer in com.broadleafcommerce.promotion.offer.dataimport
Methods in com.broadleafcommerce.promotion.offer.dataimport that return types with arguments of type OfferModifier and TypeMethodDescriptionprotected OfferService<Offer>OfferCodeImportBatchHandler.getOfferService()OfferCodeImportBatchHandler.getRelatedOffersForBatch(com.broadleafcommerce.common.dataimport.messaging.BatchRequest batch, String parentEntityId) Queries for the related offers of the batch records by id or external id.Method parameters in com.broadleafcommerce.promotion.offer.dataimport with type arguments of type OfferModifier and TypeMethodDescriptionprotected Map<String,org.apache.commons.lang3.tuple.Pair<OfferCode, com.broadleafcommerce.common.dataimport.messaging.BatchRecord>> OfferCodeImportBatchHandler.convertBatchRecords(com.broadleafcommerce.common.dataimport.messaging.BatchRequest batch, List<Offer> offers, List<Campaign> campaigns, List<com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord> erroredCompletions, String parentEntityId) Converts all of the batch records in the batch request to offer codes.OfferCodeImportBatchHandler.convertBatchRecordToOfferCode(com.broadleafcommerce.common.dataimport.messaging.BatchRequest batch, com.broadleafcommerce.common.dataimport.messaging.BatchRecord record, List<Offer> offers, List<Campaign> campaigns, List<com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord> erroredCompletions, String parentEntityId) Converts the batch record into an offer code, orOptional.empty()if conversion failed.protected StringOfferCodeImportBatchHandler.findRelatedOffer(List<Offer> offers, com.broadleafcommerce.common.dataimport.messaging.BatchRecord record, String batchType, List<com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord> erroredCompletions) protected booleanOfferCodeImportBatchHandler.isMatchingUniqueOfferIds(OfferCode codeToImport, OfferCode existingCode, com.broadleafcommerce.common.dataimport.messaging.BatchRecord batchRecord, List<Offer> offers) OfferCodeImportBatchHandler.validateAndBuildPersistenceRequests(Map<String, org.apache.commons.lang3.tuple.Pair<OfferCode, com.broadleafcommerce.common.dataimport.messaging.BatchRecord>> codesToImport, List<Offer> offers, List<Campaign> campaigns, List<com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord> errorsResults, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) This method is used to validate that the offer codes can be imported.protected booleanOfferCodeImportBatchHandler.validOfferCodeUpdateRequest(OfferCode codeToImport, OfferCode existingCode, com.broadleafcommerce.common.dataimport.messaging.BatchRecord batchRecord, List<Offer> offers, List<Campaign> campaigns, List<com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord> errorsResults) Constructor parameters in com.broadleafcommerce.promotion.offer.dataimport with type arguments of type OfferModifierConstructorDescriptionOfferCodeImportBatchHandler(OfferCodeConverter offerCodeConverter, OfferCodeService<OfferCode> offerCodeService, com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator hydrator, OfferCodeDefaultsInitializer offerCodeDefaultsInitializer, OfferService<Offer> offerService, CampaignService<Campaign> campaignService) -
Uses of Offer in com.broadleafcommerce.promotion.offer.dataimport.autoconfigure
Method parameters in com.broadleafcommerce.promotion.offer.dataimport.autoconfigure with type arguments of type OfferModifier and TypeMethodDescriptionOfferServicesImportAutoConfiguration.offerCodeImportBatchHandler(OfferCodeConverter offerCodeConverter, OfferCodeDefaultsInitializer offerCodeDefaultsInitializer, OfferCodeService<OfferCode> offerCodeService, OfferService<Offer> offerService, CampaignService<Campaign> campaignService, com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator hydrator) -
Uses of Offer in com.broadleafcommerce.promotion.offer.domain
Methods in com.broadleafcommerce.promotion.offer.domain with parameters of type Offer -
Uses of Offer in com.broadleafcommerce.promotion.offer.service
Classes in com.broadleafcommerce.promotion.offer.service with type parameters of type OfferModifier and TypeClassDescriptionclassclassDefaultMarketingMessageResolver<P extends MarketingMessage,O extends Offer> classDefaultOfferService<P extends Offer>interfaceMarketingMessageOfferCandidateService<P extends Offer>This service is responsible for finding all the activeOffersrelated to aEnhancedLineItemin order to provide theItemMarketingMessageResolverto retrieve every relevantMarketingMessage.interfaceMarketingMessageResolver<P extends MarketingMessage,O extends Offer> Service API to retrieveMarketingMessagesfor aMarketingMessageRequestbased on theOffersthe messages belong to, theMarketingMessageLocationType, and theMarketingMessageTargetType.interfaceOfferService<P extends Offer>Fields in com.broadleafcommerce.promotion.offer.service with type parameters of type OfferModifier and TypeFieldDescriptionprotected final OfferService<Offer>DefaultOfferAndOfferCodeUsabilityService.offerServiceMethods in com.broadleafcommerce.promotion.offer.service that return OfferModifier and TypeMethodDescriptionprotected OfferDefaultOfferCodeService.convertOfferFromPersistentDomain(com.broadleafcommerce.data.tracking.core.Trackable domain, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Methods in com.broadleafcommerce.promotion.offer.service that return types with arguments of type OfferModifier and TypeMethodDescriptionDefaultOfferCodeService.findOffersAndOfferCodesByCodes(List<String> codes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) OfferCodeService.findOffersAndOfferCodesByCodes(List<String> codes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected OfferService<Offer>DefaultOfferAuditDetailService.getOfferService()protected OfferService<Offer>DefaultOfferCodeService.getOfferService()Methods in com.broadleafcommerce.promotion.offer.service with parameters of type OfferModifier and TypeMethodDescriptionprotected voidDefaultOfferAuditDetailService.buildAuditDetailList(List<OfferUsageDetails> usageDetailsList, List<OfferCode> offerCodes, List<OfferAuditSummary> offerAuditSummaries, List<P> customerAuditDetailList, Offer offer) protected com.broadleafcommerce.promotion.offer.client.web.context.OfferUsabilityInfoDefaultOfferAndOfferCodeUsabilityService.buildOfferUsabilityInfo(Offer offer) protected voidDefaultOfferAndOfferCodeUsabilityService.checkOfferCustomerUsageUsability(OffersAndOfferCodesUsabilityInfo usabilityInfo, List<? extends OfferCode> offerCodesForCode, List<OfferAuditDetail> offerAuditDetails, Instant endDate, Offer offer) protected voidDefaultOfferAndOfferCodeUsabilityService.checkOfferMaxUsageUsability(OffersAndOfferCodesUsabilityInfo usabilityInfo, List<? extends OfferCode> offerCodesForCode, List<OfferAuditSummary> offerAuditSummaries, Offer offer) protected booleanDefaultOfferAndOfferCodeUsabilityService.checkTotalDiscountedBalance(Offer offer, javax.money.MonetaryAmount totalAlreadyDiscounted) protected intDefaultOfferAndOfferCodeUsabilityService.determineMaxUsesPerCustomer(List<OfferAuditDetail> offerAuditDetails, Instant endDate, Offer offer) protected booleanDefaultMarketingMessageResolver.isItemOffer(Offer offer) Checks if theOffertargets an order or fulfillment group item.protected booleanDefaultMarketingMessageResolver.isItemQualifier(Offer offer, EnhancedLineItem item) Checks if any of the rules ingetItemQualifierCriteria()matches the line item on this request in order to determine if the line item can be used to qualify for the offer.protected booleanDefaultMarketingMessageResolver.isItemTarget(Offer offer, EnhancedLineItem item) If this is an item offer, checks if any of the rules ingetTargetItemCriteria()matches the line item on this request in order to determine if the line item can be used as the target for the offer.protected ItemCriteriaDefaultMarketingMessageResolver.modifyItemCriteria(Offer offer, ItemCriteria itemCriteria) In certain cases (i.e.voidDefaultOfferMaxUseStatusManager.updateStatusForOffer(Offer offer, String status, boolean invalidateIfApplicable) voidOfferMaxUseStatusManager.updateStatusForOffer(Offer offer, String status, boolean invalidateIfApplicable) Set the status for an offer in the persistence store.Method parameters in com.broadleafcommerce.promotion.offer.service with type arguments of type OfferModifier and TypeMethodDescriptionprotected com.broadleafcommerce.promotion.offer.client.web.context.CodeUsabilityInfoDefaultOfferAndOfferCodeUsabilityService.buildCodeUsabilityInfo(List<? extends Offer> offers, List<? extends OfferCode> offerCodesForCode, String code) protected StringDefaultOfferAndOfferCodeUsabilityService.determineCodeUsabilityType(List<? extends Offer> offers, OfferCode offerCode) protected voidDefaultOfferAndOfferCodeUsabilityService.markOfferUnavailableToUser(@NonNull OffersAndOfferCodesUsabilityInfo usabilityInfo, @NonNull List<? extends Offer> maxUsagesPerUserOffers, List<? extends OfferCode> offerCodesForCode) voidDefaultOfferAuditDetailService.setOfferService(OfferService<Offer> offerService) voidDefaultOfferCodeService.setOfferService(OfferService<Offer> offerService) protected voidDefaultOfferAndOfferCodeUsabilityService.verifyUsabilityForCodesEmailRegex(OffersAndOfferCodesUsabilityInfo usabilityInfo, List<Offer> offers, List<? extends OfferCode> offerCodes, com.broadleafcommerce.promotion.offer.client.web.context.CustomerContext customerContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected voidDefaultOfferAndOfferCodeUsabilityService.verifyUsabilityForCustomerUseOfferCodes(OffersAndOfferCodesUsabilityInfo usabilityInfo, List<? extends Offer> offers, List<? extends OfferCode> offerCodesForCode, com.broadleafcommerce.promotion.offer.client.web.context.CustomerContext customerContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected voidDefaultOfferAndOfferCodeUsabilityService.verifyUsabilityForCustomerUseOffers(OffersAndOfferCodesUsabilityInfo usabilityInfo, List<? extends Offer> offers, List<? extends OfferCode> offerCodesForCode, com.broadleafcommerce.promotion.offer.client.web.context.CustomerContext customerContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected voidDefaultOfferAndOfferCodeUsabilityService.verifyUsabilityForMaxUseOffers(OffersAndOfferCodesUsabilityInfo usabilityInfo, List<? extends Offer> offers, List<? extends OfferCode> offerCodesForCode, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected voidDefaultOfferAndOfferCodeUsabilityService.verifyUsabilityForMultiUseOfferCodes(OffersAndOfferCodesUsabilityInfo usabilityInfo, List<? extends Offer> offers, List<? extends OfferCode> offerCodesForCode, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected voidDefaultOfferAndOfferCodeUsabilityService.verifyUsabilityForOfferCodesHook(OffersAndOfferCodesUsabilityInfo usabilityInfo, List<Offer> offers, List<? extends OfferCode> offerCodes, com.broadleafcommerce.promotion.offer.client.web.context.CustomerContext customerContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Hookpoint to use to add additional, custom verification logic for offer code usability besides what is provided out of box.protected voidDefaultOfferAndOfferCodeUsabilityService.verifyUsabilityForOffersHook(OffersAndOfferCodesUsabilityInfo usabilityInfo, List<Offer> offers, List<? extends OfferCode> offerCodes, com.broadleafcommerce.promotion.offer.client.web.context.CustomerContext customerContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Hookpoint to use to add additional, custom verification logic for offer usability besides what is provided out of box.protected voidDefaultOfferAndOfferCodeUsabilityService.verifyUsabilityForSingleUseOfferCodes(OffersAndOfferCodesUsabilityInfo usabilityInfo, List<? extends Offer> offers, List<? extends OfferCode> offerCodesForCode, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Constructor parameters in com.broadleafcommerce.promotion.offer.service with type arguments of type OfferModifierConstructorDescriptionDefaultOfferAndOfferCodeUsabilityService(OfferCodeService<OfferCode> offerCodeService, OfferService<Offer> offerService, CampaignService<Campaign> campaignService, SharedCodeSummaryService<SharedCodeAuditSummary> sharedCodeSummaryService, OfferSummaryService<OfferAuditSummary> offerSummaryService, OfferAuditDetailService<OfferAuditDetail> offerAuditDetailService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of Offer in com.broadleafcommerce.promotion.offer.service.autoconfigure
Methods in com.broadleafcommerce.promotion.offer.service.autoconfigure with type parameters of type OfferModifier and TypeMethodDescription<P extends Offer>
MarketingMessageOfferCandidateService<P>OfferServiceAutoConfiguration.marketingMessageOfferCandidateService(OfferCandidateService<P> offerCandidateService) <P extends MarketingMessage,O extends Offer>
MarketingMessageResolver<P,O> OfferServiceAutoConfiguration.marketingMessageRetrievalService(MarketingMessageService<P> marketingMessageService, OfferCandidateService<O> offerCandidateService, OfferService<O> offerService, MarketingMessageOfferCandidateService<O> marketingMessageOfferCandidateService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) <P extends Offer>
OfferCandidateService<P>OfferServiceAutoConfiguration.offerCandidateService(OfferService<P> offerService, OfferAuditDetailService<? extends OfferAuditDetail> offerAuditDetailService, OfferUserService offerUserService, CandidateOfferUtility candidateOfferUtility) <P extends Offer>
OfferService<P>OfferServiceAutoConfiguration.offerService(OfferRepository<com.broadleafcommerce.data.tracking.core.Trackable> offerRepository, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper helper, com.broadleafcommerce.common.extension.cache.CacheStateManager cacheStateManager, com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> parser) Method parameters in com.broadleafcommerce.promotion.offer.service.autoconfigure with type arguments of type OfferModifier and TypeMethodDescriptionOfferServiceAutoConfiguration.codeUsabilityService(OfferCodeService<OfferCode> codeService, OfferService<Offer> offerService, CampaignService<Campaign> campaignService, SharedCodeSummaryService<SharedCodeAuditSummary> sharedCodeSummaryService, OfferSummaryService<OfferAuditSummary> offerSummaryService, OfferAuditDetailService<OfferAuditDetail> offerAuditDetailService, com.broadleafcommerce.common.extension.TypeFactory factory) -
Uses of Offer in com.broadleafcommerce.promotion.offer.service.dto
Methods in com.broadleafcommerce.promotion.offer.service.dto that return OfferMethods in com.broadleafcommerce.promotion.offer.service.dto that return types with arguments of type OfferModifier and TypeMethodDescriptionItemOfferPermutationResult.buildAppliedItemOffersMap(List<LineItemOfferDetail> details) OfferProcessingContext.getAppliedFulfillmentGroupOffers()OfferProcessingContext.getAppliedFulfillmentItemOffers()ItemOfferPermutationResult.getAppliedItemOffers()FulfillmentGroupOfferPermutationResult.getAppliedOffers()OrderOfferPermutationResult.getAppliedOffers()OfferProcessingContext.getAppliedOrderItemOffers()OfferProcessingContext.getAppliedOrderOffers()Methods in com.broadleafcommerce.promotion.offer.service.dto with parameters of type OfferModifier and TypeMethodDescriptionprotected booleanOfferProcessingContext.isNotAppliedOffer(Set<Offer> appliedOffers, Offer offer) voidThe candidateOffer.protected voidBaseCandidateOffer.updateAmountCurrency(@NonNull Offer offer, @NonNull javax.money.CurrencyUnit currencyToSet, @NonNull Function<Offer, javax.money.MonetaryAmount> amountGetter, @NonNull BiConsumer<Offer, javax.money.MonetaryAmount> amountSetter) Method parameters in com.broadleafcommerce.promotion.offer.service.dto with type arguments of type OfferModifier and TypeMethodDescriptionprotected booleanOfferProcessingContext.isNotAppliedOffer(Set<Offer> appliedOffers, Offer offer) voidFulfillmentGroupOfferPermutationResult.setAppliedOffers(List<Offer> appliedOffers) voidOrderOfferPermutationResult.setAppliedOffers(List<Offer> appliedOffers) protected voidBaseCandidateOffer.updateAmountCurrency(@NonNull Offer offer, @NonNull javax.money.CurrencyUnit currencyToSet, @NonNull Function<Offer, javax.money.MonetaryAmount> amountGetter, @NonNull BiConsumer<Offer, javax.money.MonetaryAmount> amountSetter) protected voidBaseCandidateOffer.updateAmountCurrency(@NonNull Offer offer, @NonNull javax.money.CurrencyUnit currencyToSet, @NonNull Function<Offer, javax.money.MonetaryAmount> amountGetter, @NonNull BiConsumer<Offer, javax.money.MonetaryAmount> amountSetter) -
Uses of Offer in com.broadleafcommerce.promotion.offer.service.engine
Methods in com.broadleafcommerce.promotion.offer.service.engine with parameters of type OfferModifier and TypeMethodDescriptionprotected voidDefaultOfferEngineResponseBuilder.addCampaignTrackingIdToAdjustmentIfUsed(@NonNull Offer offer, @NonNull com.broadleafcommerce.promotion.offer.client.web.context.info.Adjustment adjustment, @NonNull OfferCodeData offerCodeData) protected voidDefaultOfferEngineResponseBuilder.addOrderCodeToAdjustmentIfUsed(@NonNull Offer offer, @NonNull com.broadleafcommerce.promotion.offer.client.web.context.info.Adjustment adjustment, @NonNull OfferCodeData offerCodeData) Adds an offer code to the givenAdjustmentif it is present on the order.protected com.broadleafcommerce.promotion.offer.client.web.context.info.AdjustmentDefaultOfferEngineResponseBuilder.getAdjustment(@NonNull Offer offer, @NonNull javax.money.MonetaryAmount amount, @NonNull OfferCodeData offerCodeData) Creates anAdjustmentcaused by theOfferfor an order.protected com.broadleafcommerce.promotion.offer.client.web.context.info.OfferRefDefaultOfferEngineResponseBuilder.getOfferRef(@NonNull Offer offer) Creates anOfferReffor the givenOffer. -
Uses of Offer in com.broadleafcommerce.promotion.offer.service.engine.application.processor
Methods in com.broadleafcommerce.promotion.offer.service.engine.application.processor with parameters of type OfferModifier and TypeMethodDescriptionprotected voidDefaultFulfillmentGroupOfferProcessor.addCodeResponseToPermutationResult(EnhancedOrder order, Offer offer, FulfillmentGroupOfferPermutationResult result, com.broadleafcommerce.promotion.offer.client.web.context.discounts.CodeResponse codeResponse) Adds theCodeResponseto theFulfillmentGroupOfferPermutationResultfor the provided offer.protected voidDefaultItemOfferProcessor.addCodeResponseToPermutationResult(EnhancedOrder order, Offer offer, ItemOfferPermutationResult result, com.broadleafcommerce.promotion.offer.client.web.context.discounts.CodeResponse codeResponse) Adds theCodeResponseto theItemOfferPermutationResultfor the provided offer.protected voidDefaultOrderOfferProcessor.addCodeResponseToPermutationResult(EnhancedOrder order, Offer offer, OrderOfferPermutationResult result, com.broadleafcommerce.promotion.offer.client.web.context.discounts.CodeResponse codeResponse) Adds theCodeResponseto theOrderOfferPermutationResultfor the provided offer.protected voidDefaultItemOfferProcessor.addOrderCodeToAdjustmentIfUsed(@NonNull Offer offer, @NonNull com.broadleafcommerce.promotion.offer.client.web.context.info.Adjustment adjustment, @NonNull Set<String> allOrderCodes) Adds an offer code to the givenAdjustmentif it is present on the order.protected javax.money.MonetaryAmountDefaultOrderOfferProcessor.adjustToMaxValueIfNeeded(Offer offer, javax.money.MonetaryAmount adjustmentValue) protected com.broadleafcommerce.promotion.offer.client.web.context.info.FreeGiftItemDefaultItemOfferProcessor.buildFreeGiftItem(Offer offer, int quantityToAdd, com.broadleafcommerce.promotion.offer.client.web.context.info.Adjustment adjustment) Builds aFreeGiftItemfrom the givenOffer, quantity, and qualifier item ids.protected com.broadleafcommerce.promotion.offer.client.web.context.info.VoucherDefaultOrderOfferProcessor.buildVoucher(Offer voucherOffer) Deprecated, for removal: This API element is subject to removal in a future version.protected javax.money.MonetaryAmountDefaultItemOfferProcessor.getEstimatedFreeGiftValue(EnhancedOrder order, Offer offer) protected javax.money.MonetaryAmountDefaultOrderOfferProcessor.getEstimatedVoucherValue(EnhancedOrder order, Offer offer) -
Uses of Offer in com.broadleafcommerce.promotion.offer.service.engine.application.processor.helper.item
Methods in com.broadleafcommerce.promotion.offer.service.engine.application.processor.helper.item with parameters of type OfferModifier and TypeMethodDescriptionprotected voidDefaultPotentialSavingsCalculator.assertOfferNotNull(Offer offer) protected ItemCriteriaRuleDefaultQualifierAndTargetMarker.getPreviousItemCriteria(LineItemOfferDetail detail, Offer offer) protected List<LineItemOfferDetail>DefaultQualifierAndTargetMarker.getSortedItemOfferDetails(Offer offer, Collection<? extends EnhancedLineItem> orderLineItems, boolean isForQualifiers) protected booleanDefaultPotentialSavingsCalculator.isPercentOffOffer(Offer offer) protected booleanDefaultPotentialSavingsCalculator.shouldCalculateSimplePercent(Offer offer) protected booleanDefaultPotentialSavingsCalculator.usePercentOffValue(Offer offer) -
Uses of Offer in com.broadleafcommerce.promotion.offer.service.engine.candidate
Classes in com.broadleafcommerce.promotion.offer.service.engine.candidate with type parameters of type OfferModifier and TypeClassDescriptionclassDefaultOfferCandidateService<P extends Offer>interfaceOfferCandidateService<P extends Offer>This service determines what offers are candidates for a provided order and context.Methods in com.broadleafcommerce.promotion.offer.service.engine.candidate with parameters of type OfferModifier and TypeMethodDescriptionDefaultOfferUserService.buildUserTargetsForOfferCustomerContext(Offer offer, com.broadleafcommerce.promotion.offer.client.web.context.CustomerContext customerContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) OfferUserService.buildUserTargetsForOfferCustomerContext(Offer offer, com.broadleafcommerce.promotion.offer.client.web.context.CustomerContext customerContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) For the provided customer information, check if there are no more usages for the provided offer available.DefaultOfferCandidateService.constructCandidateOffer(Offer offer, EnhancedOrder order) CandidateOfferUtility.createCandidateFulfillmentGroupOffer(EnhancedOrder order, Offer offer) Creates aCandidateFulfillmentGroupOfferfor the given order and offer.DefaultCandidateOfferUtility.createCandidateFulfillmentGroupOffer(EnhancedOrder order, Offer offer) CandidateOfferUtility.createCandidateFulfillmentItemOffer(EnhancedOrder order, Offer offer) Creates aCandidateItemOfferfor the given order and offer.DefaultCandidateOfferUtility.createCandidateFulfillmentItemOffer(EnhancedOrder order, Offer offer) CandidateOfferUtility.createCandidateOrderItemOffer(EnhancedOrder order, Offer offer) Creates aCandidateItemOfferfor the given order and offer.DefaultCandidateOfferUtility.createCandidateOrderItemOffer(EnhancedOrder order, Offer offer) CandidateOfferUtility.createCandidateOrderOffer(EnhancedOrder order, Offer offer) Creates aCandidateOrderOfferfor the given order and offer.DefaultCandidateOfferUtility.createCandidateOrderOffer(EnhancedOrder order, Offer offer) protected booleanDefaultOfferCandidateService.evaluateSubscriptionDiscountAgainstItems(@NonNull Offer offer, @NonNull Map<ItemCriteriaRule, Collection<EnhancedLineItem>> itemCriteriaMap) protected booleanDefaultOfferCandidateService.isAnyMatchFoundAcrossAllItems(@NonNull EnhancedOrder order, @NonNull CandidateFulfillmentGroupOffer candidateOffer, @NonNull Offer offer) protected booleanDefaultOfferCandidateService.isAnyMatchFoundInAnyFulfillmentGroup(EnhancedOrder order, CandidateFulfillmentGroupOffer candidateOffer, Offer offer) protected voidDefaultCandidateOfferUtility.populateCandidateOfferCurrency(@NonNull BaseCandidateOffer candidateOffer, @NonNull EnhancedOrder order, @NonNull Offer offer) protected voidDefaultOfferCandidateService.updateReasonResponsesForTargetNotMet(@NotNull EnhancedOrder order, Offer offer) -
Uses of Offer in com.broadleafcommerce.promotion.offer.service.engine.proration
Methods in com.broadleafcommerce.promotion.offer.service.engine.proration with parameters of type OfferModifier and TypeMethodDescriptionprotected com.broadleafcommerce.promotion.offer.client.web.context.info.OfferRefDefaultProrationService.createOfferRef(Offer offer) protected EnhancedProratedItemOfferAdjustmentDefaultProrationService.createProratedAdjustment(Offer offer, EnhancedLineItem lineItem, LineItemOfferDetail parentDetail, javax.money.MonetaryAmount proratedAmt, int quantity) protected booleanDefaultProrationService.isMatchingQualifier(Offer offer, OfferQualifier qualifier) protected Set<EnhancedProratedOfferAdjustment>DefaultProrationService.prorateAdjustmentAmongItems(Offer offer, javax.money.MonetaryAmount adjustmentAmount, DiscountableItemInfo discountableItemInfo, List<? extends EnhancedLineItem> lineItems, boolean updateItem) Prorates the given adjustment across the givenEnhancedLineItems. -
Uses of Offer in com.broadleafcommerce.promotion.offer.service.validation
Methods in com.broadleafcommerce.promotion.offer.service.validation that return types with arguments of type OfferModifier and TypeMethodDescriptionprotected OfferCandidateService<? extends Offer>DefaultVoucherOfferUsageValidator.getOfferCandidateService()protected OfferService<? extends Offer>DefaultOfferAndOfferCodeUsageValidator.getOfferService()Methods in com.broadleafcommerce.promotion.offer.service.validation with parameters of type OfferModifier and TypeMethodDescriptionprotected booleanOfferValidator.isFulfillmentItemTargetType(Offer offer) protected booleanOfferValidator.isFulfillmentTargetType(Offer offer) protected booleanOfferValidator.isOrderItemTargetType(Offer offer) protected booleanOfferValidator.isOrderTargetType(Offer offer) protected voidOfferValidator.validateActiveEndDate(Offer offer, org.springframework.validation.Errors errors) protected voidOfferValidator.validateActiveStartDate(Offer offer, org.springframework.validation.Errors errors) protected voidOfferValidator.validateApplyRemainderToFulfillment(Offer offer, org.springframework.validation.Errors errors) protected voidOfferValidator.validateCheapestTargetGroupingStrategyOnlyOrderItemTargetType(Offer offer, org.springframework.validation.Errors errors) protected voidOfferValidator.validateCombinabilityType(Offer offer, org.springframework.validation.Errors errors) protected booleanOfferValidator.validateDiscount(Offer offer, org.springframework.validation.Errors errors) protected voidOfferValidator.validateDiscountTier(Offer offer, DiscountTier discountTier, org.springframework.validation.Errors errors, String offerDiscountStrategy) protected voidOfferValidator.validateDiscountTiers(Offer offer, org.springframework.validation.Errors errors) protected voidOfferValidator.validateFreeGiftOffer(Offer offer, org.springframework.validation.Errors errors) protected voidOfferValidator.validateItemCriteria(Offer offer, org.springframework.validation.Errors errors) protected voidOfferValidator.validateMaxUsesPerUserStrategy(Offer offer, org.springframework.validation.Errors errors) protected voidOfferValidator.validateName(Offer offer, org.springframework.validation.Errors errors) protected voidOfferValidator.validateNotFixedPrice(Offer offer, org.springframework.validation.Errors errors) protected voidOfferValidator.validateOfferCurrency(Offer offer, org.springframework.validation.Errors errors) protected voidOfferValidator.validateSubscriptionDiscount(Offer offer, org.springframework.validation.Errors errors) protected voidOfferValidator.validateUserTargets(Offer offer, org.springframework.validation.Errors errors) protected voidOfferValidator.validateVoucherOffer(Offer offer, org.springframework.validation.Errors errors) Constructor parameters in com.broadleafcommerce.promotion.offer.service.validation with type arguments of type OfferModifierConstructorDescriptionDefaultOfferAndOfferCodeUsageValidator(OfferAndOfferCodeUsabilityService offerAndOfferCodeUsabilityService, OfferService<? extends Offer> offerService, com.broadleafcommerce.common.extension.TypeFactory offerFactory) DefaultVoucherOfferUsageValidator(OfferCandidateService<? extends Offer> offerCandidateService, OrderAndItemOfferHelper helper, com.broadleafcommerce.common.extension.TypeFactory offerFactory) -
Uses of Offer in com.broadleafcommerce.promotion.offer.web.context
Methods in com.broadleafcommerce.promotion.offer.web.context with parameters of type OfferModifier and TypeMethodDescriptionvoidEnhancedOrder.removeCodesResponses(Offer offer) voidEnhancedOrder.removeCodesResponses(Offer offer, int timesUsed) voidEnhancedOrder.updateCodesResponses(Offer offer, com.broadleafcommerce.promotion.offer.client.web.context.discounts.CodeResponse response) voidEnhancedOrder.updateCodesResponses(Offer offer, com.broadleafcommerce.promotion.offer.client.web.context.discounts.CodeResponse response, Set<String> immutableOfferCodes) -
Uses of Offer in com.broadleafcommerce.promotion.offer.web.context.info
Methods in com.broadleafcommerce.promotion.offer.web.context.info that return OfferModifier and TypeMethodDescriptionFulfillmentGroupAdjustment.getOffer()ItemOfferAdjustment.getOffer()OfferDiscount.getOffer()OfferQualifier.getOffer()TheOfferusing someEnhancedLineItemas an item qualifier.OrderOfferAdjustment.getOffer()Methods in com.broadleafcommerce.promotion.offer.web.context.info with parameters of type OfferModifier and TypeMethodDescriptionprotected booleanLineItemOfferDetail.checkStackable(Offer offer, Offer otherOffer) protected booleanLineItemOfferDetail.isStackable(Offer offer, Offer otherOffer) voidvoidTheOffertargeting someEnhancedLineItem.voidTheOffertargeting someEnhancedLineItem.voidTheOfferusing someEnhancedLineItemas an item qualifier.void -
Uses of Offer in com.broadleafcommerce.promotion.offer.web.endpoint
Fields in com.broadleafcommerce.promotion.offer.web.endpoint with type parameters of type OfferModifier and TypeFieldDescriptionprotected final MarketingMessageResolver<MarketingMessage,Offer> MarketingMessageRetrievalEndpoint.marketingMessageResolverprotected final OfferCandidateService<? extends Offer>OfferEngineEndpoint.offerCandidateServiceprotected final OfferService<? extends Offer>OfferEngineEndpoint.offerServiceprotected final OfferService<Offer>SharedCodeAuditSummaryEndpoint.offerServiceMethods in com.broadleafcommerce.promotion.offer.web.endpoint that return OfferModifier and TypeMethodDescriptionprotected OfferMarketingMessagesEndpoint.assertOfferExistsAndReturn(String offerContextId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) OffersEndpoint.createOffer(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, Offer req) protected OfferOffersEndpoint.ensureOfferExistsAndReturn(@NonNull String offerId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) OffersEndpoint.readOfferById(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String offerId) OffersEndpoint.replaceOffer(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, Offer req) OffersEndpoint.updateOffer(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, Offer req) Methods in com.broadleafcommerce.promotion.offer.web.endpoint that return types with arguments of type OfferModifier and TypeMethodDescriptionprotected OfferService<Offer>MarketingMessagesEndpoint.getOfferService()protected OfferService<Offer>OffersEndpoint.getService()org.springframework.data.domain.Page<Offer>OffersEndpoint.readAllOffers(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String query, org.springframework.data.domain.Pageable page, cz.jirutka.rsql.parser.ast.Node filters) OffersEndpoint.readOfferByIds(jakarta.servlet.http.HttpServletRequest request, List<String> offerIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Methods in com.broadleafcommerce.promotion.offer.web.endpoint with parameters of type OfferModifier and TypeMethodDescriptionOffersEndpoint.createOffer(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, Offer req) OffersEndpoint.replaceOffer(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, Offer req) OffersEndpoint.updateOffer(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, Offer req) Constructor parameters in com.broadleafcommerce.promotion.offer.web.endpoint with type arguments of type OfferModifierConstructorDescriptionMarketingMessageRetrievalEndpoint(AuditVerficationProperties auditVerificationProperties, MarketingMessageResolver<MarketingMessage, Offer> marketingMessageResolver) MarketingMessagesEndpoint(MarketingMessageService<MarketingMessage> marketingMessageService, OfferService<Offer> offerService, com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationEntityService) OfferEngineEndpoint(OfferAuditDetailService<? extends OfferAuditDetail> auditService, OfferService<? extends Offer> offerService, OfferUserService offerUserService, OfferEngineService offerEngineService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, OfferCandidateService<? extends Offer> offerCandidateService, OfferAndOfferCodeUsageValidator offerandOfferCodeUsageValidator, VoucherOfferUsageValidator voucherOfferUsageValidator, OfferAndOfferCodeUsabilityService offerAndOfferCodeUsabilityService, AuditVerficationProperties auditVerificationProperties) OfferEngineEndpoint(OfferAuditDetailService<? extends OfferAuditDetail> auditService, OfferService<? extends Offer> offerService, OfferUserService offerUserService, OfferEngineService offerEngineService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, OfferCandidateService<? extends Offer> offerCandidateService, OfferAndOfferCodeUsageValidator offerandOfferCodeUsageValidator, VoucherOfferUsageValidator voucherOfferUsageValidator, OfferAndOfferCodeUsabilityService offerAndOfferCodeUsabilityService, AuditVerficationProperties auditVerificationProperties) OffersEndpoint(OfferService<Offer> service, OfferCodeService<OfferCode> offerCodeService, com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationEntityService) SharedCodeAuditSummaryEndpoint(OfferCodeService<OfferCode> offerCodeService, OfferService<Offer> offerService, CampaignService<Campaign> campaignService, SharedCodeSummaryService<SharedCodeAuditSummary> sharedCodeSummaryService, OfferAndOfferCodeUsabilityService offerAndOfferCodeUsabilityService, OfferAndOfferCodeUsageValidator offerandOfferCodeUsageValidator, AuditVerficationProperties auditVerificationProperties)
DefaultOrderOfferProcessor.buildVoucher(CandidateOrderOffer, EnhancedOrder)