//internal IEstadoComprobante EstadoComprobante { get => estadoComprobante; set => estadoComprobante = value; } internal EstadoClase(long codigoClase, IEstadoComprobante estadoComprobante) { this.codigoClase = codigoClase; this.estadoComprobante = estadoComprobante; }
internal void SetEstadoComprobante(IEstadoComprobante estadoComprobante) { this.EstadoComprobanteActual = estadoComprobante; }
public IEstadoComprobante getEstado(long indice) { IEstadoComprobante claseEstado = estadosComprobante.Where(x => x.getCodigoClase() == indice).Select(x => x.getestadoComprobante()).FirstOrDefault(); return(claseEstado); }