예제 #1
0
        }         // MatchingGradeRanges

        public override void InitData(RejectionInputData data)
        {
            base.InitData(data);

            var lgData = data as LGRejectionInputData;

            if (lgData == null)
            {
                return;
            }

            CompanyID                 = lgData.CompanyID;
            TypeOfBusiness            = lgData.TypeOfBusiness;
            CompanyIsRegulated        = lgData.CompanyIsRegulated;
            LoanCount                 = lgData.LoanCount;
            CustomerOrigin            = lgData.CustomerOrigin;
            LoanSource                = lgData.LoanSource;
            AutoDecisionInternalLogic = lgData.AutoDecisionInternalLogic;

            RequestID          = lgData.RequestID;
            ResponseID         = lgData.ResponseID;
            ResponseHttpStatus = lgData.ResponseHttpStatus;
            ResponseErrors     = lgData.ResponseErrors;
            HardReject         = lgData.HardReject;
            Bucket             = lgData.Bucket;
            Score = lgData.Score;
            MatchingGradeRanges = lgData.MatchingGradeRanges;
        }         // InitData
예제 #2
0
        public void Execute(MatchingGradeRanges target)
        {
            if (target == null)
            {
                throw new ArgumentNullException("target", "Target list of grade ranges is NULL.");
            }

            target.Clear();

            ForEachRowSafe(sr => target.Add(new MatchingGradeRanges.SubproductGradeRange {
                ProductSubTypeID = sr["ProductSubTypeID"],
                GradeRangeID     = sr["GradeRangeID"],
            }));
        }         // Execute
예제 #3
0
        }         // Execute

        public void ExportMatchingGradeRanges(MatchingGradeRanges target)
        {
            if (target == null)
            {
                return;
            }

            target.Clear();

            if (this.matchingGradeRanges == null)
            {
                return;
            }

            target.AddRange(this.matchingGradeRanges);
        }         // ExportMatchingGradeRanges