using System.Xml.Serialization;
using System.Collections.Generic;
using CareFusion.Lib.StorageSystem.Wwks2.Types;

namespace CareFusion.Lib.StorageSystem.Wwks2.Messages.Stock
{
    /// <summary>
    /// Class which represents the WWKS 2.0 StockUpdateRequest message envelope.
    /// </summary>
    [XmlType(TypeName = "WWKS")]
    public class StockUpdateRequestEnvelope : EnvelopeBase
    {
        [XmlElement]
        public StockUpdateRequest StockUpdateRequest { get; set; }
    }
    /// <summary>
    /// Class which represents the WWKS 2.0 StockUpdateRequest message.
    /// </summary>
    public class StockUpdateRequest : MessageBase
    {
        [XmlElement]
        public List<Criteria> Criteria { get; set; }
        [XmlElement]
        public Pack Pack { get; set; }
    }
}
