//------------------------------------------------------------------------------
// <auto-generated>
//     Este código fue generado por una herramienta.
//
//     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 ServiceReference1
{
    using System.Runtime.Serialization;
    
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
    [System.Runtime.Serialization.DataContractAttribute(Name="OrderRequest", Namespace="http://schemas.datacontract.org/2004/07/CTIWarehouse")]
    public partial class OrderRequest : object
    {
        
        private string carrierField;
        
        private string cliente_idField;
        
        private ServiceReference1.ItemsRequest[] itemsField;
        
        private string num_guiaField;
        
        private string sale_order_idField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string carrier
        {
            get
            {
                return this.carrierField;
            }
            set
            {
                this.carrierField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string cliente_id
        {
            get
            {
                return this.cliente_idField;
            }
            set
            {
                this.cliente_idField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public ServiceReference1.ItemsRequest[] items
        {
            get
            {
                return this.itemsField;
            }
            set
            {
                this.itemsField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string num_guia
        {
            get
            {
                return this.num_guiaField;
            }
            set
            {
                this.num_guiaField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string sale_order_id
        {
            get
            {
                return this.sale_order_idField;
            }
            set
            {
                this.sale_order_idField = value;
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
    [System.Runtime.Serialization.DataContractAttribute(Name="ItemsRequest", Namespace="http://schemas.datacontract.org/2004/07/CTIWarehouse")]
    public partial class ItemsRequest : object
    {
        
        private int CantidadField;
        
        private string SKUField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int Cantidad
        {
            get
            {
                return this.CantidadField;
            }
            set
            {
                this.CantidadField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string SKU
        {
            get
            {
                return this.SKUField;
            }
            set
            {
                this.SKUField = value;
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
    [System.Runtime.Serialization.DataContractAttribute(Name="OrderResponse", Namespace="http://schemas.datacontract.org/2004/07/CTIWarehouse")]
    public partial class OrderResponse : object
    {
        
        private string NumOrdenCWField;
        
        private string NumOrdenMercadazoField;
        
        private string StatusField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string NumOrdenCW
        {
            get
            {
                return this.NumOrdenCWField;
            }
            set
            {
                this.NumOrdenCWField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string NumOrdenMercadazo
        {
            get
            {
                return this.NumOrdenMercadazoField;
            }
            set
            {
                this.NumOrdenMercadazoField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Status
        {
            get
            {
                return this.StatusField;
            }
            set
            {
                this.StatusField = value;
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
    [System.Runtime.Serialization.DataContractAttribute(Name="ReceiptRequest", Namespace="http://schemas.datacontract.org/2004/07/CTIWarehouse")]
    public partial class ReceiptRequest : object
    {
        
        private string blField;
        
        private string carrierField;
        
        private string cliente_idField;
        
        private ServiceReference1.ContainersReceiptRequest[] contenedoresField;
        
        private System.DateTime etaField;
        
        private string facturaField;
        
        private ServiceReference1.ItemsRequest[] itemsField;
        
        private string masterField;
        
        private string pedimentoField;
        
        private string poField;
        
        private string purchase_order_idField;
        
        private string supplierField;
        
        private int total_packagesField;
        
        private int total_palletsField;
        
        private int total_unitsField;
        
        private string vehicle_numberField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string bl
        {
            get
            {
                return this.blField;
            }
            set
            {
                this.blField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string carrier
        {
            get
            {
                return this.carrierField;
            }
            set
            {
                this.carrierField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string cliente_id
        {
            get
            {
                return this.cliente_idField;
            }
            set
            {
                this.cliente_idField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public ServiceReference1.ContainersReceiptRequest[] contenedores
        {
            get
            {
                return this.contenedoresField;
            }
            set
            {
                this.contenedoresField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.DateTime eta
        {
            get
            {
                return this.etaField;
            }
            set
            {
                this.etaField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string factura
        {
            get
            {
                return this.facturaField;
            }
            set
            {
                this.facturaField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public ServiceReference1.ItemsRequest[] items
        {
            get
            {
                return this.itemsField;
            }
            set
            {
                this.itemsField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string master
        {
            get
            {
                return this.masterField;
            }
            set
            {
                this.masterField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string pedimento
        {
            get
            {
                return this.pedimentoField;
            }
            set
            {
                this.pedimentoField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string po
        {
            get
            {
                return this.poField;
            }
            set
            {
                this.poField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string purchase_order_id
        {
            get
            {
                return this.purchase_order_idField;
            }
            set
            {
                this.purchase_order_idField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string supplier
        {
            get
            {
                return this.supplierField;
            }
            set
            {
                this.supplierField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int total_packages
        {
            get
            {
                return this.total_packagesField;
            }
            set
            {
                this.total_packagesField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int total_pallets
        {
            get
            {
                return this.total_palletsField;
            }
            set
            {
                this.total_palletsField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int total_units
        {
            get
            {
                return this.total_unitsField;
            }
            set
            {
                this.total_unitsField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string vehicle_number
        {
            get
            {
                return this.vehicle_numberField;
            }
            set
            {
                this.vehicle_numberField = value;
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
    [System.Runtime.Serialization.DataContractAttribute(Name="ContainersReceiptRequest", Namespace="http://schemas.datacontract.org/2004/07/CTIWarehouse")]
    public partial class ContainersReceiptRequest : object
    {
        
        private string num_contenedorField;
        
        private string num_selloField;
        
        private string tipo_contenedorField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string num_contenedor
        {
            get
            {
                return this.num_contenedorField;
            }
            set
            {
                this.num_contenedorField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string num_sello
        {
            get
            {
                return this.num_selloField;
            }
            set
            {
                this.num_selloField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string tipo_contenedor
        {
            get
            {
                return this.tipo_contenedorField;
            }
            set
            {
                this.tipo_contenedorField = value;
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
    [System.Runtime.Serialization.DataContractAttribute(Name="ReceiptResponse", Namespace="http://schemas.datacontract.org/2004/07/CTIWarehouse")]
    public partial class ReceiptResponse : object
    {
        
        private string NumReciboCWField;
        
        private string NumReciboMercadazoField;
        
        private string StatusField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string NumReciboCW
        {
            get
            {
                return this.NumReciboCWField;
            }
            set
            {
                this.NumReciboCWField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string NumReciboMercadazo
        {
            get
            {
                return this.NumReciboMercadazoField;
            }
            set
            {
                this.NumReciboMercadazoField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Status
        {
            get
            {
                return this.StatusField;
            }
            set
            {
                this.StatusField = value;
            }
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName="ServiceReference1.ICTIService")]
    public interface ICTIService
    {
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICTIService/Order", ReplyAction="http://tempuri.org/ICTIService/OrderResponse")]
        System.Threading.Tasks.Task<ServiceReference1.OrderResponse> OrderAsync(ServiceReference1.OrderRequest Order);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICTIService/Receipt", ReplyAction="http://tempuri.org/ICTIService/ReceiptResponse")]
        System.Threading.Tasks.Task<ServiceReference1.ReceiptResponse> ReceiptAsync(ServiceReference1.ReceiptRequest Receipt);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICTIService/Receipt2", ReplyAction="http://tempuri.org/ICTIService/Receipt2Response")]
        System.Threading.Tasks.Task<ServiceReference1.ReceiptResponse> Receipt2Async(ServiceReference1.ReceiptRequest Receipt);
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
    public interface ICTIServiceChannel : ServiceReference1.ICTIService, System.ServiceModel.IClientChannel
    {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
    public partial class CTIServiceClient : System.ServiceModel.ClientBase<ServiceReference1.ICTIService>, ServiceReference1.ICTIService
    {
        
        public CTIServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress)
        {
        }
        
        public System.Threading.Tasks.Task<ServiceReference1.OrderResponse> OrderAsync(ServiceReference1.OrderRequest Order)
        {
            return base.Channel.OrderAsync(Order);
        }
        
        public System.Threading.Tasks.Task<ServiceReference1.ReceiptResponse> ReceiptAsync(ServiceReference1.ReceiptRequest Receipt)
        {
            return base.Channel.ReceiptAsync(Receipt);
        }
        
        public System.Threading.Tasks.Task<ServiceReference1.ReceiptResponse> Receipt2Async(ServiceReference1.ReceiptRequest Receipt)
        {
            return base.Channel.Receipt2Async(Receipt);
        }
        
        public virtual System.Threading.Tasks.Task OpenAsync()
        {
            return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action<System.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndOpen));
        }
        
        public virtual System.Threading.Tasks.Task CloseAsync()
        {
            return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action<System.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndClose));
        }
    }
}
