//------------------------------------------------------------------------------
// <auto-generated>
//     Este código fue generado por una herramienta.
//     Versión de runtime:4.0.30319.1
//
//     Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
//     se vuelve a generar el código.
// </auto-generated>
//------------------------------------------------------------------------------

// 
// Microsoft.VSDesigner generó automáticamente este código fuente, versión=4.0.30319.1.
// 
#pragma warning disable 1591

namespace LLNet.Tienda.com.aloprepago.www {
    using System;
    using System.Web.Services;
    using System.Diagnostics;
    using System.Web.Services.Protocols;
    using System.ComponentModel;
    using System.Xml.Serialization;
    
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="AloIntegraINTEGRACION", Namespace="http://www.lticr.com/ALO-INTEGRACION/")]
    public partial class AloIntegraINTEGRACION : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        private System.Threading.SendOrPostCallback PingOperationCompleted;
        
        private System.Threading.SendOrPostCallback ProcesoGeneralOperationCompleted;
        
        private bool useDefaultCredentialsSetExplicitly;
        
        /// <remarks/>
        public AloIntegraINTEGRACION() {
            this.Url = global::LLNet.Tienda.Properties.Settings.Default.Tienda_com_aloprepago_www_AloIntegraDESARROLLO;
            if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
                this.UseDefaultCredentials = true;
                this.useDefaultCredentialsSetExplicitly = false;
            }
            else {
                this.useDefaultCredentialsSetExplicitly = true;
            }
        }
        
        public new string Url {
            get {
                return base.Url;
            }
            set {
                if ((((this.IsLocalFileSystemWebService(base.Url) == true) 
                            && (this.useDefaultCredentialsSetExplicitly == false)) 
                            && (this.IsLocalFileSystemWebService(value) == false))) {
                    base.UseDefaultCredentials = false;
                }
                base.Url = value;
            }
        }
        
        public new bool UseDefaultCredentials {
            get {
                return base.UseDefaultCredentials;
            }
            set {
                base.UseDefaultCredentials = value;
                this.useDefaultCredentialsSetExplicitly = true;
            }
        }
        
        /// <remarks/>
        public event PingCompletedEventHandler PingCompleted;
        
        /// <remarks/>
        public event ProcesoGeneralCompletedEventHandler ProcesoGeneralCompleted;
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.lticr.com/ALO-INTEGRACION/Ping", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare)]
        [return: System.Xml.Serialization.XmlElementAttribute("Pong", Namespace="http://www.lticr.com/ALO-INTEGRACION/")]
        public Pong Ping([System.Xml.Serialization.XmlElementAttribute("Ping", Namespace="http://www.lticr.com/ALO-INTEGRACION/")] Ping Ping1) {
            object[] results = this.Invoke("Ping", new object[] {
                        Ping1});
            return ((Pong)(results[0]));
        }
        
        /// <remarks/>
        public void PingAsync(Ping Ping1) {
            this.PingAsync(Ping1, null);
        }
        
        /// <remarks/>
        public void PingAsync(Ping Ping1, object userState) {
            if ((this.PingOperationCompleted == null)) {
                this.PingOperationCompleted = new System.Threading.SendOrPostCallback(this.OnPingOperationCompleted);
            }
            this.InvokeAsync("Ping", new object[] {
                        Ping1}, this.PingOperationCompleted, userState);
        }
        
        private void OnPingOperationCompleted(object arg) {
            if ((this.PingCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.PingCompleted(this, new PingCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.lticr.com/ALO-INTEGRACION/ProcesoGeneral", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare)]
        [return: System.Xml.Serialization.XmlElementAttribute("TransaccionOutput", Namespace="http://www.lticr.com/ALO-INTEGRACION/")]
        public TransaccionOutput ProcesoGeneral([System.Xml.Serialization.XmlElementAttribute("ProcesoGeneral", Namespace="http://www.lticr.com/ALO-INTEGRACION/")] ProcesoGeneral ProcesoGeneral1) {
            object[] results = this.Invoke("ProcesoGeneral", new object[] {
                        ProcesoGeneral1});
            return ((TransaccionOutput)(results[0]));
        }
        
        /// <remarks/>
        public void ProcesoGeneralAsync(ProcesoGeneral ProcesoGeneral1) {
            this.ProcesoGeneralAsync(ProcesoGeneral1, null);
        }
        
        /// <remarks/>
        public void ProcesoGeneralAsync(ProcesoGeneral ProcesoGeneral1, object userState) {
            if ((this.ProcesoGeneralOperationCompleted == null)) {
                this.ProcesoGeneralOperationCompleted = new System.Threading.SendOrPostCallback(this.OnProcesoGeneralOperationCompleted);
            }
            this.InvokeAsync("ProcesoGeneral", new object[] {
                        ProcesoGeneral1}, this.ProcesoGeneralOperationCompleted, userState);
        }
        
        private void OnProcesoGeneralOperationCompleted(object arg) {
            if ((this.ProcesoGeneralCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.ProcesoGeneralCompleted(this, new ProcesoGeneralCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        public new void CancelAsync(object userState) {
            base.CancelAsync(userState);
        }
        
        private bool IsLocalFileSystemWebService(string url) {
            if (((url == null) 
                        || (url == string.Empty))) {
                return false;
            }
            System.Uri wsUri = new System.Uri(url);
            if (((wsUri.Port >= 1024) 
                        && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
                return true;
            }
            return false;
        }
    }
    
    /// <comentarios/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.lticr.com/ALO-INTEGRACION/")]
    public partial class Ping {
    }
    
    /// <comentarios/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.lticr.com/ALO-INTEGRACION/")]
    public partial class tipoTransaccion {
        
        private string operacionField;
        
        private string servicioField;
        
        private string telefonoField;
        
        private string montoField;
        
        private string vendedorField;
        
        private string documentoField;
        
        private string fechaField;
        
        private string sucursalField;
        
        /// <comentarios/>
        public string Operacion {
            get {
                return this.operacionField;
            }
            set {
                this.operacionField = value;
            }
        }
        
        /// <comentarios/>
        public string Servicio {
            get {
                return this.servicioField;
            }
            set {
                this.servicioField = value;
            }
        }
        
        /// <comentarios/>
        public string Telefono {
            get {
                return this.telefonoField;
            }
            set {
                this.telefonoField = value;
            }
        }
        
        /// <comentarios/>
        public string Monto {
            get {
                return this.montoField;
            }
            set {
                this.montoField = value;
            }
        }
        
        /// <comentarios/>
        public string Vendedor {
            get {
                return this.vendedorField;
            }
            set {
                this.vendedorField = value;
            }
        }
        
        /// <comentarios/>
        public string Documento {
            get {
                return this.documentoField;
            }
            set {
                this.documentoField = value;
            }
        }
        
        /// <comentarios/>
        public string Fecha {
            get {
                return this.fechaField;
            }
            set {
                this.fechaField = value;
            }
        }
        
        /// <comentarios/>
        public string Sucursal {
            get {
                return this.sucursalField;
            }
            set {
                this.sucursalField = value;
            }
        }
    }
    
    /// <comentarios/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.lticr.com/ALO-INTEGRACION/")]
    public partial class tipoSeguridad {
        
        private string entidadField;
        
        private string usuarioField;
        
        private string claveField;
        
        /// <comentarios/>
        public string Entidad {
            get {
                return this.entidadField;
            }
            set {
                this.entidadField = value;
            }
        }
        
        /// <comentarios/>
        public string Usuario {
            get {
                return this.usuarioField;
            }
            set {
                this.usuarioField = value;
            }
        }
        
        /// <comentarios/>
        public string Clave {
            get {
                return this.claveField;
            }
            set {
                this.claveField = value;
            }
        }
    }
    
    /// <comentarios/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.lticr.com/ALO-INTEGRACION/")]
    public partial class Pong {
    }
    
    /// <comentarios/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.lticr.com/ALO-INTEGRACION/")]
    public partial class ProcesoGeneral {
        
        private tipoSeguridad seguridadField;
        
        private tipoTransaccion transaccionField;
        
        /// <comentarios/>
        public tipoSeguridad Seguridad {
            get {
                return this.seguridadField;
            }
            set {
                this.seguridadField = value;
            }
        }
        
        /// <comentarios/>
        public tipoTransaccion Transaccion {
            get {
                return this.transaccionField;
            }
            set {
                this.transaccionField = value;
            }
        }
    }
    
    /// <comentarios/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.lticr.com/ALO-INTEGRACION/")]
    public partial class TransaccionOutput {
        
        private string operacionField;
        
        private string servicioField;
        
        private string telefonoField;
        
        private string montoField;
        
        private string vendedorField;
        
        private string documentoField;
        
        private string fechaField;
        
        private string transProveedorField;
        
        private string reciboField;
        
        private string serieField;
        
        private string comisionField;
        
        private string saldoField;
        
        private string errorCodigoField;
        
        private string errorDesField;
        
        private string recargaEstadoField;
        
        private string recargaDetalleField;
        
        /// <comentarios/>
        public string Operacion {
            get {
                return this.operacionField;
            }
            set {
                this.operacionField = value;
            }
        }
        
        /// <comentarios/>
        public string Servicio {
            get {
                return this.servicioField;
            }
            set {
                this.servicioField = value;
            }
        }
        
        /// <comentarios/>
        public string Telefono {
            get {
                return this.telefonoField;
            }
            set {
                this.telefonoField = value;
            }
        }
        
        /// <comentarios/>
        public string Monto {
            get {
                return this.montoField;
            }
            set {
                this.montoField = value;
            }
        }
        
        /// <comentarios/>
        public string Vendedor {
            get {
                return this.vendedorField;
            }
            set {
                this.vendedorField = value;
            }
        }
        
        /// <comentarios/>
        public string Documento {
            get {
                return this.documentoField;
            }
            set {
                this.documentoField = value;
            }
        }
        
        /// <comentarios/>
        public string Fecha {
            get {
                return this.fechaField;
            }
            set {
                this.fechaField = value;
            }
        }
        
        /// <comentarios/>
        public string TransProveedor {
            get {
                return this.transProveedorField;
            }
            set {
                this.transProveedorField = value;
            }
        }
        
        /// <comentarios/>
        public string Recibo {
            get {
                return this.reciboField;
            }
            set {
                this.reciboField = value;
            }
        }
        
        /// <comentarios/>
        public string Serie {
            get {
                return this.serieField;
            }
            set {
                this.serieField = value;
            }
        }
        
        /// <comentarios/>
        public string Comision {
            get {
                return this.comisionField;
            }
            set {
                this.comisionField = value;
            }
        }
        
        /// <comentarios/>
        public string Saldo {
            get {
                return this.saldoField;
            }
            set {
                this.saldoField = value;
            }
        }
        
        /// <comentarios/>
        public string ErrorCodigo {
            get {
                return this.errorCodigoField;
            }
            set {
                this.errorCodigoField = value;
            }
        }
        
        /// <comentarios/>
        public string ErrorDes {
            get {
                return this.errorDesField;
            }
            set {
                this.errorDesField = value;
            }
        }
        
        /// <comentarios/>
        public string RecargaEstado {
            get {
                return this.recargaEstadoField;
            }
            set {
                this.recargaEstadoField = value;
            }
        }
        
        /// <comentarios/>
        public string RecargaDetalle {
            get {
                return this.recargaDetalleField;
            }
            set {
                this.recargaDetalleField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    public delegate void PingCompletedEventHandler(object sender, PingCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class PingCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal PingCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public Pong Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((Pong)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    public delegate void ProcesoGeneralCompletedEventHandler(object sender, ProcesoGeneralCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class ProcesoGeneralCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal ProcesoGeneralCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public TransaccionOutput Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((TransaccionOutput)(this.results[0]));
            }
        }
    }
}

#pragma warning restore 1591