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

// ReSharper disable InconsistentNaming

namespace PlatezhkaDemoApi.Models.Responses
{
    [XmlRoot("commandResponse")]
    public class CommandResponse
    {
        public CommandResponse() {
        }

        public CommandResponse(long extTransactionID, string account, ResponseStatusCode result, string comment = "")
        {
            this.extTransactionID = extTransactionID;
            this.account = account;
            this.result = (int) result;
            this.comment = comment;
        }
        public long extTransactionID { get; set; }
        public string account { get; set; }
        public int result { get; set; }
        public string comment { get; set; }
    }
}