Ejemplo n.º 1
0
        /// <summary>
        ///     This method calls back portal for every log record in the list
        /// </summary>
        private static void MakeCallBacks(Common.Context appContext, List <DataRequestLog> logs, bool?isFreddieMacMortgage)
        {
            if (!CallingSystem.isAnyCallBack(appContext))
            {
                return;
            }

            var resultObj = new BAL.Results();

            resultObj.freddieMacResult = new FreddieMortgageDetails();
            resultObj.freddieMacResult.isFreddieMortgage = isFreddieMacMortgage;

            foreach (var rec in logs)
            {
                resultObj.mortgageServicer.BBL                 = rec.BBL;
                resultObj.mortgageServicer.requestId           = rec.RequestId;
                resultObj.mortgageServicer.status              = ((RequestStatus)rec.RequestStatusTypeId).ToString();
                resultObj.mortgageServicer.externalReferenceId = rec.ExternalReferenceId;
                CallingSystem.PostCallBack(appContext, resultObj);
            }
        }
Ejemplo n.º 2
0
        /// <summary>
        ///     This method calls back portal for every log record in the list
        /// </summary>
        private static void MakeCallBacks(Common.Context appContext, List <DataRequestLog> logs, Decimal?billAmount)
        {
            if (!CallingSystem.isAnyCallBack(appContext))
            {
                return;
            }

            var resultObj = new BAL.Results();

            resultObj.waterBill            = new WaterBillDetails();
            resultObj.waterBill.billAmount = billAmount;

            foreach (var rec in logs)
            {
                resultObj.waterBill.BBL                 = rec.BBL;
                resultObj.waterBill.requestId           = rec.RequestId;
                resultObj.waterBill.status              = ((RequestStatus)rec.RequestStatusTypeId).ToString();
                resultObj.waterBill.externalReferenceId = rec.ExternalReferenceId;
                CallingSystem.PostCallBack(appContext, resultObj);
            }
        }
Ejemplo n.º 3
0
        /// <summary>
        ///     This method calls back portal for every log record in the list
        /// </summary>
        private static void MakeCallBacks(Common.Context appContext, List <DataRequestLog> logs, WebDataDB.Mortgage mortgageDocumentResultObj)
        {
            if (!CallingSystem.isAnyCallBack(appContext))
            {
                return;
            }

            var resultObj = new BAL.Results();

            resultObj.mortgageDocumentResult = new MortgageDocumentResult();
            resultObj.mortgageDocumentResult.mortgageDetails = mortgageDocumentResultObj;

            foreach (var rec in logs)
            {
                resultObj.mortgageDocumentResult.BBL                 = rec.BBL;
                resultObj.mortgageDocumentResult.requestId           = rec.RequestId;
                resultObj.mortgageDocumentResult.status              = ((RequestStatus)rec.RequestStatusTypeId).ToString();
                resultObj.mortgageDocumentResult.externalReferenceId = rec.ExternalReferenceId;
                CallingSystem.PostCallBack(appContext, resultObj);
            }
        }
Ejemplo n.º 4
0
        /// <summary>
        ///     This method calls back portal for every log record in the list
        /// </summary>
        /// <param name="appContext"></param>
        /// <param name="zEstimate"></param>
        /// <param name="logs">List or Request Log Records</param>
        private static void MakeCallBacks(Common.Context appContext, List <DataRequestLog> logs, Decimal?zEstimate)
        {
            if (!CallingSystem.isAnyCallBack(appContext))
            {
                return;
            }

            var resultObj = new BAL.Results();

            resultObj.zillowProperty           = new ZillowPropertyDetails();
            resultObj.zillowProperty.zEstimate = zEstimate;

            foreach (var rec in logs)
            {
                resultObj.zillowProperty.BBL                 = rec.BBL;
                resultObj.zillowProperty.requestId           = rec.RequestId;
                resultObj.zillowProperty.status              = ((RequestStatus)rec.RequestStatusTypeId).ToString();
                resultObj.zillowProperty.externalReferenceId = rec.ExternalReferenceId;
                CallingSystem.PostCallBack(appContext, resultObj);
            }
        }
Ejemplo n.º 5
0
        /// <summary>
        ///     This method calls back portal for every log record in the list
        /// </summary>
        private static void MakeCallBacks(Common.Context appContext, List <DataRequestLog> logs, NoticeOfProperyValue noticeOfPropertyValueObj)
        {
            if (!CallingSystem.isAnyCallBack(appContext))
            {
                return;
            }

            var resultObj = new BAL.Results();

            resultObj.noticeOfPropertyValueResult = new NoticeOfPropertyValueResult();
            resultObj.noticeOfPropertyValueResult.noticeOfPropertyValue = noticeOfPropertyValueObj;

            foreach (var rec in logs)
            {
                resultObj.noticeOfPropertyValueResult.BBL                 = rec.BBL;
                resultObj.noticeOfPropertyValueResult.requestId           = rec.RequestId;
                resultObj.noticeOfPropertyValueResult.status              = ((RequestStatus)rec.RequestStatusTypeId).ToString();
                resultObj.noticeOfPropertyValueResult.externalReferenceId = rec.ExternalReferenceId;
                CallingSystem.PostCallBack(appContext, resultObj);
            }
        }
Ejemplo n.º 6
0
        /// <summary>
        ///     This method calls back portal for every log record in the list
        /// </summary>
        private static void MakeCallBacks(Common.Context appContext, List <DataRequestLog> logs, decimal?penaltyAmount, decimal?violationAmount)
        {
            if (!CallingSystem.isAnyCallBack(appContext))
            {
                return;
            }

            var resultObj = new BAL.Results();

            resultObj.dobPenaltiesAndViolationsSummary = new DOBPenaltiesAndViolationsSummaryData();
            resultObj.dobPenaltiesAndViolationsSummary.civilPenaltyAmount = penaltyAmount;
            resultObj.dobPenaltiesAndViolationsSummary.violationAmount    = violationAmount;

            foreach (var rec in logs)
            {
                resultObj.dobPenaltiesAndViolationsSummary.BBL                 = rec.BBL;
                resultObj.dobPenaltiesAndViolationsSummary.requestId           = rec.RequestId;
                resultObj.dobPenaltiesAndViolationsSummary.status              = ((RequestStatus)rec.RequestStatusTypeId).ToString();
                resultObj.dobPenaltiesAndViolationsSummary.externalReferenceId = rec.ExternalReferenceId;
                CallingSystem.PostCallBack(appContext, resultObj);
            }
        }