/// <remarks/>
 public void FECompConsultarAsync( FEAuthRequest Auth, FECompConsultaReq FeCompConsReq, object userState )
 {
     if ( ( this.FECompConsultarOperationCompleted == null ) )
     {
         this.FECompConsultarOperationCompleted = new System.Threading.SendOrPostCallback( this.OnFECompConsultarOperationCompleted );
     }
     this.InvokeAsync( "FECompConsultar", new object[] {
             Auth,
             FeCompConsReq}, this.FECompConsultarOperationCompleted, userState );
 }
 /// <remarks/>
 public void FECompConsultarAsync( FEAuthRequest Auth, FECompConsultaReq FeCompConsReq )
 {
     this.FECompConsultarAsync( Auth, FeCompConsReq, null );
 }
 /// <remarks/>
 public System.IAsyncResult BeginFECompConsultar( FEAuthRequest Auth, FECompConsultaReq FeCompConsReq, System.AsyncCallback callback, object asyncState )
 {
     return this.BeginInvoke( "FECompConsultar", new object[] {
             Auth,
             FeCompConsReq}, callback, asyncState );
 }
 public FECompConsultaResponse FECompConsultar( FEAuthRequest Auth, FECompConsultaReq FeCompConsReq )
 {
     object[] results = this.Invoke( "FECompConsultar", new object[] {
             Auth,
             FeCompConsReq} );
     return ( (FECompConsultaResponse) ( results[0] ) );
 }
        /// <summary>
        /// Obtiene informacion de respuesta de autorizacion para un comprobante
        /// </summary>
        /// <param name="aut">Autorizacion</param>
        /// <param name="tipoComprobante">Tipo de Comprobante</param>
        /// <param name="nroComprobante">Nro de Comprobante</param>
        /// <param name="ptoVta">Punto de Venta</param>
        /// <returns>Respuesta simil a la de solicitud de CAE</returns>
        public override CAEDetalleRespuesta DatosDeComprobante( Autorizacion aut, int tipoComprobante, int nroComprobante, int ptoVta )
        {
            FEAuthRequest feAutRequest = this.wa.ConvertirFe( aut );
            FECompConsultaReq solicitud = new FECompConsultaReq();
            solicitud.CbteNro = nroComprobante;
            solicitud.CbteTipo = tipoComprobante;
            solicitud.PtoVta = ptoVta;
            FECompConsultaResponse respuesta = this.wsfe.FECompConsultar( feAutRequest, solicitud );
            this.managerErrores.CapturarError( respuesta.Errors );

            ConversorConsultaCaeARespuestaCae conversor = new ConversorConsultaCaeARespuestaCae();
            CAEDetalleRespuesta respuestaConvertida = conversor.ConvertirDetalle( respuesta.ResultGet );

            return respuestaConvertida;
        }