
package com.amadeus.travelManagement.amadeus.xml._2010._06.travel_ordercancelrq_v1;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;


/**
 * Non Geographic Specification information
 * 
 * &lt;p&gt;Java class for NonGeographicSpecificationType complex type.
 * 
 * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
 * 
 * &lt;pre&gt;
 * &amp;lt;complexType name="NonGeographicSpecificationType"&amp;gt;
 *   &amp;lt;complexContent&amp;gt;
 *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
 *       &amp;lt;sequence&amp;gt;
 *         &amp;lt;element name="TravelAgencyInd" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/&amp;gt;
 *         &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRQ_v1}AggregatorID" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="PointOfSaleCode" maxOccurs="unbounded" minOccurs="0"&amp;gt;
 *           &amp;lt;complexType&amp;gt;
 *             &amp;lt;simpleContent&amp;gt;
 *               &amp;lt;extension base="&amp;lt;http://xml.amadeus.com/2010/06/Travel_OrderCancelRQ_v1&amp;gt;PointOfSaleCodeType"&amp;gt;
 *                 &amp;lt;attribute name="PointOfSaleType" use="required"&amp;gt;
 *                   &amp;lt;simpleType&amp;gt;
 *                     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&amp;gt;
 *                       &amp;lt;length value="1"/&amp;gt;
 *                       &amp;lt;enumeration value="T"/&amp;gt;
 *                       &amp;lt;enumeration value="I"/&amp;gt;
 *                       &amp;lt;enumeration value="H"/&amp;gt;
 *                       &amp;lt;enumeration value="U"/&amp;gt;
 *                       &amp;lt;enumeration value="X"/&amp;gt;
 *                       &amp;lt;enumeration value="V"/&amp;gt;
 *                       &amp;lt;enumeration value="L"/&amp;gt;
 *                       &amp;lt;enumeration value="A"/&amp;gt;
 *                     &amp;lt;/restriction&amp;gt;
 *                   &amp;lt;/simpleType&amp;gt;
 *                 &amp;lt;/attribute&amp;gt;
 *               &amp;lt;/extension&amp;gt;
 *             &amp;lt;/simpleContent&amp;gt;
 *           &amp;lt;/complexType&amp;gt;
 *         &amp;lt;/element&amp;gt;
 *       &amp;lt;/sequence&amp;gt;
 *     &amp;lt;/restriction&amp;gt;
 *   &amp;lt;/complexContent&amp;gt;
 * &amp;lt;/complexType&amp;gt;
 * &lt;/pre&gt;
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "NonGeographicSpecificationType", propOrder = {
    "travelAgencyInd",
    "aggregatorID",
    "pointOfSaleCode"
})
public class NonGeographicSpecificationType {

    @XmlElement(name = "TravelAgencyInd")
    protected Boolean travelAgencyInd;
    @XmlElement(name = "AggregatorID")
    protected AggregatorIDType aggregatorID;
    @XmlElement(name = "PointOfSaleCode")
    protected List<NonGeographicSpecificationType.PointOfSaleCode> pointOfSaleCode;

    /**
     * Gets the value of the travelAgencyInd property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isTravelAgencyInd() {
        return travelAgencyInd;
    }

    /**
     * Sets the value of the travelAgencyInd property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setTravelAgencyInd(Boolean value) {
        this.travelAgencyInd = value;
    }

    /**
     * Gets the value of the aggregatorID property.
     * 
     * @return
     *     possible object is
     *     {@link AggregatorIDType }
     *     
     */
    public AggregatorIDType getAggregatorID() {
        return aggregatorID;
    }

    /**
     * Sets the value of the aggregatorID property.
     * 
     * @param value
     *     allowed object is
     *     {@link AggregatorIDType }
     *     
     */
    public void setAggregatorID(AggregatorIDType value) {
        this.aggregatorID = value;
    }

    /**
     * Gets the value of the pointOfSaleCode property.
     * 
     * &lt;p&gt;
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a &lt;CODE&gt;set&lt;/CODE&gt; method for the pointOfSaleCode property.
     * 
     * &lt;p&gt;
     * For example, to add a new item, do as follows:
     * &lt;pre&gt;
     *    getPointOfSaleCode().add(newItem);
     * &lt;/pre&gt;
     * 
     * 
     * &lt;p&gt;
     * Objects of the following type(s) are allowed in the list
     * {@link NonGeographicSpecificationType.PointOfSaleCode }
     * 
     * 
     */
    public List<NonGeographicSpecificationType.PointOfSaleCode> getPointOfSaleCode() {
        if (pointOfSaleCode == null) {
            pointOfSaleCode = new ArrayList<NonGeographicSpecificationType.PointOfSaleCode>();
        }
        return this.pointOfSaleCode;
    }


    /**
     * &lt;p&gt;Java class for anonymous complex type.
     * 
     * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
     * 
     * &lt;pre&gt;
     * &amp;lt;complexType&amp;gt;
     *   &amp;lt;simpleContent&amp;gt;
     *     &amp;lt;extension base="&amp;lt;http://xml.amadeus.com/2010/06/Travel_OrderCancelRQ_v1&amp;gt;PointOfSaleCodeType"&amp;gt;
     *       &amp;lt;attribute name="PointOfSaleType" use="required"&amp;gt;
     *         &amp;lt;simpleType&amp;gt;
     *           &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&amp;gt;
     *             &amp;lt;length value="1"/&amp;gt;
     *             &amp;lt;enumeration value="T"/&amp;gt;
     *             &amp;lt;enumeration value="I"/&amp;gt;
     *             &amp;lt;enumeration value="H"/&amp;gt;
     *             &amp;lt;enumeration value="U"/&amp;gt;
     *             &amp;lt;enumeration value="X"/&amp;gt;
     *             &amp;lt;enumeration value="V"/&amp;gt;
     *             &amp;lt;enumeration value="L"/&amp;gt;
     *             &amp;lt;enumeration value="A"/&amp;gt;
     *           &amp;lt;/restriction&amp;gt;
     *         &amp;lt;/simpleType&amp;gt;
     *       &amp;lt;/attribute&amp;gt;
     *     &amp;lt;/extension&amp;gt;
     *   &amp;lt;/simpleContent&amp;gt;
     * &amp;lt;/complexType&amp;gt;
     * &lt;/pre&gt;
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "value"
    })
    public static class PointOfSaleCode {

        @XmlValue
        protected String value;
        @XmlAttribute(name = "PointOfSaleType", required = true)
        protected String pointOfSaleType;

        /**
         * Gets the value of the value property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getValue() {
            return value;
        }

        /**
         * Sets the value of the value property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setValue(String value) {
            this.value = value;
        }

        /**
         * Gets the value of the pointOfSaleType property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getPointOfSaleType() {
            return pointOfSaleType;
        }

        /**
         * Sets the value of the pointOfSaleType property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setPointOfSaleType(String value) {
            this.pointOfSaleType = value;
        }

    }

}
