
package com.ejie.ad74a.ws.client.platea.notificaciones;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * <p>Clase Java para TNotPostal complex type.
 * 
 * <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
 * 
 * <pre>
 * &lt;complexType name="TNotPostal"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element ref="{com/ejie/x43s/v2/ttn/xml}notificationID"/&gt;
 *         &lt;element name="postal" type="{com/ejie/x43s/v2/ttn/xml}TPostalAddress" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TNotPostal", namespace = "com/ejie/x43s/v2/not/xml", propOrder = {
    "notificationID",
    "postal"
})
public class TNotPostal {

    @XmlElement(namespace = "com/ejie/x43s/v2/ttn/xml", required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected String notificationID;
    protected TPostalAddress postal;

    /**
     * Obtiene el valor de la propiedad notificationID.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getNotificationID() {
        return notificationID;
    }

    /**
     * Define el valor de la propiedad notificationID.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setNotificationID(String value) {
        this.notificationID = value;
    }

    /**
     * Obtiene el valor de la propiedad postal.
     * 
     * @return
     *     possible object is
     *     {@link TPostalAddress }
     *     
     */
    public TPostalAddress getPostal() {
        return postal;
    }

    /**
     * Define el valor de la propiedad postal.
     * 
     * @param value
     *     allowed object is
     *     {@link TPostalAddress }
     *     
     */
    public void setPostal(TPostalAddress value) {
        this.postal = value;
    }

}
