using System.Collections.Generic;
using System.Xml.Serialization;

namespace ProfitGroup.Rdnl.Extensions.Models
{
    [XmlRoot("MT_Confirmation", Namespace = "http://lukoil.ru/opcenter/ORM")]
    public class MT_Confirmation
    {
        [XmlElement("Confirmation")]
        public List<Confirmation> Confirmations { get; set; }
    }

    [XmlRoot("Confirmation", Namespace = "http://lukoil.ru/opcenter/ORM")]
    public class Confirmation
    {
        [XmlAttribute]
        public string ObjectType { get; set; }

        [XmlAttribute]
        public string ResponseType { get; set; }

        [XmlAttribute]
        public string ID { get; set; }

        [XmlAttribute]
        public string Version { get; set; }

        [XmlAttribute]
        public string StatusCode { get; set; }

        [XmlAttribute]
        public string StatusText { get; set; }
    }
}
