public override int CompareTo(object obj) { if (obj is IdentificadorPago) { IdentificadorPago oVar = obj as IdentificadorPago; return(String.Compare(this.ToString(), oVar.ToString(), true)); } else if (obj is string) { return(String.Compare(this.ToString(), obj as string)); } else { return(-1); } }
public void Limpiar() { this.identificadorPagos = null; this.formaPago = null; }