//------------------------------------------------------------------------------
// <auto-generated>
//     Este código fue generado por una herramienta.
//     Versión de runtime:4.0.30319.42000
//
//     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>
//------------------------------------------------------------------------------

namespace POSRetail.WSAVD {
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(Namespace="http://www.ekomercio.com/", ConfigurationName="WSAVD.WSFEBuilderSoap")]
    public interface WSFEBuilderSoap {
        
        // CODEGEN: Se está generando un contrato de mensaje, ya que el nombre de elemento getVersionResult del espacio de nombres http://www.ekomercio.com/ no está marcado para aceptar valores nil.
        [System.ServiceModel.OperationContractAttribute(Action="http://www.ekomercio.com/getVersion", ReplyAction="*")]
        POSRetail.WSAVD.getVersionResponse getVersion(POSRetail.WSAVD.getVersionRequest request);
        
        // CODEGEN: Se está generando un contrato de mensaje, ya que el nombre de elemento usuario del espacio de nombres http://www.ekomercio.com/ no está marcado para aceptar valores nil.
        [System.ServiceModel.OperationContractAttribute(Action="http://www.ekomercio.com/VerificaEstadoFactura", ReplyAction="*")]
        POSRetail.WSAVD.VerificaEstadoFacturaResponse VerificaEstadoFactura(POSRetail.WSAVD.VerificaEstadoFacturaRequest request);
        
        // CODEGEN: Se está generando un contrato de mensaje, ya que el nombre de elemento usuario del espacio de nombres http://www.ekomercio.com/ no está marcado para aceptar valores nil.
        [System.ServiceModel.OperationContractAttribute(Action="http://www.ekomercio.com/procesarTextoPlano", ReplyAction="*")]
        POSRetail.WSAVD.procesarTextoPlanoResponse procesarTextoPlano(POSRetail.WSAVD.procesarTextoPlanoRequest request);
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
    public partial class getVersionRequest {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Name="getVersion", Namespace="http://www.ekomercio.com/", Order=0)]
        public POSRetail.WSAVD.getVersionRequestBody Body;
        
        public getVersionRequest() {
        }
        
        public getVersionRequest(POSRetail.WSAVD.getVersionRequestBody Body) {
            this.Body = Body;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.Runtime.Serialization.DataContractAttribute()]
    public partial class getVersionRequestBody {
        
        public getVersionRequestBody() {
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
    public partial class getVersionResponse {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Name="getVersionResponse", Namespace="http://www.ekomercio.com/", Order=0)]
        public POSRetail.WSAVD.getVersionResponseBody Body;
        
        public getVersionResponse() {
        }
        
        public getVersionResponse(POSRetail.WSAVD.getVersionResponseBody Body) {
            this.Body = Body;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.Runtime.Serialization.DataContractAttribute(Namespace="http://www.ekomercio.com/")]
    public partial class getVersionResponseBody {
        
        [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
        public string getVersionResult;
        
        public getVersionResponseBody() {
        }
        
        public getVersionResponseBody(string getVersionResult) {
            this.getVersionResult = getVersionResult;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
    public partial class VerificaEstadoFacturaRequest {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Name="VerificaEstadoFactura", Namespace="http://www.ekomercio.com/", Order=0)]
        public POSRetail.WSAVD.VerificaEstadoFacturaRequestBody Body;
        
        public VerificaEstadoFacturaRequest() {
        }
        
        public VerificaEstadoFacturaRequest(POSRetail.WSAVD.VerificaEstadoFacturaRequestBody Body) {
            this.Body = Body;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.Runtime.Serialization.DataContractAttribute(Namespace="http://www.ekomercio.com/")]
    public partial class VerificaEstadoFacturaRequestBody {
        
        [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
        public string usuario;
        
        [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
        public string password;
        
        [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
        public string folios;
        
        public VerificaEstadoFacturaRequestBody() {
        }
        
        public VerificaEstadoFacturaRequestBody(string usuario, string password, string folios) {
            this.usuario = usuario;
            this.password = password;
            this.folios = folios;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
    public partial class VerificaEstadoFacturaResponse {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Name="VerificaEstadoFacturaResponse", Namespace="http://www.ekomercio.com/", Order=0)]
        public POSRetail.WSAVD.VerificaEstadoFacturaResponseBody Body;
        
        public VerificaEstadoFacturaResponse() {
        }
        
        public VerificaEstadoFacturaResponse(POSRetail.WSAVD.VerificaEstadoFacturaResponseBody Body) {
            this.Body = Body;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.Runtime.Serialization.DataContractAttribute(Namespace="http://www.ekomercio.com/")]
    public partial class VerificaEstadoFacturaResponseBody {
        
        [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
        public string VerificaEstadoFacturaResult;
        
        public VerificaEstadoFacturaResponseBody() {
        }
        
        public VerificaEstadoFacturaResponseBody(string VerificaEstadoFacturaResult) {
            this.VerificaEstadoFacturaResult = VerificaEstadoFacturaResult;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
    public partial class procesarTextoPlanoRequest {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Name="procesarTextoPlano", Namespace="http://www.ekomercio.com/", Order=0)]
        public POSRetail.WSAVD.procesarTextoPlanoRequestBody Body;
        
        public procesarTextoPlanoRequest() {
        }
        
        public procesarTextoPlanoRequest(POSRetail.WSAVD.procesarTextoPlanoRequestBody Body) {
            this.Body = Body;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.Runtime.Serialization.DataContractAttribute(Namespace="http://www.ekomercio.com/")]
    public partial class procesarTextoPlanoRequestBody {
        
        [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
        public string usuario;
        
        [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
        public string password;
        
        [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
        public string id;
        
        [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)]
        public string textoPlano;
        
        [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)]
        public string cifrasDeControl;
        
        public procesarTextoPlanoRequestBody() {
        }
        
        public procesarTextoPlanoRequestBody(string usuario, string password, string id, string textoPlano, string cifrasDeControl) {
            this.usuario = usuario;
            this.password = password;
            this.id = id;
            this.textoPlano = textoPlano;
            this.cifrasDeControl = cifrasDeControl;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
    public partial class procesarTextoPlanoResponse {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Name="procesarTextoPlanoResponse", Namespace="http://www.ekomercio.com/", Order=0)]
        public POSRetail.WSAVD.procesarTextoPlanoResponseBody Body;
        
        public procesarTextoPlanoResponse() {
        }
        
        public procesarTextoPlanoResponse(POSRetail.WSAVD.procesarTextoPlanoResponseBody Body) {
            this.Body = Body;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.Runtime.Serialization.DataContractAttribute(Namespace="http://www.ekomercio.com/")]
    public partial class procesarTextoPlanoResponseBody {
        
        [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
        public string procesarTextoPlanoResult;
        
        public procesarTextoPlanoResponseBody() {
        }
        
        public procesarTextoPlanoResponseBody(string procesarTextoPlanoResult) {
            this.procesarTextoPlanoResult = procesarTextoPlanoResult;
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface WSFEBuilderSoapChannel : POSRetail.WSAVD.WSFEBuilderSoap, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class WSFEBuilderSoapClient : System.ServiceModel.ClientBase<POSRetail.WSAVD.WSFEBuilderSoap>, POSRetail.WSAVD.WSFEBuilderSoap {
        
        public WSFEBuilderSoapClient() {
        }
        
        public WSFEBuilderSoapClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public WSFEBuilderSoapClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public WSFEBuilderSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public WSFEBuilderSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        POSRetail.WSAVD.getVersionResponse POSRetail.WSAVD.WSFEBuilderSoap.getVersion(POSRetail.WSAVD.getVersionRequest request) {
            return base.Channel.getVersion(request);
        }
        
        public string getVersion() {
            POSRetail.WSAVD.getVersionRequest inValue = new POSRetail.WSAVD.getVersionRequest();
            inValue.Body = new POSRetail.WSAVD.getVersionRequestBody();
            POSRetail.WSAVD.getVersionResponse retVal = ((POSRetail.WSAVD.WSFEBuilderSoap)(this)).getVersion(inValue);
            return retVal.Body.getVersionResult;
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        POSRetail.WSAVD.VerificaEstadoFacturaResponse POSRetail.WSAVD.WSFEBuilderSoap.VerificaEstadoFactura(POSRetail.WSAVD.VerificaEstadoFacturaRequest request) {
            return base.Channel.VerificaEstadoFactura(request);
        }
        
        public string VerificaEstadoFactura(string usuario, string password, string folios) {
            POSRetail.WSAVD.VerificaEstadoFacturaRequest inValue = new POSRetail.WSAVD.VerificaEstadoFacturaRequest();
            inValue.Body = new POSRetail.WSAVD.VerificaEstadoFacturaRequestBody();
            inValue.Body.usuario = usuario;
            inValue.Body.password = password;
            inValue.Body.folios = folios;
            POSRetail.WSAVD.VerificaEstadoFacturaResponse retVal = ((POSRetail.WSAVD.WSFEBuilderSoap)(this)).VerificaEstadoFactura(inValue);
            return retVal.Body.VerificaEstadoFacturaResult;
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        POSRetail.WSAVD.procesarTextoPlanoResponse POSRetail.WSAVD.WSFEBuilderSoap.procesarTextoPlano(POSRetail.WSAVD.procesarTextoPlanoRequest request) {
            return base.Channel.procesarTextoPlano(request);
        }
        
        public string procesarTextoPlano(string usuario, string password, string id, string textoPlano, string cifrasDeControl) {
            POSRetail.WSAVD.procesarTextoPlanoRequest inValue = new POSRetail.WSAVD.procesarTextoPlanoRequest();
            inValue.Body = new POSRetail.WSAVD.procesarTextoPlanoRequestBody();
            inValue.Body.usuario = usuario;
            inValue.Body.password = password;
            inValue.Body.id = id;
            inValue.Body.textoPlano = textoPlano;
            inValue.Body.cifrasDeControl = cifrasDeControl;
            POSRetail.WSAVD.procesarTextoPlanoResponse retVal = ((POSRetail.WSAVD.WSFEBuilderSoap)(this)).procesarTextoPlano(inValue);
            return retVal.Body.procesarTextoPlanoResult;
        }
    }
}
