using System.Xml.Serialization;

namespace Wayne.FDCPOSLibrary
{
    [System.SerializableAttribute()]
    public partial class ServiceRequestBaseFuelSaleTrx : ServiceRequest
    {
        private ServiceRequestPOSdataBaseFuelSaleTrx[] pOSdataField;

        [System.Xml.Serialization.XmlElementAttribute("POSdata", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public ServiceRequestPOSdataBaseFuelSaleTrx[] POSdata
        {
            get
            {
                return this.pOSdataField;
            }
            set
            {
                this.pOSdataField = value;
            }
        }

        public ServiceRequestBaseFuelSaleTrx()
        {
            //RequestType = "BaseFuelSaleTrx";
        }
    }

    [System.SerializableAttribute()]
    public partial class ServiceRequestPOSdataBaseFuelSaleTrx
    {
        private string pOSTimeStampField;
        private ServiceRequestDeviceClassBaseFuelSaleTrx DeviceClassField;

        [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public string POSTimeStamp
        {
            get
            {
                return this.pOSTimeStampField;
            }
            set
            {
                this.pOSTimeStampField = value;
            }
        }

        [System.Xml.Serialization.XmlElementAttribute("DeviceClass", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public ServiceRequestDeviceClassBaseFuelSaleTrx DeviceClass
        {
            get
            {
                return this.DeviceClassField;
            }
            set
            {
                this.DeviceClassField = value;
            }
        }
    }


    [System.SerializableAttribute()]
    public partial class ServiceRequestDeviceClassBaseFuelSaleTrx
    {
        private string TypeField;
        private string DeviceIdField;
        private string TransactionNoField; // v03 field
        private string TransactionSeqNoField; // v05 and next field
        private string ReleaseTokenField; // extension field

        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Type
        {
            get
            {
                return this.TypeField;
            }
            set
            {
                this.TypeField = value;
            }
        }

        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string DeviceID
        {
            get
            {
                return this.DeviceIdField;
            }
            set
            {
                this.DeviceIdField = value;
            }
        }

        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string TransactionNo
        {
            get
            {
                return this.TransactionNoField;
            }
            set
            {
                this.TransactionNoField = value;
            }
        }

        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string TransactionSeqNo
        {
            get
            {
                return this.TransactionSeqNoField;
            }
            set
            {
                this.TransactionSeqNoField = value;
            }
        }

        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string ReleaseToken
        {
            get
            {
                return this.ReleaseTokenField;
            }
            set
            {
                this.ReleaseTokenField = value;
            }
        }
    }
}