예제 #1
0
 public FraudChecker(IDummyOrderObject order)
 {
     this.IsRulesLoaded = false;
     this.ReportOfPassingRules = new List<string>();
     this.ReportOfFailingRules = new Dictionary<string, string>();
     this.order = order;
 }
예제 #2
0
 public abstract IRuleValidationResult ValidateRule(IDummyOrderObject order);
예제 #3
0
 public void LoadOrder(IDummyOrderObject newOrder)
 {
     this.order = newOrder;
     this.ResetState();
 }
예제 #4
0
 public FraudChecker(IDummyOrderObject order, IFraudRepository repository, string channelKey)
     : this(order, channelKey)
 {
     this.repository = repository;
     this.IsRepositoryLoaded = true;
 }
예제 #5
0
 public FraudChecker(IDummyOrderObject order, IFraudRepository repository)
     : this(order)
 {
     this.repository = repository;
     this.IsRepositoryLoaded = true;
 }
예제 #6
0
 public FraudChecker(IDummyOrderObject order, string channelKey)
     : this(order)
 {
     this.channelKey = channelKey;
 }