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

namespace CareFusion.Lib.StorageSystem.Wwks2.Messages.Stock
{

    /// <summary>
    /// Class which represents the WWKS 2.0 StockUpdateResponse message.
    /// </summary>
    public class StockUpdateResponse: MessageBase
    {
        [XmlElement]
        public Details Details { get; set; }
    }

    /// <summary>
    /// Class which represents the WWKS 2.0 StockUpdateResponse message envelope.
    /// </summary>
    [XmlType(TypeName = "WWKS")]
    public class StockUpdateResponseEnvelope : EnvelopeBase
    {
        [XmlElement]
        public StockUpdateResponse StockUpdateResponse { get; set; }
    }
}
