Uses of Class
de.hybris.platform.promotions.jalo.PromotionOrderEntryConsumed
-
Packages that use PromotionOrderEntryConsumed Package Description de.hybris.platform.promotions.jalo de.hybris.platform.promotions.result de.hybris.platform.promotions.util -
-
Uses of PromotionOrderEntryConsumed in de.hybris.platform.promotions.jalo
Subclasses of PromotionOrderEntryConsumed in de.hybris.platform.promotions.jalo Modifier and Type Class Description classCachedPromotionOrderEntryConsumedclassGeneratedCachedPromotionOrderEntryConsumedGenerated class for typeCachedPromotionOrderEntryConsumed.Methods in de.hybris.platform.promotions.jalo that return PromotionOrderEntryConsumed Modifier and Type Method Description PromotionOrderEntryConsumedCachingPromotionsManager. createPromotionOrderEntryConsumed(SessionContext ctx, java.lang.String code, AbstractOrderEntry orderEntry, long quantity)PromotionOrderEntryConsumedCachingPromotionsManager. createPromotionOrderEntryConsumed(SessionContext ctx, java.lang.String code, AbstractOrderEntry orderEntry, long quantity, double adjustedUnitPrice)PromotionOrderEntryConsumedGeneratedPromotionsManager. createPromotionOrderEntryConsumed(SessionContext ctx, java.util.Map attributeValues)PromotionOrderEntryConsumedGeneratedPromotionsManager. createPromotionOrderEntryConsumed(java.util.Map attributeValues)PromotionOrderEntryConsumedPromotionsManager. createPromotionOrderEntryConsumed(SessionContext ctx, java.lang.String code, AbstractOrderEntry orderEntry, long quantity)Create a newPromotionOrderEntryConsumedinstance.PromotionOrderEntryConsumedPromotionsManager. createPromotionOrderEntryConsumed(SessionContext ctx, java.lang.String code, AbstractOrderEntry orderEntry, long quantity, double adjustedUnitPrice)Create a newPromotionOrderEntryConsumedinstance.protected static PromotionOrderEntryConsumedPromotionResult. deepCloneConsumedEntryAndAttachToOrder(SessionContext ctx, PromotionOrderEntryConsumed source, java.util.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 PromotionOrderEntryConsumed Modifier and Type Method Description protected java.util.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.java.util.Collection<PromotionOrderEntryConsumed>CachedPromotionResult. getConsumedEntries(SessionContext ctx)java.util.Collection<PromotionOrderEntryConsumed>GeneratedPromotionResult. getConsumedEntries()Generated method - Getter of thePromotionResult.consumedEntriesattribute.abstract java.util.Collection<PromotionOrderEntryConsumed>GeneratedPromotionResult. getConsumedEntries(SessionContext ctx)Generated method - Getter of thePromotionResult.consumedEntriesattribute.Methods in de.hybris.platform.promotions.jalo with parameters of type PromotionOrderEntryConsumed Modifier and Type Method Description voidCachedPromotionResult. 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, java.util.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 PromotionOrderEntryConsumed Modifier and Type Method Description abstract voidGeneratedPromotionResult. setConsumedEntries(SessionContext ctx, java.util.Collection<PromotionOrderEntryConsumed> value)Generated method - Setter of thePromotionResult.consumedEntriesattribute.voidGeneratedPromotionResult. setConsumedEntries(java.util.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 PromotionOrderEntryConsumed Modifier and Type Method Description PromotionOrderEntryConsumedPromotionOrderEntry. 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 PromotionOrderEntryConsumed Modifier and Type Method Description java.util.List<PromotionOrderEntryConsumed>PromotionEvaluationContext.ConsumptionLogger. completeOperation(AbstractPromotion promotion, boolean removeFromOrder)java.util.List<PromotionOrderEntryConsumed>PromotionOrderView. consume(SessionContext ctx, long quantity)Consume a specific quantity of products from this view.java.util.List<PromotionOrderEntryConsumed>PromotionOrderView. consume(SessionContext ctx, Product product, long quantity)Consume products from this view.java.util.List<PromotionOrderEntryConsumed>PromotionOrderView. consumeFromHead(SessionContext ctx, java.util.Comparator<PromotionOrderEntry> comparator, long quantity)Consume products from this view in the specified order.java.util.List<PromotionOrderEntryConsumed>PromotionOrderView. consumeFromTail(SessionContext ctx, java.util.Comparator<PromotionOrderEntry> comparator, long quantity)Consume products from this view in the reverse of the specfied order.protected static java.util.List<PromotionOrderEntryConsumed>PromotionOrderView. doConsume(SessionContext ctx, java.util.List<PromotionOrderEntry> workingEntries, AbstractPromotion promotion, long quantity)java.util.List<PromotionOrderEntryConsumed>PromotionEvaluationContext. finishLoggingAndGetConsumed(AbstractPromotion promo, boolean removeFromOrder)Complete the logging operation and return a list of all order entry consumptions since logging began.java.lang.Iterable<PromotionOrderEntryConsumed>PromotionEvaluationContext.ConsumptionLogger. getAllOperations()Get every operation performed since the logger was created.java.util.List<PromotionOrderEntryConsumed>PromotionEvaluationContext.ConsumptionLogger. getHistory()Methods in de.hybris.platform.promotions.result with parameters of type PromotionOrderEntryConsumed Modifier and Type Method Description protected 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 PromotionOrderEntryConsumed Modifier and Type Method Description protected static java.util.Collection<WrappedOrderEntry>PromotionOrderResults. findAllMatchingEntries(SessionContext ctx, java.util.List<WrappedOrderEntry> wrappedEntries, java.util.Collection<PromotionOrderEntryConsumed> consumedEntries)protected static voidPromotionOrderResults. removeConsumedEntries(SessionContext ctx, java.util.List<WrappedOrderEntry> wrappedEntries, java.util.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 PromotionOrderEntryConsumed Modifier and Type Method Description static voidHelper. adjustUnitPrices(SessionContext ctx, PromotionEvaluationContext promoContext, java.util.List<PromotionOrderEntryConsumed> consumedEntries, double targetTotal, double originalTotal)Adjust the unit prices of the PromotionOrderEntryConsumed items specified to match the target totalprotected static java.math.BigDecimalHelper. calculateOrderEntryAdjustedTotal(SessionContext ctx, Currency currency, java.util.List<PromotionOrderEntryConsumed> entries)Helper method to calculate the sum of the AdjustedEntryPrice for each of the PromotionOrderEntryConsumed items.
-