Class MessageHeader


  • public class MessageHeader
    extends Object
    Definition: Message header of the Sale to POI protocol messageType. -- Usage: It conveys Information related to the Sale to POI protocol management

    Java class for MessageHeader complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="MessageHeader">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <attribute name="ProtocolVersion" type="{}ProtocolVersion" />
           <attribute name="MessageClass" use="required" type="{}MessageClassType" />
           <attribute name="MessageCategory" use="required" type="{}MessageCategoryType" />
           <attribute name="Message" use="required" type="{}MessageType" />
           <attribute name="ServiceID" type="{}ServiceID" />
           <attribute name="DeviceID" type="{}DeviceID" />
           <attribute name="SaleID" use="required" type="{}SaleID" />
           <attribute name="POIID" use="required" type="{}POIID" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • protocolVersion

        protected String protocolVersion
        The Protocol version.
      • messageType

        protected MessageType messageType
        The Message type.
      • serviceID

        protected String serviceID
        The Service id.
      • deviceID

        protected String deviceID
        The Device id.
      • saleID

        protected String saleID
        The Sale id.
      • poiid

        protected String poiid
        The Poiid.
    • Constructor Detail

      • MessageHeader

        public MessageHeader()
    • Method Detail

      • getProtocolVersion

        public String getProtocolVersion()
        Gets the value of the protocolVersion property.
        Returns:
        possible object is String
      • setProtocolVersion

        public void setProtocolVersion​(String value)
        Sets the value of the protocolVersion property.
        Parameters:
        value - allowed object is String
      • setMessageClass

        public void setMessageClass​(MessageClassType value)
        Sets the value of the messageClass property.
        Parameters:
        value - allowed object is MessageClassType
      • setMessageCategory

        public void setMessageCategory​(MessageCategoryType value)
        Sets the value of the messageCategory property.
        Parameters:
        value - allowed object is MessageCategoryType
      • getMessageType

        public MessageType getMessageType()
        Gets the value of the messageType property.
        Returns:
        possible object is MessageType
      • setMessageType

        public void setMessageType​(MessageType value)
        Sets the value of the messageType property.
        Parameters:
        value - allowed object is MessageType
      • getServiceID

        public String getServiceID()
        Gets the value of the serviceID property.
        Returns:
        possible object is String
      • setServiceID

        public void setServiceID​(String value)
        Sets the value of the serviceID property.
        Parameters:
        value - allowed object is String
      • getDeviceID

        public String getDeviceID()
        Gets the value of the deviceID property.
        Returns:
        possible object is String
      • setDeviceID

        public void setDeviceID​(String value)
        Sets the value of the deviceID property.
        Parameters:
        value - allowed object is String
      • getSaleID

        public String getSaleID()
        Gets the value of the saleID property.
        Returns:
        possible object is String
      • setSaleID

        public void setSaleID​(String value)
        Sets the value of the saleID property.
        Parameters:
        value - allowed object is String
      • getPOIID

        public String getPOIID()
        Gets the value of the poiid property.
        Returns:
        possible object is String
      • setPOIID

        public void setPOIID​(String value)
        Sets the value of the poiid property.
        Parameters:
        value - allowed object is String