public override IPaymanentOrderProcessing GetBusinessProcessingRule(RuleEngineType ruleEngine, object inputs) { if (ruleEngine.Equals(RuleEngineType.NewMembership)) { return(new NewMembShipBusinessRule(inputs)); } else if (ruleEngine.Equals(RuleEngineType.UpgradeMembership)) { return(new UpgradeMembBusinessRule(inputs)); } else { return(null); } }
public override IPaymanentOrderProcessing GetBusinessProcessingRule(RuleEngineType ruleEngine, object inputs) { if (ruleEngine.Equals(RuleEngineType.GeneratePackSlip)) { return(new PackSlipBusinessRule(inputs)); } else if (ruleEngine.Equals(RuleEngineType.GenerateDuplicatePackSlip)) { return(new DuplicatePackSlipBusinessRule(inputs)); } else { return(null); } }
public override IPaymanentOrderProcessing GetBusinessProcessingRule(RuleEngineType ruleEngine, object inputs) { if (ruleEngine.Equals(RuleEngineType.LearningToSki)) { return(new LearningToSkiBusinessRule(inputs)); } else { return(null); } }