Uses of Class
com.broadleafcommerce.promotion.offer.domain.OffersAndOfferCodesUsabilityInfo
Package
Description
-
Uses of OffersAndOfferCodesUsabilityInfo in com.broadleafcommerce.promotion.offer.service
Modifier and TypeMethodDescriptionDefaultOfferAndOfferCodeUsabilityService.getOfferAndOfferCodeUsabilityInfo
(List<String> codes, com.broadleafcommerce.promotion.offer.client.web.context.CustomerContext customerContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) DefaultOfferAndOfferCodeUsabilityService.getOfferAndOfferCodeUsabilityInfo
(List<String> codes, List<? extends Offer> offers, com.broadleafcommerce.promotion.offer.client.web.context.CustomerContext customerContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) protected OffersAndOfferCodesUsabilityInfo
DefaultOfferAndOfferCodeUsabilityService.getOfferAndOfferCodeUsabilityInfo
(List<String> codes, List<? extends Offer> offers, List<? extends OfferCode> offerCodesForCode, com.broadleafcommerce.promotion.offer.client.web.context.CustomerContext customerContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) OfferAndOfferCodeUsabilityService.getOfferAndOfferCodeUsabilityInfo
(List<String> codes, com.broadleafcommerce.promotion.offer.client.web.context.CustomerContext customerContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Checks the providedcodes
against the offer codes and offers to determine whether the code is usable.OfferAndOfferCodeUsabilityService.getOfferAndOfferCodeUsabilityInfo
(List<String> codes, List<? extends Offer> offers, com.broadleafcommerce.promotion.offer.client.web.context.CustomerContext customerContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Checks the providedcodes
against the offer codes and provided offers to determine whether the code is usable.protected OffersAndOfferCodesUsabilityInfo
DefaultOfferAndOfferCodeUsabilityService.initilizeOfferAndOfferCodeUsabilityInfos
(List<String> codes, List<? extends Offer> offers, List<? extends OfferCode> offerCodesForCode, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Modifier and TypeMethodDescriptionprotected void
DefaultOfferAndOfferCodeUsabilityService.buildUsabilityInfoForCode
(OffersAndOfferCodesUsabilityInfo usabilityInfo, OfferCode code, boolean canUse) protected void
DefaultOfferAndOfferCodeUsabilityService.checkOfferCustomerUsageUsability
(OffersAndOfferCodesUsabilityInfo usabilityInfo, List<? extends OfferCode> offerCodesForCode, List<OfferAuditDetail> offerAuditDetails, Instant endDate, Offer offer) protected void
DefaultOfferAndOfferCodeUsabilityService.checkOfferMaxUsageUsability
(OffersAndOfferCodesUsabilityInfo usabilityInfo, List<? extends OfferCode> offerCodesForCode, List<OfferAuditSummary> offerAuditSummaries, Offer offer) protected void
DefaultOfferAndOfferCodeUsabilityService.determineCodeUsability
(OffersAndOfferCodesUsabilityInfo usabilityInfos) protected void
DefaultOfferAndOfferCodeUsabilityService.markCodesUnavailableToUser
(@NonNull OffersAndOfferCodesUsabilityInfo usabilityInfo, List<? extends OfferCode> codesWithMaxUsagesPerUser) protected void
DefaultOfferAndOfferCodeUsabilityService.markOfferUnavailableToUser
(@NonNull OffersAndOfferCodesUsabilityInfo usabilityInfo, @NonNull List<? extends Offer> maxUsagesPerUserOffers, List<? extends OfferCode> offerCodesForCode) protected void
DefaultOfferAndOfferCodeUsabilityService.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 void
DefaultOfferAndOfferCodeUsabilityService.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 void
DefaultOfferAndOfferCodeUsabilityService.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 void
DefaultOfferAndOfferCodeUsabilityService.verifyUsabilityForMaxUseOffers
(OffersAndOfferCodesUsabilityInfo usabilityInfo, List<? extends Offer> offers, List<? extends OfferCode> offerCodesForCode, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
DefaultOfferAndOfferCodeUsabilityService.verifyUsabilityForMultiUseOfferCodes
(OffersAndOfferCodesUsabilityInfo usabilityInfo, List<? extends Offer> offers, List<? extends OfferCode> offerCodesForCode, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
DefaultOfferAndOfferCodeUsabilityService.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 void
DefaultOfferAndOfferCodeUsabilityService.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 void
DefaultOfferAndOfferCodeUsabilityService.verifyUsabilityForSingleUseOfferCodes
(OffersAndOfferCodesUsabilityInfo usabilityInfo, List<? extends Offer> offers, List<? extends OfferCode> offerCodesForCode, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
Uses of OffersAndOfferCodesUsabilityInfo in com.broadleafcommerce.promotion.offer.service.engine.candidate
Modifier and TypeMethodDescriptionprotected OffersAndOfferCodesUsabilityInfo
DefaultOfferCandidateService.gatherOfferAndOfferCodeUsabilityInfo
(EnhancedOrder order, List<P> offerList, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Modifier and TypeMethodDescriptionprotected void
DefaultOfferCandidateService.buildOfferUsablilityCodeResponses
(EnhancedOrder order, List<P> offerList, OffersAndOfferCodesUsabilityInfo usabilityInfo) protected boolean
DefaultOfferCandidateService.isCanUseOfferCodes
(OffersAndOfferCodesUsabilityInfo usabilityInfo, P offer)