Uses of Class
com.broadleafcommerce.promotion.offer.web.context.info.OfferQualifier
Package
Description
-
Uses of OfferQualifier in com.broadleafcommerce.promotion.offer.service.dto
Modifier and TypeMethodDescriptionvoid
CandidateItemOffer.setMaxSavingsQualifiers
(Map<LineItemOfferDetail, OfferQualifier> maxSavingsQualifiers) -
Uses of OfferQualifier in com.broadleafcommerce.promotion.offer.service.engine.application.processor.helper.item
Modifier and TypeMethodDescriptionprotected void
DefaultQualifierAndTargetMarker.rollbackQualifierMarkageBecauseMissingTarget
(OfferQualifier offerQualifier, int qtyToMarkAsQualifier, LineItemOfferDetail detail, ItemCriteriaRule previousQualifierCriteria) Undoes marking qualifiers because there were no matching targets. -
Uses of OfferQualifier in com.broadleafcommerce.promotion.offer.service.engine.proration
Modifier and TypeMethodDescriptionprotected boolean
DefaultProrationService.isMatchingQualifier
(Offer offer, OfferQualifier qualifier) -
Uses of OfferQualifier in com.broadleafcommerce.promotion.offer.web.context.info
Modifier and TypeMethodDescriptionprotected OfferQualifier
LineItemOfferDetail.addNewQualifierAndGet
(com.broadleafcommerce.common.extension.TypeFactory offerFactory, CandidateItemOffer itemOffer) LineItemOfferDetail.addOrUpdateMatchingOfferQualifier
(CandidateItemOffer itemOffer, ItemCriteriaRule qualifierCriteria, int qtyToMarkAsQualifier, com.broadleafcommerce.common.extension.TypeFactory offerFactory) Either creates a newOfferQualifier
or updates a preexisting one for the givenCandidateItemOffer
, marking the quantity of to reserve for use as qualifiers for the givenItemCriteriaRule
.OfferQualifier.copy
(com.broadleafcommerce.common.extension.TypeFactory offerFactory) Creates a copy of this offer discount.OfferQualifier.split
(com.broadleafcommerce.common.extension.TypeFactory offerFactory, int splitItemQty) Checks to see that the discount quantities match the target quantities.Modifier and TypeMethodDescriptionLineItemOfferDetail.getOfferQualifiers()
Additional information about theoffers
using theLineItemOfferDetail.lineItem
as item qualifiers.protected Optional<OfferQualifier>
LineItemOfferDetail.lookupOfferQualifierByOffer
(CandidateItemOffer itemOffer) Modifier and TypeMethodDescriptionprotected int
LineItemOfferDetail.getQuantityOfItemsExclusivelyUsedAsQualifiers
(CandidateItemOffer thisOffer, Set<OfferQualifier> offerQualifiers, boolean isForQualifierQty) Calculates the number oforder items
already exclusively used as qualifiers.void
LineItemOfferDetail.setOfferQualifiers
(Set<OfferQualifier> offerQualifiers) Additional information about theoffers
using theLineItemOfferDetail.lineItem
as item qualifiers.