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

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.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * Transportation of a passenger on a Dated Operating Leg.
 * 
 * &lt;p&gt;Java class for PaxLegType complex type.
 * 
 * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
 * 
 * &lt;pre&gt;
 * &amp;lt;complexType name="PaxLegType"&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="DatedOperatingLeg" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRS_v1}DatedOperatingLegType"/&amp;gt;
 *       &amp;lt;/sequence&amp;gt;
 *       &amp;lt;attribute name="PaxLegID" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRS_v1}ID_Type" /&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 = "PaxLegType", propOrder = {
    "datedOperatingLeg"
})
public class PaxLegType {

    @XmlElement(name = "DatedOperatingLeg", required = true)
    protected DatedOperatingLegType datedOperatingLeg;
    @XmlAttribute(name = "PaxLegID")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String paxLegID;

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

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

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

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

}
