C# 클래스 Kooboo.Commerce.Promotions.PromotionMatcher

파일 보기 프로젝트 열기: Kooboo/Ecommerce 1 사용 예제들

공개 메소드들

메소드 설명
MatchApplicablePromotions ( PriceCalculationContext context, IEnumerable candidatePromotions ) : IEnumerable
PromotionMatcher ( ConditionEvaluator ruleEngine ) : System

비공개 메소드들

메소드 설명
CheckOverlappingUsage ( List matches ) : void
GetMatchesToExclude ( List matches, int currentMatchIndex ) : List
TryMatchPromotion ( Kooboo.Commerce.Promotions.Promotion promotion, PriceCalculationContext context ) : PromotionMatch

메소드 상세

MatchApplicablePromotions() 공개 메소드

public MatchApplicablePromotions ( PriceCalculationContext context, IEnumerable candidatePromotions ) : IEnumerable
context Kooboo.Commerce.Orders.Pricing.PriceCalculationContext
candidatePromotions IEnumerable
리턴 IEnumerable

PromotionMatcher() 공개 메소드

public PromotionMatcher ( ConditionEvaluator ruleEngine ) : System
ruleEngine ConditionEvaluator
리턴 System