Uses of Class
de.hybris.platform.promotions.model.PromotionResultModel
-
-
Uses of PromotionResultModel in de.hybris.platform.commercefacades.order.converters.populator
Methods in de.hybris.platform.commercefacades.order.converters.populator that return types with arguments of type PromotionResultModel Modifier and Type Method Description protected Converter<PromotionResultModel,PromotionResultData>AbstractOrderPopulator. getPromotionResultConverter()Methods in de.hybris.platform.commercefacades.order.converters.populator with parameters of type PromotionResultModel Modifier and Type Method Description voidPromotionResultPopulator. populate(PromotionResultModel source, PromotionResultData target)Method parameters in de.hybris.platform.commercefacades.order.converters.populator with type arguments of type PromotionResultModel Modifier and Type Method Description voidAbstractOrderPopulator. setPromotionResultConverter(Converter<PromotionResultModel,PromotionResultData> promotionResultConverter) -
Uses of PromotionResultModel in de.hybris.platform.commercefacades.product.converters.populator
Methods in de.hybris.platform.commercefacades.product.converters.populator that return types with arguments of type PromotionResultModel Modifier and Type Method Description protected java.util.List<PromotionResultModel>PromotionsPopulator. filter(java.util.List<PromotionResultModel> results, AbstractPromotionModel promotion)Method parameters in de.hybris.platform.commercefacades.product.converters.populator with type arguments of type PromotionResultModel Modifier and Type Method Description protected java.util.List<PromotionResultModel>PromotionsPopulator. filter(java.util.List<PromotionResultModel> results, AbstractPromotionModel promotion) -
Uses of PromotionResultModel in de.hybris.platform.core.model.order
Methods in de.hybris.platform.core.model.order that return types with arguments of type PromotionResultModel Modifier and Type Method Description java.util.Set<PromotionResultModel>AbstractOrderModel. getAllPromotionResults()Generated method - Getter of theAbstractOrder.allPromotionResultsattribute defined at extensionpromotions.Method parameters in de.hybris.platform.core.model.order with type arguments of type PromotionResultModel Modifier and Type Method Description voidAbstractOrderModel. setAllPromotionResults(java.util.Set<PromotionResultModel> value)Generated method - Setter ofAbstractOrder.allPromotionResultsattribute defined at extensionpromotions. -
Uses of PromotionResultModel in de.hybris.platform.couponservices.action.impl
Methods in de.hybris.platform.couponservices.action.impl that return types with arguments of type PromotionResultModel Modifier and Type Method Description java.util.List<PromotionResultModel>DefaultAddCouponActionStrategy. apply(AbstractRuleActionRAO action) -
Uses of PromotionResultModel in de.hybris.platform.couponservices.strategies.impl
Methods in de.hybris.platform.couponservices.strategies.impl with parameters of type PromotionResultModel Modifier and Type Method Description java.util.Optional<java.util.Set<java.lang.String>>DefaultCouponCodeRetrievalStrategy. getCouponCodesFromPromotion(PromotionResultModel promotionResult) -
Uses of PromotionResultModel in de.hybris.platform.promotionengineservices.action.impl
Methods in de.hybris.platform.promotionengineservices.action.impl that return types with arguments of type PromotionResultModel Modifier and Type Method Description java.util.List<PromotionResultModel>DefaultAddProductToCartActionStrategy. apply(AbstractRuleActionRAO action)If the parameter action is of typeDiscountRAOand is applied to Order Entry the discount is added to corresponding Order Entry model.java.util.List<PromotionResultModel>DefaultOrderAdjustTotalActionStrategy. apply(AbstractRuleActionRAO action)Creates aPromotionResultModelif the parameter action is of typeDiscountRAOthe discount is added to corresponding to the action Order model.java.util.List<PromotionResultModel>DefaultOrderEntryAdjustActionStrategy. apply(AbstractRuleActionRAO action)If the parameter action is of typeDiscountRAOand is applied to Order Entry the discount is added to corresponding Order Entry model.java.util.List<PromotionResultModel>DefaultPotentialPromotionMessageActionStrategy. apply(AbstractRuleActionRAO action)If the parameter action is of typeDisplayMessageRAOPromotionResultModel for potential promotion message is created.java.util.List<PromotionResultModel>DefaultShippingActionStrategy. apply(AbstractRuleActionRAO action)If the parameter action is of typeShipmentRAODelivery options set to corresponding fields of Order model.Methods in de.hybris.platform.promotionengineservices.action.impl with parameters of type PromotionResultModel Modifier and Type Method Description protected RuleBasedOrderAddProductActionModelDefaultAddProductToCartActionStrategy. createOrderAddProductAction(AbstractRuleActionRAO action, int quantity, ProductModel product, PromotionResultModel promoResult)protected RuleBasedOrderAdjustTotalActionModelDefaultOrderAdjustTotalActionStrategy. createOrderAdjustTotalAction(PromotionResultModel promoResult, DiscountRAO discountRao)protected RuleBasedOrderEntryAdjustActionModelDefaultOrderEntryAdjustActionStrategy. createOrderEntryAdjustAction(PromotionResultModel promoResult, AbstractRuleActionRAO action, AbstractOrderEntryModel entry, java.math.BigDecimal discountAmount)protected AAbstractRuleActionStrategy. createPromotionAction(PromotionResultModel promotionResult, AbstractRuleActionRAO action)Creates an instance of the configuredpromotionAction(which is a subtype ofRuleBasedPromotionActionModel, sets a new unique UUID, sets this strategy's id, marks the action as applied, attaches the givenpromotionResultand tries to lookup the rule which created the givenAbstractRuleActionRAO.protected longDefaultOrderEntryAdjustActionStrategy. getConsumedQuantity(PromotionResultModel promoResult)Sums up quantities of all consumed entries of given order entry. -
Uses of PromotionResultModel in de.hybris.platform.promotionengineservices.promotionengine
Methods in de.hybris.platform.promotionengineservices.promotionengine that return PromotionResultModel Modifier and Type Method Description PromotionResultModelPromotionActionService. createPromotionResult(AbstractRuleActionRAO action)Creates aPromotionResultModelobject for the givenAbstractRuleActionRAO.Methods in de.hybris.platform.promotionengineservices.promotionengine with parameters of type PromotionResultModel Modifier and Type Method Description default RuleParameterDataPromotionMessageParameterResolutionStrategy. getReplacedParameter(RuleParameterData paramToReplace, PromotionResultModel promotionResult, java.lang.Object actualValueAsObject)returnsRuleParameterDatacreated from givenRuleParameterDatawith replaced actual value.java.lang.ObjectPromotionMessageParameterResolutionStrategy. getValue(RuleParameterData data, PromotionResultModel promotionResult, java.util.Locale locale)resolves the givenRuleParameterDatainto a displayable Object.voidPromotionActionService. recalculateFiredPromotionMessage(PromotionResultModel promoResult)Recalculates promotion fired message and stores it in providedPromotionResultModel. -
Uses of PromotionResultModel in de.hybris.platform.promotionengineservices.promotionengine.coupons
Methods in de.hybris.platform.promotionengineservices.promotionengine.coupons with parameters of type PromotionResultModel Modifier and Type Method Description java.util.Optional<java.util.Set<java.lang.String>>CouponCodeRetrievalStrategy. getCouponCodesFromPromotion(PromotionResultModel promotion) -
Uses of PromotionResultModel in de.hybris.platform.promotionengineservices.promotionengine.coupons.impl
Methods in de.hybris.platform.promotionengineservices.promotionengine.coupons.impl with parameters of type PromotionResultModel Modifier and Type Method Description java.util.Optional<java.util.Set<java.lang.String>>NoOpCouponCodeRetrievalStrategy. getCouponCodesFromPromotion(PromotionResultModel promotion) -
Uses of PromotionResultModel in de.hybris.platform.promotionengineservices.promotionengine.impl
Methods in de.hybris.platform.promotionengineservices.promotionengine.impl that return PromotionResultModel Modifier and Type Method Description PromotionResultModelDefaultPromotionActionService. createPromotionResult(AbstractRuleActionRAO actionRao)protected PromotionResultModelDefaultPromotionActionService. findExistingPromotionResultModel(AbstractRuleEngineRuleModel rule, AbstractOrderModel order)Tries to find an existing promotion result that has been fired by the same rule as the given rule.Methods in de.hybris.platform.promotionengineservices.promotionengine.impl that return types with arguments of type PromotionResultModel Modifier and Type Method Description java.util.List<PromotionResultModel>DefaultPromotionEngineResultService. getFiredOrderPromotions(PromotionOrderResults promoResult, AbstractPromotionModel promotion)java.util.List<PromotionResultModel>DefaultPromotionEngineResultService. getFiredProductPromotions(PromotionOrderResults promoResult, AbstractPromotionModel promotion)java.util.List<PromotionResultModel>DefaultPromotionEngineResultService. getPotentialOrderPromotions(PromotionOrderResults promoResult, AbstractPromotionModel promotion)java.util.List<PromotionResultModel>DefaultPromotionEngineResultService. getPotentialProductPromotions(PromotionOrderResults promoResult, AbstractPromotionModel promotion)Methods in de.hybris.platform.promotionengineservices.promotionengine.impl with parameters of type PromotionResultModel Modifier and Type Method Description booleanDefaultPromotionEngineResultService. apply(PromotionResultModel promotionResult)longDefaultPromotionEngineResultService. getConsumedCount(PromotionResultModel promotionResult, boolean paramBoolean)booleanDefaultPromotionEngineResultService. getCouldFire(PromotionResultModel promotionResult)java.util.Optional<java.util.Set<java.lang.String>>DefaultPromotionEngineResultService. getCouponCodesFromPromotion(PromotionResultModel promotionResult)java.lang.StringDefaultPromotionEngineResultService. getDescription(PromotionResultModel promotionResult)java.lang.StringDefaultPromotionEngineResultService. getDescription(PromotionResultModel promotionResult, java.util.Locale locale)booleanDefaultPromotionEngineResultService. getFired(PromotionResultModel promotionResult)protected java.lang.StringDefaultPromotionEngineResultService. getMessageWithResolvedParameters(PromotionResultModel promotionResult, java.util.Locale locale, java.lang.String messageFiredPositional, java.util.List<RuleParameterData> parameters)Formats message by resolving placeholders defined in the message.RuleParameterDataDefaultCurrencyAmountResolutionStrategy. getReplacedParameter(RuleParameterData paramToReplace, PromotionResultModel promotionResult, java.lang.Object actualValueAsObject)RuleParameterDataDefaultObjectResolutionStrategy. getReplacedParameter(RuleParameterData paramToReplace, PromotionResultModel promotionResult, java.lang.Object actualValueAsObject)doubleDefaultPromotionEngineResultService. getTotalDiscount(PromotionResultModel promotionResult)java.lang.StringDefaultCategoryResolutionStrategy. getValue(RuleParameterData data, PromotionResultModel promotionResult, java.util.Locale locale)java.lang.StringDefaultCurrencyAmountResolutionStrategy. getValue(RuleParameterData data, PromotionResultModel promotionResult, java.util.Locale locale)java.lang.StringDefaultListResolutionStrategy. getValue(RuleParameterData data, PromotionResultModel promotionResult, java.util.Locale locale)java.lang.StringDefaultObjectResolutionStrategy. getValue(RuleParameterData data, PromotionResultModel promotionResult, java.util.Locale locale)java.lang.StringDefaultProductResolutionStrategy. getValue(RuleParameterData data, PromotionResultModel promotionResult, java.util.Locale locale)booleanDefaultPromotionEngineResultService. isApplied(PromotionResultModel promotionResult)booleanDefaultPromotionEngineResultService. isAppliedToOrder(PromotionResultModel promotionResult)protected java.lang.StringDefaultListResolutionStrategy. itemValue(PromotionResultModel promotionResult, java.util.Locale locale, RuleParameterData newData)protected voidDefaultPromotionEngineResultService. logUnresolvedPlaceholder(PromotionResultModel promotionResult, java.lang.String resolvedMessage)voidDefaultPromotionActionService. recalculateFiredPromotionMessage(PromotionResultModel promoResult)protected RuleParameterDataDefaultPromotionEngineResultService. replaceRuleParameterValue(PromotionResultModel promotionResult, java.util.Map<java.lang.String,java.lang.Object> messageActionValues, RuleParameterData parameter)protected java.lang.ObjectDefaultPromotionEngineResultService. resolveParameterValue(RuleParameterData parameter, PromotionResultModel promotionResult, java.util.Locale locale)protected voidDefaultPromotionActionService. setRuleModuleVersionIfApplicable(PromotionResultModel promoResult, AbstractRuleEngineRuleModel rule)booleanDefaultPromotionEngineResultService. undo(PromotionResultModel promotionResult) -
Uses of PromotionResultModel in de.hybris.platform.promotionengineservices.promotionengine.report.builder
Methods in de.hybris.platform.promotionengineservices.promotionengine.report.builder that return PromotionResultModel Modifier and Type Method Description PromotionResultModelPromotionResultMockBuilder. createSampleFiredPromotionResult(PromotionResultService promotionResultServiceMock)PromotionResultModelPromotionResultMockBuilder. createSamplePotentialPromotionResult(PromotionResultService promotionResultServiceMock)PromotionResultModelPromotionResultMockBuilder. createSamplePotentialPromotionResultForOrderEntry(AbstractOrderEntryModel orderEntry)PromotionResultModelPromotionResultMockBuilder. createSamplePromotionResult(PromotionResultService promotionResultServiceMock)PromotionResultModelPromotionResultMockBuilder. createSamplePromotionResultForOrder()PromotionResultModelPromotionResultMockBuilder. createSamplePromotionResultForOrderEntry(AbstractOrderEntryModel orderEntry)Methods in de.hybris.platform.promotionengineservices.promotionengine.report.builder with parameters of type PromotionResultModel Modifier and Type Method Description protected voidPromotionResultMockBuilder. associateToOrderEntry(PromotionResultModel promotionResultModel, AbstractOrderEntryModel orderEntry) -
Uses of PromotionResultModel in de.hybris.platform.promotionengineservices.promotionengine.report.data
Methods in de.hybris.platform.promotionengineservices.promotionengine.report.data that return PromotionResultModel Modifier and Type Method Description PromotionResultModelPromotionEngineResult. getPromotionResult()Methods in de.hybris.platform.promotionengineservices.promotionengine.report.data with parameters of type PromotionResultModel Modifier and Type Method Description voidPromotionEngineResult. setPromotionResult(PromotionResultModel promotionResult) -
Uses of PromotionResultModel in de.hybris.platform.promotionengineservices.promotionengine.report.populators
Methods in de.hybris.platform.promotionengineservices.promotionengine.report.populators that return types with arguments of type PromotionResultModel Modifier and Type Method Description protected java.util.Set<PromotionResultModel>NonDiscountPromotionEngineResultsClassifyingPopulator. collectConvertedPromotionsResult(OrderLevelPromotionEngineResults orderDiscountPromotions, java.util.List<OrderEntryLevelPromotionEngineResults> orderEntryDiscountPromotions)protected java.util.Set<PromotionResultModel>NonDiscountPromotionEngineResultsClassifyingPopulator. collectNonDiscountPromotions(java.util.Set<PromotionResultModel> allPromotions, OrderLevelPromotionEngineResults orderDiscountPromotions, java.util.List<OrderEntryLevelPromotionEngineResults> orderEntryDiscountPromotions)protected Converter<PromotionResultModel,PromotionEngineResult>NonDiscountPromotionEngineResultsClassifyingPopulator. getPromotionResultConverter()protected Populator<PromotionResultModel,PromotionEngineResult>AbstractPromotionEngineResultPopulator. getPromotionResultPopulator()protected Populator<PromotionResultModel,PromotionEngineResult>DiscountValuePromotionEngineResultPopulator. getPromotionResultPopulator()Methods in de.hybris.platform.promotionengineservices.promotionengine.report.populators with parameters of type PromotionResultModel Modifier and Type Method Description voidPromotionEngineResultPopulator. populate(PromotionResultModel source, PromotionEngineResult target)Populate the target instance with values from the source instance.Method parameters in de.hybris.platform.promotionengineservices.promotionengine.report.populators with type arguments of type PromotionResultModel Modifier and Type Method Description protected java.util.Set<PromotionResultModel>NonDiscountPromotionEngineResultsClassifyingPopulator. collectNonDiscountPromotions(java.util.Set<PromotionResultModel> allPromotions, OrderLevelPromotionEngineResults orderDiscountPromotions, java.util.List<OrderEntryLevelPromotionEngineResults> orderEntryDiscountPromotions)protected PromotionEngineResultAbstractPromotionEngineResultPopulator. createPromotionEngineResult(DiscountValue discountValue, java.util.List<PromotionResultModel> promotionResults)voidNonDiscountPromotionEngineResultsClassifyingPopulator. setPromotionResultConverter(Converter<PromotionResultModel,PromotionEngineResult> promotionResultConverter)voidAbstractPromotionEngineResultPopulator. setPromotionResultPopulator(Populator<PromotionResultModel,PromotionEngineResult> promotionResultPopulator)voidDiscountValuePromotionEngineResultPopulator. setPromotionResultPopulator(Populator<PromotionResultModel,PromotionEngineResult> promotionResultPopulator) -
Uses of PromotionResultModel in de.hybris.platform.promotionengineservices.util
Methods in de.hybris.platform.promotionengineservices.util with parameters of type PromotionResultModel Modifier and Type Method Description AbstractOrderModelPromotionResultUtils. getOrder(PromotionResultModel promotionResult) -
Uses of PromotionResultModel in de.hybris.platform.promotions
Methods in de.hybris.platform.promotions that return types with arguments of type PromotionResultModel Modifier and Type Method Description java.util.List<PromotionResultModel>PromotionResultService. getFiredOrderPromotions(PromotionOrderResults promoResult, AbstractPromotionModel promotion)Return a list of results for promotions that fired and did not consume products.java.util.List<PromotionResultModel>PromotionResultService. getFiredProductPromotions(PromotionOrderResults promoResult, AbstractPromotionModel promotion)Return a list of results for promotions that fired and consumed products.java.util.List<PromotionResultModel>PromotionResultService. getPotentialOrderPromotions(PromotionOrderResults promoResult, AbstractPromotionModel promotion)Return a list of results for potential promotions that fired and did not consume products and have been applied.java.util.List<PromotionResultModel>PromotionResultService. getPotentialProductPromotions(PromotionOrderResults promoResult, AbstractPromotionModel promotion)Return a list of results for potential promotions that fired and consumed products and have been applied.Methods in de.hybris.platform.promotions with parameters of type PromotionResultModel Modifier and Type Method Description booleanPromotionResultService. apply(PromotionResultModel promotionResult)Apply all of the actions that this promotion generated to the order.longPromotionResultService. getConsumedCount(PromotionResultModel promotionResult, boolean includeCouldFirePromotions)Get the total number of items consumed by this promotion.booleanPromotionResultService. getCouldFire(PromotionResultModel promotionResult)Is this a potential result.java.util.Optional<java.util.Set<java.lang.String>>PromotionResultService. getCouponCodesFromPromotion(PromotionResultModel promotionResult)Return give way coupon code for promotion.java.lang.StringPromotionResultService. getDescription(PromotionResultModel promotionResult)Get the description of this promotion result.java.lang.StringPromotionResultService. getDescription(PromotionResultModel promotionResult, java.util.Locale locale)Get the description of this promotion result.booleanPromotionResultService. getFired(PromotionResultModel promotionResult)Returns true if the promotion fired and has produced a result.doublePromotionResultService. getTotalDiscount(PromotionResultModel promotionResult)Get the total value of all discounts in this result.booleanPromotionResultService. isApplied(PromotionResultModel promotionResult)Returns true if the promotion fired and all of its actions have been applied to the order.booleanPromotionResultService. isAppliedToOrder(PromotionResultModel promotionResult)Returns true if the promotion fired and all of its actions have been applied to the order.booleanPromotionResultService. undo(PromotionResultModel promotionResult)Undo all of the changes that this promotion made to the order. -
Uses of PromotionResultModel in de.hybris.platform.promotions.impl
Methods in de.hybris.platform.promotions.impl that return types with arguments of type PromotionResultModel Modifier and Type Method Description protected java.util.List<PromotionResultModel>DefaultPromotionsService. evaluatePromotion(PromotionEvaluationContext promoContext, AbstractPromotionModel promotion)java.util.List<PromotionResultModel>DefaultPromotionResultService. getFiredOrderPromotions(PromotionOrderResults promoResult, AbstractPromotionModel promotion)java.util.List<PromotionResultModel>DefaultPromotionResultService. getFiredProductPromotions(PromotionOrderResults promoResult, AbstractPromotionModel promotion)java.util.List<PromotionResultModel>DefaultPromotionResultService. getPotentialOrderPromotions(PromotionOrderResults promoResult, AbstractPromotionModel promotion)java.util.List<PromotionResultModel>DefaultPromotionResultService. getPotentialProductPromotions(PromotionOrderResults promoResult, AbstractPromotionModel promotion)protected java.util.List<PromotionResultModel>DefaultPromotionsService. getPromotionResultsInternal(AbstractOrderModel order)Get the list of promotion results for the specified order.protected java.util.Comparator<PromotionResultModel>DefaultPromotionsService. sortByPromotionPriority()returns a comparator that sorts promotionresults by their promotion's priorityMethods in de.hybris.platform.promotions.impl with parameters of type PromotionResultModel Modifier and Type Method Description booleanDefaultPromotionResultService. apply(PromotionResultModel promotionResult)protected voidDefaultPromotionsService. buildPromotionResultDataUniqueKey(PromotionResultModel promotionResult, java.lang.StringBuilder builder)Build a unique identifier for a PromotionResult.longDefaultPromotionResultService. getConsumedCount(PromotionResultModel promotionResult, boolean includeCouldFirePromotions)booleanDefaultPromotionResultService. getCouldFire(PromotionResultModel promotionResult)java.util.Optional<java.util.Set<java.lang.String>>DefaultPromotionResultService. getCouponCodesFromPromotion(PromotionResultModel promotionResult)protected java.lang.StringDefaultPromotionsService. getDataUniqueKey(PromotionResultModel result)Generates a string identifier that can be used to establish if 2 PromotionResults are the same.java.lang.StringDefaultPromotionResultService. getDescription(PromotionResultModel promotionResult)java.lang.StringDefaultPromotionResultService. getDescription(PromotionResultModel promotionResult, java.util.Locale locale)booleanDefaultPromotionResultService. getFired(PromotionResultModel promotionResult)protected java.lang.StringDefaultPromotionsService. getPromotionResultDataUniqueKey(PromotionResultModel promotionResult)Generate a string identifier that can be used to establish if 2 PromotionResults are the same.protected doubleDefaultPromotionsService. getPromotionResultTotalDiscount(PromotionResultModel result)protected PromotionResultAbstractPromotionsService. getResult(PromotionResultModel result)doubleDefaultPromotionResultService. getTotalDiscount(PromotionResultModel promotionResult)protected doubleDefaultPromotionsService. getTotalDiscount(PromotionResultModel result)Gets the total value of all discounts in the result.booleanDefaultPromotionResultService. isApplied(PromotionResultModel promotionResult)booleanDefaultPromotionResultService. isAppliedToOrder(PromotionResultModel promotionResult)protected booleanDefaultPromotionsService. isPromotionResultApplied(PromotionResultModel result)protected booleanDefaultPromotionsService. isPromotionResultFired(PromotionResultModel result)protected booleanDefaultPromotionsService. isPromotionResultValid(PromotionResultModel result)booleanDefaultPromotionResultService. undo(PromotionResultModel promotionResult) -
Uses of PromotionResultModel in de.hybris.platform.promotions.model
Subclasses of PromotionResultModel in de.hybris.platform.promotions.model Modifier and Type Class Description classCachedPromotionResultModelGenerated model class for type CachedPromotionResult first defined at extension promotions.Methods in de.hybris.platform.promotions.model that return PromotionResultModel Modifier and Type Method Description PromotionResultModelAbstractPromotionActionModel. getPromotionResult()Generated method - Getter of theAbstractPromotionAction.promotionResultattribute defined at extensionpromotions.PromotionResultModelPromotionOrderEntryConsumedModel. getPromotionResult()Generated method - Getter of thePromotionOrderEntryConsumed.promotionResultattribute defined at extensionpromotions.Methods in de.hybris.platform.promotions.model with parameters of type PromotionResultModel Modifier and Type Method Description voidAbstractPromotionActionModel. setPromotionResult(PromotionResultModel value)Generated method - Setter ofAbstractPromotionAction.promotionResultattribute defined at extensionpromotions.voidPromotionOrderEntryConsumedModel. setPromotionResult(PromotionResultModel value)Generated method - Setter ofPromotionOrderEntryConsumed.promotionResultattribute defined at extensionpromotions.
-