
package com.amadeus.travelManagement.amadeus.xml._2010._06.travel_orderreshoprq_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.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;


/**
 * OfferItem selected by the Passenger for inclusion in the requested Order. Repeat occurrence of OfferItem (once per passenger) if different passengers want to select different service options, different quantities of a-la-carte items or different seat loc
 * 
 * &lt;p&gt;Java class for SelectedOfferItemType complex type.
 * 
 * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
 * 
 * &lt;pre&gt;
 * &amp;lt;complexType name="SelectedOfferItemType"&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="OfferItemRefID" type="{http://xml.amadeus.com/2010/06/Travel_OrderReshopRQ_v1}ID_Type"/&amp;gt;
 *         &amp;lt;element name="PaxRefID" type="{http://xml.amadeus.com/2010/06/Travel_OrderReshopRQ_v1}ID_Type" maxOccurs="unbounded"/&amp;gt;
 *         &amp;lt;element name="SelectedALaCarteOfferItem" type="{http://xml.amadeus.com/2010/06/Travel_OrderReshopRQ_v1}SelectedALaCarteOfferItemType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="SelectedBundleServices" type="{http://xml.amadeus.com/2010/06/Travel_OrderReshopRQ_v1}SelectedBundleServicesType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="SelectedSeat" type="{http://xml.amadeus.com/2010/06/Travel_OrderReshopRQ_v1}SelectedSeatType" minOccurs="0"/&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 = "SelectedOfferItemType", propOrder = {
    "offerItemRefID",
    "paxRefID",
    "selectedALaCarteOfferItem",
    "selectedBundleServices",
    "selectedSeat"
})
public class SelectedOfferItemType {

    @XmlElement(name = "OfferItemRefID", required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected String offerItemRefID;
    @XmlElement(name = "PaxRefID", required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected List<String> paxRefID;
    @XmlElement(name = "SelectedALaCarteOfferItem")
    protected SelectedALaCarteOfferItemType selectedALaCarteOfferItem;
    @XmlElement(name = "SelectedBundleServices")
    protected SelectedBundleServicesType selectedBundleServices;
    @XmlElement(name = "SelectedSeat")
    protected SelectedSeatType selectedSeat;

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

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

    /**
     * Gets the value of the paxRefID 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 paxRefID property.
     * 
     * &lt;p&gt;
     * For example, to add a new item, do as follows:
     * &lt;pre&gt;
     *    getPaxRefID().add(newItem);
     * &lt;/pre&gt;
     * 
     * 
     * &lt;p&gt;
     * Objects of the following type(s) are allowed in the list
     * {@link String }
     * 
     * 
     */
    public List<String> getPaxRefID() {
        if (paxRefID == null) {
            paxRefID = new ArrayList<String>();
        }
        return this.paxRefID;
    }

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

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

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

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

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

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

}
