public IPointToLaceProvider this[DataProviderName name] { get { switch (name) { case DataProviderName.IVIDVerify_E_WS: var ividResponse = Lace.Domain.Core.Entities.IvidResponse.Build("NO_ISSUES", "IVD - 01468460493", "XMC167GP", "CNC407L", "2/18/2014", "SB1KV58E40F039277", "1ZRU041295", "1598", "1276"); ividResponse.HasBeenHandled(); return ividResponse; case DataProviderName.IVIDTitle_E_WS: var ividTitleHolderResponse = new Lace.Domain.Core.Entities.IvidTitleHolderResponse(); ividTitleHolderResponse.Build("WesBank", false, "00009009838", DateTime.UtcNow.AddYears(-10), DateTime.UtcNow.AddYears(-5), ""); ividTitleHolderResponse.HasBeenHandled(); return ividTitleHolderResponse; case DataProviderName.LSAutoCarStats_I_DB: var lightstoneAutoResponse = new Lace.Domain.Core.Entities.LightstoneAutoResponse(107483, DateTime.UtcNow.Year, "SB1KV58E40F039277", "", "3rd Quarter", "TOYOTA Auris 1.6 RT 5-dr", "Auris 1.6 RT 5-dr", null); lightstoneAutoResponse.HasBeenHandled(); return lightstoneAutoResponse; case DataProviderName.LSAutoSpecs_I_DB: var rgtResponse = new Lace.Domain.Core.Entities.RgtResponse("TOYOTA", 2008, "Hatch back", "190", "91", "6.2", "10.4", "157", "166", "1598", "Hatch (5-dr)", "Petrol", "Man", "Toyota AURIS", "STANDARD WHITE", "", "", "", "D166", "T05", "Auris", "" , "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""); rgtResponse.HasBeenHandled(); return rgtResponse; case DataProviderName.LSAutoVINMaster_I_DB: var rgtVinResponse = new Lace.Domain.Core.Entities.RgtVinResponse("Super White II", 8, 0, 3, 0, "TOYOTA", "Auris 1.6 RT 5-dr", "Auris", "SB1KV58E40F039277", 2008); rgtVinResponse.HasBeenHandled(); return rgtVinResponse; case DataProviderName.Audatex: var audatexResponse = new Lace.Domain.Core.Entities.AudatexResponse(new List<IProvideAccidentClaim> { new AccidentClaim(DateTime.MinValue, string.Empty, string.Empty, DateTime.MinValue, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, 0.0M, 0.0M, DateTime.MinValue, string.Empty, string.Empty, string.Empty, string.Empty) }); audatexResponse.HasBeenHandled(); return audatexResponse; case DataProviderName.PCubedFica_E_WS: return new PCubedFicaVerficationResponse().Default(); case DataProviderName.PCubedEZScore_E_WS: return new PCubedEzScoreResponse().Default(); case DataProviderName.LSAutoDecryptDriverLic_I_WS: return new SignioDriversLicenseDecryptionResponse().Default(); case DataProviderName.LSPropertySearch_E_WS: return new LightstonePropertyResponse().Default(); case DataProviderName.LSBusinessCompany_E_WS: return new LightstoneBusinessResponse().Default(); case DataProviderName.LSBusinessDirector_E_WS: return new LightstoneDirectorResponse().Default(); case DataProviderName.BMWFSTitle_E_DB: return new BmwFinanceResponse().Default(); default: return null; } } }
private static void NotHandledResponse(ICollection<IPointToLaceProvider> response) { var ividTitleResponse = new IvidTitleHolderResponse(); ividTitleResponse.HasNotBeenHandled(); response.Add(ividTitleResponse); }