Uses of Class
de.hybris.platform.promotions.jalo.PromotionOrderEntryConsumed
Packages that use PromotionOrderEntryConsumed
Package
Description
-
Uses of PromotionOrderEntryConsumed in de.hybris.platform.promotions.jalo
Subclasses of PromotionOrderEntryConsumed in de.hybris.platform.promotions.jaloModifier and TypeClassDescriptionclassclassGenerated class for typeCachedPromotionOrderEntryConsumed.Methods in de.hybris.platform.promotions.jalo that return PromotionOrderEntryConsumedModifier and TypeMethodDescriptionCachingPromotionsManager.createPromotionOrderEntryConsumed(SessionContext ctx, String code, AbstractOrderEntry orderEntry, long quantity) CachingPromotionsManager.createPromotionOrderEntryConsumed(SessionContext ctx, String code, AbstractOrderEntry orderEntry, long quantity, double adjustedUnitPrice) GeneratedPromotionsManager.createPromotionOrderEntryConsumed(SessionContext ctx, Map attributeValues) GeneratedPromotionsManager.createPromotionOrderEntryConsumed(Map attributeValues) PromotionsManager.createPromotionOrderEntryConsumed(SessionContext ctx, String code, AbstractOrderEntry orderEntry, long quantity) Create a newPromotionOrderEntryConsumedinstance.PromotionsManager.createPromotionOrderEntryConsumed(SessionContext ctx, String code, AbstractOrderEntry orderEntry, long quantity, double adjustedUnitPrice) Create a newPromotionOrderEntryConsumedinstance.protected static PromotionOrderEntryConsumedPromotionResult.deepCloneConsumedEntryAndAttachToOrder(SessionContext ctx, PromotionOrderEntryConsumed source, List<AbstractOrderEntry> allTargetEntries) Clones a consumed order entry and attach it to an order entry from the list specified.Methods in de.hybris.platform.promotions.jalo that return types with arguments of type PromotionOrderEntryConsumedModifier and TypeMethodDescriptionprotected Collection<PromotionOrderEntryConsumed>PromotionResult.deepCloneConsumedEntriesAndAttachToOrder(SessionContext ctx, Order target) Clones of the consumed order entries attached to this promotion result and attach them to order entries in the specified order.CachedPromotionResult.getConsumedEntries(SessionContext ctx) GeneratedPromotionResult.getConsumedEntries()Generated method - Getter of thePromotionResult.consumedEntriesattribute.abstract Collection<PromotionOrderEntryConsumed>GeneratedPromotionResult.getConsumedEntries(SessionContext ctx) Generated method - Getter of thePromotionResult.consumedEntriesattribute.Methods in de.hybris.platform.promotions.jalo with parameters of type PromotionOrderEntryConsumedModifier and TypeMethodDescriptionvoidCachedPromotionResult.addConsumedEntry(SessionContext ctx, PromotionOrderEntryConsumed poec) voidPromotionResult.addConsumedEntry(SessionContext ctx, PromotionOrderEntryConsumed poec) Adds a consumed entry to the current result.protected static PromotionOrderEntryConsumedPromotionResult.deepCloneConsumedEntryAndAttachToOrder(SessionContext ctx, PromotionOrderEntryConsumed source, List<AbstractOrderEntry> allTargetEntries) Clones a consumed order entry and attach it to an order entry from the list specified.voidCachedPromotionResult.removeConsumedEntry(SessionContext ctx, PromotionOrderEntryConsumed poec) voidPromotionResult.removeConsumedEntry(SessionContext ctx, PromotionOrderEntryConsumed poec) Removes a consumed entry from the current result.Method parameters in de.hybris.platform.promotions.jalo with type arguments of type PromotionOrderEntryConsumedModifier and TypeMethodDescriptionabstract voidGeneratedPromotionResult.setConsumedEntries(SessionContext ctx, Collection<PromotionOrderEntryConsumed> value) Generated method - Setter of thePromotionResult.consumedEntriesattribute.voidGeneratedPromotionResult.setConsumedEntries(Collection<PromotionOrderEntryConsumed> value) Generated method - Setter of thePromotionResult.consumedEntriesattribute. -
Uses of PromotionOrderEntryConsumed in de.hybris.platform.promotions.result
Methods in de.hybris.platform.promotions.result that return PromotionOrderEntryConsumedModifier and TypeMethodDescriptionPromotionOrderEntry.consume(SessionContext ctx, AbstractPromotion promotion, long quantity) Inform the context that a promotion wishes to consume the specified property of.Methods in de.hybris.platform.promotions.result that return types with arguments of type PromotionOrderEntryConsumedModifier and TypeMethodDescriptionPromotionEvaluationContext.ConsumptionLogger.completeOperation(AbstractPromotion promotion, boolean removeFromOrder) PromotionOrderView.consume(SessionContext ctx, long quantity) Consume a specific quantity of products from this view.PromotionOrderView.consume(SessionContext ctx, Product product, long quantity) Consume products from this view.PromotionOrderView.consumeFromHead(SessionContext ctx, Comparator<PromotionOrderEntry> comparator, long quantity) Consume products from this view in the specified order.PromotionOrderView.consumeFromTail(SessionContext ctx, Comparator<PromotionOrderEntry> comparator, long quantity) Consume products from this view in the reverse of the specfied order.protected static List<PromotionOrderEntryConsumed>PromotionOrderView.doConsume(SessionContext ctx, List<PromotionOrderEntry> workingEntries, AbstractPromotion promotion, long quantity) PromotionEvaluationContext.finishLoggingAndGetConsumed(AbstractPromotion promo, boolean removeFromOrder) Complete the logging operation and return a list of all order entry consumptions since logging began.PromotionEvaluationContext.ConsumptionLogger.getAllOperations()Get every operation performed since the logger was created.PromotionEvaluationContext.ConsumptionLogger.getHistory()Methods in de.hybris.platform.promotions.result with parameters of type PromotionOrderEntryConsumedModifier and TypeMethodDescriptionprotected booleanWrappedOrderEntry.consumePromotionOrderEntryConsumed(SessionContext ctx, PromotionOrderEntryConsumed poec) protected booleanWrappedOrderEntry.isLegacyPromotion(PromotionOrderEntryConsumed poec) Returns false if the Promotion of the Promotion Result is/extends one from promotionengineservices.voidPromotionEvaluationContext.ConsumptionLogger.logOperation(PromotionOrderEntryConsumed entry) Method parameters in de.hybris.platform.promotions.result with type arguments of type PromotionOrderEntryConsumedModifier and TypeMethodDescriptionprotected static Collection<WrappedOrderEntry>PromotionOrderResults.findAllMatchingEntries(SessionContext ctx, List<WrappedOrderEntry> wrappedEntries, Collection<PromotionOrderEntryConsumed> consumedEntries) protected static voidPromotionOrderResults.removeConsumedEntries(SessionContext ctx, List<WrappedOrderEntry> wrappedEntries, Collection<PromotionOrderEntryConsumed> consumedEntries) -
Uses of PromotionOrderEntryConsumed in de.hybris.platform.promotions.util
Method parameters in de.hybris.platform.promotions.util with type arguments of type PromotionOrderEntryConsumedModifier and TypeMethodDescriptionstatic voidHelper.adjustUnitPrices(SessionContext ctx, PromotionEvaluationContext promoContext, List<PromotionOrderEntryConsumed> consumedEntries, double targetTotal, double originalTotal) Adjust the unit prices of the PromotionOrderEntryConsumed items specified to match the target totalprotected static BigDecimalHelper.calculateOrderEntryAdjustedTotal(SessionContext ctx, Currency currency, List<PromotionOrderEntryConsumed> entries) Helper method to calculate the sum of the AdjustedEntryPrice for each of the PromotionOrderEntryConsumed items.