Uses of Class
de.hybris.platform.promotions.model.PromotionResultModel
Packages that use PromotionResultModel
Package
Description
Contains generated models for each type of de.hybris.platform.jalo.order package.
Contains generated models for each type of de.hybris.platform.promotions.jalo package.
-
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 PromotionResultModelModifier and TypeMethodDescriptionprotected Converter<PromotionResultModel,PromotionResultData> AbstractOrderPopulator.getPromotionResultConverter()Methods in de.hybris.platform.commercefacades.order.converters.populator with parameters of type PromotionResultModelModifier and TypeMethodDescriptionvoidPromotionResultPopulator.populate(PromotionResultModel source, PromotionResultData target) Method parameters in de.hybris.platform.commercefacades.order.converters.populator with type arguments of type PromotionResultModelModifier and TypeMethodDescriptionvoidAbstractOrderPopulator.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 PromotionResultModelModifier and TypeMethodDescriptionprotected List<PromotionResultModel>PromotionsPopulator.filter(List<PromotionResultModel> results, AbstractPromotionModel promotion) Method parameters in de.hybris.platform.commercefacades.product.converters.populator with type arguments of type PromotionResultModelModifier and TypeMethodDescriptionprotected List<PromotionResultModel>PromotionsPopulator.filter(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 PromotionResultModelModifier and TypeMethodDescriptionAbstractOrderModel.getAllPromotionResults()Generated method - Getter of theAbstractOrder.allPromotionResultsattribute defined at extensionpromotions.Method parameters in de.hybris.platform.core.model.order with type arguments of type PromotionResultModelModifier and TypeMethodDescriptionvoidAbstractOrderModel.setAllPromotionResults(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 PromotionResultModelModifier and TypeMethodDescriptionDefaultAddCouponActionStrategy.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 PromotionResultModelModifier and TypeMethodDescriptionDefaultCouponCodeRetrievalStrategy.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 PromotionResultModelModifier and TypeMethodDescriptionDefaultAddProductToCartActionStrategy.apply(AbstractRuleActionRAO action) If the parameter action is of typeDiscountRAOand is applied to Order Entry the discount is added to corresponding Order Entry model.DefaultOrderAdjustTotalActionStrategy.apply(AbstractRuleActionRAO action) Creates aPromotionResultModelif the parameter action is of typeDiscountRAOthe discount is added to corresponding to the action Order model.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.DefaultPotentialPromotionMessageActionStrategy.apply(AbstractRuleActionRAO action) If the parameter action is of typeDisplayMessageRAOPromotionResultModel for potential promotion message is created.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 PromotionResultModelModifier and TypeMethodDescriptionprotected 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, 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 PromotionResultModelModifier and TypeMethodDescriptionPromotionActionService.createPromotionResult(AbstractRuleActionRAO action) Creates aPromotionResultModelobject for the givenAbstractRuleActionRAO.Methods in de.hybris.platform.promotionengineservices.promotionengine with parameters of type PromotionResultModelModifier and TypeMethodDescriptiondefault RuleParameterDataPromotionMessageParameterResolutionStrategy.getReplacedParameter(RuleParameterData paramToReplace, PromotionResultModel promotionResult, Object actualValueAsObject) returnsRuleParameterDatacreated from givenRuleParameterDatawith replaced actual value.PromotionMessageParameterResolutionStrategy.getValue(RuleParameterData data, PromotionResultModel promotionResult, 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 PromotionResultModelModifier and TypeMethodDescriptionCouponCodeRetrievalStrategy.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 PromotionResultModelModifier and TypeMethodDescriptionNoOpCouponCodeRetrievalStrategy.getCouponCodesFromPromotion(PromotionResultModel promotion) -
Uses of PromotionResultModel in de.hybris.platform.promotionengineservices.promotionengine.impl
Methods in de.hybris.platform.promotionengineservices.promotionengine.impl that return PromotionResultModelModifier and TypeMethodDescriptionDefaultPromotionActionService.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 PromotionResultModelModifier and TypeMethodDescriptionDefaultPromotionEngineResultService.getFiredOrderPromotions(PromotionOrderResults promoResult, AbstractPromotionModel promotion) DefaultPromotionEngineResultService.getFiredProductPromotions(PromotionOrderResults promoResult, AbstractPromotionModel promotion) DefaultPromotionEngineResultService.getPotentialOrderPromotions(PromotionOrderResults promoResult, AbstractPromotionModel promotion) DefaultPromotionEngineResultService.getPotentialProductPromotions(PromotionOrderResults promoResult, AbstractPromotionModel promotion) Methods in de.hybris.platform.promotionengineservices.promotionengine.impl with parameters of type PromotionResultModelModifier and TypeMethodDescriptionbooleanDefaultPromotionEngineResultService.apply(PromotionResultModel promotionResult) longDefaultPromotionEngineResultService.getConsumedCount(PromotionResultModel promotionResult, boolean paramBoolean) booleanDefaultPromotionEngineResultService.getCouldFire(PromotionResultModel promotionResult) DefaultPromotionEngineResultService.getCouponCodesFromPromotion(PromotionResultModel promotionResult) DefaultPromotionEngineResultService.getDescription(PromotionResultModel promotionResult) DefaultPromotionEngineResultService.getDescription(PromotionResultModel promotionResult, Locale locale) booleanDefaultPromotionEngineResultService.getFired(PromotionResultModel promotionResult) protected StringDefaultPromotionEngineResultService.getMessageWithResolvedParameters(PromotionResultModel promotionResult, Locale locale, String messageFiredPositional, List<RuleParameterData> parameters) Formats message by resolving placeholders defined in the message.DefaultCurrencyAmountResolutionStrategy.getReplacedParameter(RuleParameterData paramToReplace, PromotionResultModel promotionResult, Object actualValueAsObject) DefaultObjectResolutionStrategy.getReplacedParameter(RuleParameterData paramToReplace, PromotionResultModel promotionResult, Object actualValueAsObject) doubleDefaultPromotionEngineResultService.getTotalDiscount(PromotionResultModel promotionResult) DefaultCategoryResolutionStrategy.getValue(RuleParameterData data, PromotionResultModel promotionResult, Locale locale) DefaultCurrencyAmountResolutionStrategy.getValue(RuleParameterData data, PromotionResultModel promotionResult, Locale locale) DefaultListResolutionStrategy.getValue(RuleParameterData data, PromotionResultModel promotionResult, Locale locale) DefaultObjectResolutionStrategy.getValue(RuleParameterData data, PromotionResultModel promotionResult, Locale locale) DefaultProductResolutionStrategy.getValue(RuleParameterData data, PromotionResultModel promotionResult, Locale locale) booleanDefaultPromotionEngineResultService.isApplied(PromotionResultModel promotionResult) booleanDefaultPromotionEngineResultService.isAppliedToOrder(PromotionResultModel promotionResult) protected StringDefaultListResolutionStrategy.itemValue(PromotionResultModel promotionResult, Locale locale, RuleParameterData newData) protected voidDefaultPromotionEngineResultService.logUnresolvedPlaceholder(PromotionResultModel promotionResult, String resolvedMessage) voidDefaultPromotionActionService.recalculateFiredPromotionMessage(PromotionResultModel promoResult) protected RuleParameterDataDefaultPromotionEngineResultService.replaceRuleParameterValue(PromotionResultModel promotionResult, Map<String, Object> messageActionValues, RuleParameterData parameter) protected ObjectDefaultPromotionEngineResultService.resolveParameterValue(RuleParameterData parameter, PromotionResultModel promotionResult, 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 PromotionResultModelModifier and TypeMethodDescriptionPromotionResultMockBuilder.createSampleFiredPromotionResult(PromotionResultService promotionResultServiceMock) PromotionResultMockBuilder.createSamplePotentialPromotionResult(PromotionResultService promotionResultServiceMock) PromotionResultMockBuilder.createSamplePotentialPromotionResultForOrderEntry(AbstractOrderEntryModel orderEntry) PromotionResultMockBuilder.createSamplePromotionResult(PromotionResultService promotionResultServiceMock) PromotionResultMockBuilder.createSamplePromotionResultForOrder()PromotionResultMockBuilder.createSamplePromotionResultForOrderEntry(AbstractOrderEntryModel orderEntry) Methods in de.hybris.platform.promotionengineservices.promotionengine.report.builder with parameters of type PromotionResultModelModifier and TypeMethodDescriptionprotected 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 PromotionResultModelMethods in de.hybris.platform.promotionengineservices.promotionengine.report.data with parameters of type PromotionResultModelModifier and TypeMethodDescriptionvoidPromotionEngineResult.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 PromotionResultModelModifier and TypeMethodDescriptionprotected Set<PromotionResultModel>NonDiscountPromotionEngineResultsClassifyingPopulator.collectConvertedPromotionsResult(OrderLevelPromotionEngineResults orderDiscountPromotions, List<OrderEntryLevelPromotionEngineResults> orderEntryDiscountPromotions) protected Set<PromotionResultModel>NonDiscountPromotionEngineResultsClassifyingPopulator.collectNonDiscountPromotions(Set<PromotionResultModel> allPromotions, OrderLevelPromotionEngineResults orderDiscountPromotions, List<OrderEntryLevelPromotionEngineResults> orderEntryDiscountPromotions) protected Converter<PromotionResultModel,PromotionEngineResult> NonDiscountPromotionEngineResultsClassifyingPopulator.getPromotionResultConverter()protected Populator<PromotionResultModel,PromotionEngineResult> AbstractPromotionEngineResultPopulator.getPromotionResultPopulator()Methods in de.hybris.platform.promotionengineservices.promotionengine.report.populators with parameters of type PromotionResultModelModifier and TypeMethodDescriptionvoidPromotionEngineResultPopulator.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 PromotionResultModelModifier and TypeMethodDescriptionprotected Set<PromotionResultModel>NonDiscountPromotionEngineResultsClassifyingPopulator.collectNonDiscountPromotions(Set<PromotionResultModel> allPromotions, OrderLevelPromotionEngineResults orderDiscountPromotions, List<OrderEntryLevelPromotionEngineResults> orderEntryDiscountPromotions) protected PromotionEngineResultAbstractPromotionEngineResultPopulator.createPromotionEngineResult(DiscountValue discountValue, List<PromotionResultModel> promotionResults) voidNonDiscountPromotionEngineResultsClassifyingPopulator.setPromotionResultConverter(Converter<PromotionResultModel, PromotionEngineResult> promotionResultConverter) voidAbstractPromotionEngineResultPopulator.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 PromotionResultModelModifier and TypeMethodDescriptionPromotionResultUtils.getOrder(PromotionResultModel promotionResult) -
Uses of PromotionResultModel in de.hybris.platform.promotions
Methods in de.hybris.platform.promotions that return types with arguments of type PromotionResultModelModifier and TypeMethodDescriptionPromotionResultService.getFiredOrderPromotions(PromotionOrderResults promoResult, AbstractPromotionModel promotion) Return a list of results for promotions that fired and did not consume products.PromotionResultService.getFiredProductPromotions(PromotionOrderResults promoResult, AbstractPromotionModel promotion) Return a list of results for promotions that fired and consumed products.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.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 PromotionResultModelModifier and TypeMethodDescriptionbooleanPromotionResultService.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.PromotionResultService.getCouponCodesFromPromotion(PromotionResultModel promotionResult) Return give way coupon code for promotion.PromotionResultService.getDescription(PromotionResultModel promotionResult) Get the description of this promotion result.PromotionResultService.getDescription(PromotionResultModel promotionResult, 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 PromotionResultModelModifier and TypeMethodDescriptionprotected List<PromotionResultModel>DefaultPromotionsService.evaluatePromotion(PromotionEvaluationContext promoContext, AbstractPromotionModel promotion) DefaultPromotionResultService.getFiredOrderPromotions(PromotionOrderResults promoResult, AbstractPromotionModel promotion) DefaultPromotionResultService.getFiredProductPromotions(PromotionOrderResults promoResult, AbstractPromotionModel promotion) DefaultPromotionResultService.getPotentialOrderPromotions(PromotionOrderResults promoResult, AbstractPromotionModel promotion) DefaultPromotionResultService.getPotentialProductPromotions(PromotionOrderResults promoResult, AbstractPromotionModel promotion) protected List<PromotionResultModel>DefaultPromotionsService.getPromotionResultsInternal(AbstractOrderModel order) Get the list of promotion results for the specified order.protected 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 PromotionResultModelModifier and TypeMethodDescriptionbooleanDefaultPromotionResultService.apply(PromotionResultModel promotionResult) protected voidDefaultPromotionsService.buildPromotionResultDataUniqueKey(PromotionResultModel promotionResult, StringBuilder builder) Build a unique identifier for a PromotionResult.longDefaultPromotionResultService.getConsumedCount(PromotionResultModel promotionResult, boolean includeCouldFirePromotions) booleanDefaultPromotionResultService.getCouldFire(PromotionResultModel promotionResult) DefaultPromotionResultService.getCouponCodesFromPromotion(PromotionResultModel promotionResult) protected StringDefaultPromotionsService.getDataUniqueKey(PromotionResultModel result) Generates a string identifier that can be used to establish if 2 PromotionResults are the same.DefaultPromotionResultService.getDescription(PromotionResultModel promotionResult) DefaultPromotionResultService.getDescription(PromotionResultModel promotionResult, Locale locale) booleanDefaultPromotionResultService.getFired(PromotionResultModel promotionResult) protected final 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.modelModifier and TypeClassDescriptionclassGenerated model class for type CachedPromotionResult first defined at extension promotions.Methods in de.hybris.platform.promotions.model that return PromotionResultModelModifier and TypeMethodDescriptionAbstractPromotionActionModel.getPromotionResult()Generated method - Getter of theAbstractPromotionAction.promotionResultattribute defined at extensionpromotions.PromotionOrderEntryConsumedModel.getPromotionResult()Generated method - Getter of thePromotionOrderEntryConsumed.promotionResultattribute defined at extensionpromotions.Methods in de.hybris.platform.promotions.model with parameters of type PromotionResultModelModifier and TypeMethodDescriptionvoidAbstractPromotionActionModel.setPromotionResult(PromotionResultModel value) Generated method - Setter ofAbstractPromotionAction.promotionResultattribute defined at extensionpromotions.voidPromotionOrderEntryConsumedModel.setPromotionResult(PromotionResultModel value) Generated method - Setter ofPromotionOrderEntryConsumed.promotionResultattribute defined at extensionpromotions.