コード例 #1
0
 private void InicializarContrato(string unNumeroDeContrato)
 {
     this.NumeroContrato = unNumeroDeContrato;
     InicializarCliente();
     InicializarPlan();
     this.Vehiculo        = new Vehiculo();
     this.Vivienda        = new Vivienda();
     this.Prima           = PrimaFactory.CrearPrimaSeguroDEVida(0, this.Cliente.Fecha, string.Empty, string.Empty);
     this.DetalleContrato = DetalleContrato.CrearDetalleDeContrato();
 }
コード例 #2
0
 private void SeguroVivienda()
 {
     this.Prima = PrimaFactory.CrearPrimaSeguroVivienda(this.Plan.PrimaBase, this.Vivienda.AnoVivienda, this.Vivienda.IdRegion, this.Vivienda.ValorVivienda, this.Vivienda.ValorContenido);
 }
コード例 #3
0
 private void SeguroDeVida()
 {
     this.Prima = PrimaFactory.CrearPrimaSeguroDEVida(this.Plan.PrimaBase, this.Cliente.Fecha, this.Cliente.Sexo, this.Cliente.EstadoCivil);
 }
コード例 #4
0
 private void SeguroVehiculo()
 {
     this.Prima = PrimaFactory.CrearPrimaSeguroVehiculo(this.Plan.PrimaBase, this.Cliente.Fecha, this.Cliente.Sexo, this.Vehiculo.AnoVehiculo);
 }
コード例 #5
0
 private void NingunSeguro()
 {
     this.Prima = PrimaFactory.CrearPrimaSeguroDEVida(0, DateTime.Today, string.Empty, string.Empty);
 }