Uses of Class
com.skava.oms.delegate.model.Promotion
Packages that use Promotion
Package
Description
This package contains the information about the adapter flow
This package contains the information about the util flow
-
Uses of Promotion in com.skava.oms.flow.adapter
Methods in com.skava.oms.flow.adapter with parameters of type PromotionModifier and TypeMethodDescriptionPromotionDelegateUtil.setDefaultPromotionMessage
(org.camunda.bpm.engine.delegate.DelegateExecution promoExecution, Promotion promoPayload, Map<String, String> promotionReason) PromotionDelegateUtil.setFailureMessageFromConfig
(org.camunda.bpm.engine.delegate.DelegateExecution promExecution, Promotion promPayload, Map<String, String> promReason) static void
PromotionDelegateUtil.setPromoFailMsg
(org.camunda.bpm.engine.delegate.DelegateExecution promotionExecution, Promotion promotionPayload, Map<String, String> promotionReason, org.json.JSONArray promoJsonArray) Method parameters in com.skava.oms.flow.adapter with type arguments of type PromotionModifier and TypeMethodDescriptionstatic void
PreProcessPromotionDelegate.checkAndSetPersonalizationLevel
(Personalization[] personalizations, List<Promotion> promotionList) This method checks the promotion in the personalization levelstatic void
PreProcessPromotionDelegate.checkAndSetShippingLevel
(ShippingMethodPriceInfo[] shippingMethodPriceInfos, List<Promotion> promotionList) This method checks the promotions in the shipping level -
Uses of Promotion in com.skava.oms.flow.util
Methods in com.skava.oms.flow.util that return types with arguments of type PromotionModifier and TypeMethodDescriptionPromotionUtil.getPromotions
(Order order) This method gets the promotion codes available in the order Promotions can be present in : 1.OrderItem level 2.Personalization in orderItem 3.Shipping in OrderItemMethod parameters in com.skava.oms.flow.util with type arguments of type PromotionModifier and TypeMethodDescriptionstatic void
PromotionUtil.checkPersonalizationLevel
(Personalization[] personalizations, List<Promotion> promotionList) This method checks the promotion in the personalization levelstatic void
PromotionUtil.checkShippingLevel
(ShippingMethodPriceInfo[] shippingMethodPriceInfos, List<Promotion> promotionList) This method checks the promotions in the shipping levelstatic void
PromotionUtil.getDiscountCode
(Discount[] discounts, List<Promotion> promotionList) This method gets the discount codes from the given discount array If the code is already present in the list, then that is not taken into consideration