예제 #1
0
 public AIA.Life.Models.Opportunity.Prospect SaveProspect(AIA.Life.Models.Opportunity.Prospect objProspect)
 {
     #region Call API
     objProspect = WebApiLogic.GetPostComplexTypeToAPI <AIA.Life.Models.Opportunity.Prospect>(objProspect, "SaveProspect", "Suspect");
     #endregion
     return(objProspect);
 }
예제 #2
0
 public QuoteList()
 {
     objProspect  = new Prospect();
     objListQuote = new List <LifeQuote>();
     ObjLifeQuote = new LifeQuote();
     ObjQuotationPreviousInsurance = new QuotationPreviousInsurance();
 }
예제 #3
0
 public LifeQuote()
 {
     objProspect = new Prospect();
     ObjQuotationPreviousInsurance = new QuotationPreviousInsurance();
     lstGender             = new List <Common.MasterListItem>();
     lstOccupation         = new List <Common.MasterListItem>();
     objProductDetials     = new ProductDetials();
     objQuoteMemberDetails = new List <QuoteMemberDetails>();
     LstBenefitOverView    = new List <BenifitDetails>();
     LstPremiumOverview    = new List <BenifitDetails>();
     LstIllustation        = new List <Illustation>();
     objQuoteMemberDetails = new List <QuoteMemberDetails>();
     ListPlan                 = new List <MasterListItem>();
     LstPolicyTerm            = new List <MasterListItem>();
     LstPremiumTerm           = new List <MasterListItem>();
     lstLanguage              = new List <MasterListItem>();
     lstPrefMode              = new List <MasterListItem>();
     LstBenefitOverView       = new List <BenifitDetails>();
     LstPremiumOverview       = new List <BenifitDetails>();
     lstSumInsured            = new List <MasterListItem>();
     objPreviousInsuranceList = new List <PreviousInsuranceList>();
     objChildDetials          = new List <ChildDetails>();
     objSpouseDetials         = new SpouseDetails();
     lstSAM             = new List <MasterListItem>();
     Error              = new Error();
     LstDrawDownDetails = new List <Common.DrawDownDetails>();
 }
예제 #4
0
 public AIA.Life.Models.Opportunity.Prospect FetchNicverifyPolicyIL(AIA.Life.Models.Opportunity.Prospect objProspect)
 {
     #region Call API
     objProspect = WebApiLogic.GetPostComplexTypeToAPI <AIA.Life.Models.Opportunity.Prospect>(objProspect, "FetchNicverifyPolicyIL", "Suspect");
     #endregion
     return(objProspect);
 }
예제 #5
0
 public AIA.Life.Models.Opportunity.Prospect LoadAllocateSuspect(AIA.Life.Models.Opportunity.Prospect objPolicy)
 {
     #region Call API
     objPolicy = WebApiLogic.GetPostComplexTypeToAPI <AIA.Life.Models.Opportunity.Prospect>(objPolicy, "LoadAllocateSuspect", "Suspect");
     #endregion
     return(objPolicy);
 }
예제 #6
0
        //public Contacts SaveSuspectDetails(Contacts objSuspect)
        //{
        //    //Contacts objSuspectDetails = new Contacts();
        //    //#region Call API
        //    //objSuspectDetails = WebApiLogic.GetPostComplexTypeToAPI<Contacts>(objSuspect, "SaveSuspectDetails", "Suspect");
        //    //#endregion
        //    return objSuspectDetails;
        //}

        public AIA.Life.Models.Opportunity.Prospect  LoadProspectPool(AIA.Life.Models.Opportunity.Prospect objPolicyData)
        {
            #region Call API
            objPolicyData = WebApiLogic.GetPostComplexTypeToAPI <AIA.Life.Models.Opportunity.Prospect>(objPolicyData, "LoadProspectPool", "Suspect");
            #endregion
            return(objPolicyData);
        }
예제 #7
0
 public AIA.Life.Models.Opportunity.Prospect LoadContactInformation(AIA.Life.Models.Opportunity.Prospect objProspect)
 {
     #region Call API
     objProspect = WebApiLogic.GetPostComplexTypeToAPI <AIA.Life.Models.Opportunity.Prospect>(objProspect, "LoadContactInformation", "Suspect");
     #endregion
     return(objProspect);
 }
예제 #8
0
        public AIA.Life.Models.Opportunity.Prospect FetchNicverifyQuote(AIA.Life.Models.Opportunity.Prospect objProspect)
        {
            //objProspect = (Prospect)IL.ClientEnquiry(objProspect);
            ProspectLogic objlogic = new ProspectLogic();

            objlogic.GetNICValidateQuote(objProspect);

            return(objProspect);
        }
예제 #9
0
 public AIA.Life.Models.Opportunity.Prospect FetchNicForModifySuspect(AIA.Life.Models.Opportunity.Prospect objProspect)
 {
     AIA.Life.Business.Prospect.ProspectBusiness objProspectBusiness = new AIA.Life.Business.Prospect.ProspectBusiness();
     objProspect = objProspectBusiness.FetchNicverify(objProspect);
     if (objProspect == null)
     {
         objProspect = objProspectBusiness.FetchNicverifyPolicyIL(objProspect);
     }
     return(objProspect);
 }
예제 #10
0
        //FetchNicverifyPolicyIL
        public AIA.Life.Models.Opportunity.Prospect FetchNicverifyPolicyIL(AIA.Life.Models.Opportunity.Prospect objProspect)
        {
            ProspectLogic objlogic = new ProspectLogic();

            objlogic.GetNICValidateQuote(objProspect);
            if (!objProspect.NICAVAIL)
            {
                objlogic.GetDetailsFromPolicyCLientIL(objProspect);
            }

            return(objProspect);
        }
예제 #11
0
 public AIA.Life.Models.Opportunity.Prospect LoadContactInformation(AIA.Life.Models.Opportunity.Prospect objProspect)
 {
     try
     {
         ProspectLogic objlogic = new ProspectLogic();
         return(objlogic.LoadContactInformation(objProspect));
     }
     catch (Exception e)
     {
         log4net.GlobalContext.Properties["ErrorCode"] = objProspect.Error.ErrorCode = Codes.GetErrorCode();
         Logger.Error(e);
         objProspect.Error.ErrorMessage = "Please inform the IT HelpDesk on this application issue. Error Code is " + objProspect.Error.ErrorCode + ". Sorry for the inconvenience caused";
         return(objProspect);
     }
 }
예제 #12
0
 public AIA.Life.Models.Opportunity.Prospect LoadProspectPool(AIA.Life.Models.Opportunity.Prospect objPolicyLoadData)
 {
     try
     {
         AIA.Data.Life.API.ControllerLogic.Prospect.ProspectLogic objProspectLogic = new ControllerLogic.Prospect.ProspectLogic();
         objPolicyLoadData.ObjProspectPool = objProspectLogic.GetProspectPool(objPolicyLoadData);
         return(objPolicyLoadData);
     }
     catch (Exception e)
     {
         log4net.GlobalContext.Properties["ErrorCode"] = objPolicyLoadData.Error.ErrorCode = Codes.GetErrorCode();
         Logger.Error(e);
         objPolicyLoadData.Error.ErrorMessage = "Please inform the IT HelpDesk on this application issue. Error Code is " + objPolicyLoadData.Error.ErrorCode + ". Sorry for the inconvenience caused";
         return(objPolicyLoadData);
     }
 }
예제 #13
0
 public AIA.Life.Models.Opportunity.Prospect SaveProspect(AIA.Life.Models.Opportunity.Prospect objProspect)
 {
     try
     {
         ProspectLogic objlogic = new ProspectLogic();
         //if (string.IsNullOrEmpty(objProspect.ClientCode))
         //{
         //    objProspect = (Prospect)IL.ClientEnquiry(objProspect);
         //}
         objProspect.Error = new AIA.Life.Models.Common.Error();
         //if (string.IsNullOrEmpty(objProspect.Error.ErrorMessage))
         objProspect = objlogic.SaveProspect(objProspect);
         return(objProspect);
     }
     catch (Exception e)
     {
         log4net.GlobalContext.Properties["ErrorCode"] = objProspect.Error.ErrorCode = Codes.GetErrorCode();
         Logger.Error(e);
         objProspect.Error.ErrorMessage = "Please inform the IT HelpDesk on this application issue. Error Code is " + objProspect.Error.ErrorCode + ". Sorry for the inconvenience caused";
         return(objProspect);
     }
 }
예제 #14
0
 public AIA.Life.Models.Opportunity.Prospect SendEmailAndSMSNotificationOnSAveProspect(AIA.Life.Models.Opportunity.Prospect objProspect)
 {
     #region Call API
     objProspect = WebApiLogic.GetPostComplexTypeToAPI <AIA.Life.Models.Opportunity.Prospect>(objProspect, "SendEmailAndSMSNotificationOnSAveProspect", "Policy");
     //WebApiLogic.FireForgetAPI(objProspect, "SendEmailAndSMSNotificationOnSAveProspect", "Policy");
     #endregion
     return(objProspect);
 }
예제 #15
0
 public AIA.Life.Models.Opportunity.Prospect LoadContactInformation(AIA.Life.Models.Opportunity.Prospect objProspect)
 {
     AIA.Life.Business.Prospect.ProspectBusiness objProspectBusiness = new AIA.Life.Business.Prospect.ProspectBusiness();
     objProspect = objProspectBusiness.LoadContactInformation(objProspect);
     return(objProspect);
 }
예제 #16
0
 public AIA.Life.Models.Opportunity.Prospect SaveNeedAnalysis(AIA.Life.Models.Opportunity.Prospect objProspect)
 {
     AIA.Life.Business.Prospect.ProspectBusiness objProspectBusiness = new AIA.Life.Business.Prospect.ProspectBusiness();
     objProspect = objProspectBusiness.SaveNeedAnalysis(objProspect);
     return(objProspect);
 }
예제 #17
0
 public AIA.Life.Models.Opportunity.Prospect DeleteOpportunityInfo(AIA.Life.Models.Opportunity.Prospect objSuspect)
 {
     AIA.Life.Business.Prospect.ProspectBusiness objProspectBusiness = new AIA.Life.Business.Prospect.ProspectBusiness();
     objSuspect = objProspectBusiness.DeleteOpportunityInfo(objSuspect);
     return(objSuspect);
 }
예제 #18
0
 //FetchNicverifyPolicyIL
 public AIA.Life.Models.Opportunity.Prospect FetchNicverifyPolicyIL(AIA.Life.Models.Opportunity.Prospect objProspect)
 {
     AIA.Life.Business.Prospect.ProspectBusiness objProspectBusiness = new AIA.Life.Business.Prospect.ProspectBusiness();
     objProspect = objProspectBusiness.FetchNicverifyPolicyIL(objProspect);
     return(objProspect);
 }
예제 #19
0
 public AIA.Life.Models.Opportunity.Prospect FetchNicDetails(AIA.Life.Models.Opportunity.Prospect objProspect)
 {
     AIA.Life.Business.Prospect.ProspectBusiness objProspectBusiness = new AIA.Life.Business.Prospect.ProspectBusiness();
     objProspect = objProspectBusiness.FetchNicDetails(objProspect);
     return(objProspect);
 }
예제 #20
0
 public AIA.Life.Models.Opportunity.Prospect LoadAllocateSuspect(AIA.Life.Models.Opportunity.Prospect objPolicyData)
 {
     AIA.Life.Business.Prospect.ProspectBusiness objProspectBusiness = new AIA.Life.Business.Prospect.ProspectBusiness();
     objPolicyData = objProspectBusiness.LoadAllocateSuspect(objPolicyData);
     return(objPolicyData);
 }
예제 #21
0
 public AIA.Life.Models.Opportunity.Prospect FetchNicDetails(AIA.Life.Models.Opportunity.Prospect objProspect)
 {
     //objProspect = (Prospect)IL.ClientEnquiry(objProspect);
     return(objProspect);
 }
예제 #22
0
 public AIA.Life.Models.Opportunity.Prospect LoadProspectPoolData(AIA.Life.Models.Opportunity.Prospect objPolicyData)
 {
     AIA.Life.Business.Prospect.ProspectBusiness objProspectBusiness = new AIA.Life.Business.Prospect.ProspectBusiness();
     objPolicyData = objProspectBusiness.LoadProspectPool(objPolicyData);
     return(objPolicyData);
 }
예제 #23
0
        public AIA.Life.Models.Opportunity.Prospect DeleteOpportunityInfo(AIA.Life.Models.Opportunity.Prospect objProspect)
        {
            ProspectLogic objlogic = new ProspectLogic();

            return(objlogic.DeleteOpportunity(objProspect));
        }