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


/**
 * Payload information for OrderHistoryRS.
 * 
 * &lt;p&gt;Java class for ResponseType complex type.
 * 
 * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
 * 
 * &lt;pre&gt;
 * &amp;lt;complexType name="ResponseType"&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="OrderRefID" type="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}ID_Type"/&amp;gt;
 *         &amp;lt;element name="ChangeFees" type="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}PenaltyType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="OrderCancelProcessing" type="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}OrdCancelProcessType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="TicketDocInfo" maxOccurs="unbounded" minOccurs="0"&amp;gt;
 *           &amp;lt;complexType&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="AgentIDs" minOccurs="0"&amp;gt;
 *                     &amp;lt;complexType&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 ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}AgentID" maxOccurs="2"/&amp;gt;
 *                           &amp;lt;/sequence&amp;gt;
 *                         &amp;lt;/restriction&amp;gt;
 *                       &amp;lt;/complexContent&amp;gt;
 *                     &amp;lt;/complexType&amp;gt;
 *                   &amp;lt;/element&amp;gt;
 *                   &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}IssuingAirlineInfo" minOccurs="0"/&amp;gt;
 *                   &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}BookingReferences" minOccurs="0"/&amp;gt;
 *                   &amp;lt;element name="Payments" minOccurs="0"&amp;gt;
 *                     &amp;lt;complexType&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="Payment" type="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}V172_PaymentMethodType" maxOccurs="unbounded"/&amp;gt;
 *                           &amp;lt;/sequence&amp;gt;
 *                         &amp;lt;/restriction&amp;gt;
 *                       &amp;lt;/complexContent&amp;gt;
 *                     &amp;lt;/complexType&amp;gt;
 *                   &amp;lt;/element&amp;gt;
 *                   &amp;lt;element name="OriginDestination" minOccurs="0"&amp;gt;
 *                     &amp;lt;complexType&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="Origin" type="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}AirportCitySimpleType"/&amp;gt;
 *                             &amp;lt;element name="Destination" type="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}AirportCitySimpleType"/&amp;gt;
 *                           &amp;lt;/sequence&amp;gt;
 *                         &amp;lt;/restriction&amp;gt;
 *                       &amp;lt;/complexContent&amp;gt;
 *                     &amp;lt;/complexType&amp;gt;
 *                   &amp;lt;/element&amp;gt;
 *                   &amp;lt;element name="EndorsementText" minOccurs="0"&amp;gt;
 *                     &amp;lt;simpleType&amp;gt;
 *                       &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&amp;gt;
 *                         &amp;lt;pattern value="[0-9a-zA-Z]{1,70} "/&amp;gt;
 *                       &amp;lt;/restriction&amp;gt;
 *                     &amp;lt;/simpleType&amp;gt;
 *                   &amp;lt;/element&amp;gt;
 *                   &amp;lt;element name="AddlReferenceIDs" minOccurs="0"&amp;gt;
 *                     &amp;lt;complexType&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 ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}AddlReferenceID" maxOccurs="5"/&amp;gt;
 *                           &amp;lt;/sequence&amp;gt;
 *                         &amp;lt;/restriction&amp;gt;
 *                       &amp;lt;/complexContent&amp;gt;
 *                     &amp;lt;/complexType&amp;gt;
 *                   &amp;lt;/element&amp;gt;
 *                   &amp;lt;element name="FareInfo" minOccurs="0"&amp;gt;
 *                     &amp;lt;complexType&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 ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}BaseFare" maxOccurs="3" minOccurs="0"/&amp;gt;
 *                             &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}EquivFare" maxOccurs="3" minOccurs="0"/&amp;gt;
 *                             &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}Total" maxOccurs="3" minOccurs="0"/&amp;gt;
 *                             &amp;lt;element name="Taxes" minOccurs="0"&amp;gt;
 *                               &amp;lt;complexType&amp;gt;
 *                                 &amp;lt;complexContent&amp;gt;
 *                                   &amp;lt;extension base="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}TaxDetailType"&amp;gt;
 *                                   &amp;lt;/extension&amp;gt;
 *                                 &amp;lt;/complexContent&amp;gt;
 *                               &amp;lt;/complexType&amp;gt;
 *                             &amp;lt;/element&amp;gt;
 *                             &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}UnstructuredFareCalcInfo" maxOccurs="3" minOccurs="0"/&amp;gt;
 *                             &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}FareInfo" minOccurs="0"/&amp;gt;
 *                           &amp;lt;/sequence&amp;gt;
 *                         &amp;lt;/restriction&amp;gt;
 *                       &amp;lt;/complexContent&amp;gt;
 *                     &amp;lt;/complexType&amp;gt;
 *                   &amp;lt;/element&amp;gt;
 *                   &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}TicketDocument" maxOccurs="4"/&amp;gt;
 *                   &amp;lt;element name="OrderReference" type="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}CouponOrderKeyType" minOccurs="0"/&amp;gt;
 *                   &amp;lt;element name="Commission" type="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}V172_CommissionType" minOccurs="0"/&amp;gt;
 *                   &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}CarrierFeeInfo" minOccurs="0"/&amp;gt;
 *                   &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}OriginalIssueInfo" minOccurs="0"/&amp;gt;
 *                   &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}PricingInfo" minOccurs="0"/&amp;gt;
 *                 &amp;lt;/sequence&amp;gt;
 *               &amp;lt;/restriction&amp;gt;
 *             &amp;lt;/complexContent&amp;gt;
 *           &amp;lt;/complexType&amp;gt;
 *         &amp;lt;/element&amp;gt;
 *         &amp;lt;element name="Warning" type="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}WarningType" maxOccurs="unbounded" 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 = "ResponseType", propOrder = {
    "orderRefID",
    "changeFees",
    "orderCancelProcessing",
    "ticketDocInfo",
    "warning"
})
public class ResponseType {

    @XmlElement(name = "OrderRefID", required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected String orderRefID;
    @XmlElement(name = "ChangeFees")
    protected PenaltyType changeFees;
    @XmlElement(name = "OrderCancelProcessing")
    protected OrdCancelProcessType orderCancelProcessing;
    @XmlElement(name = "TicketDocInfo")
    protected List<ResponseType.TicketDocInfo> ticketDocInfo;
    @XmlElement(name = "Warning")
    protected List<WarningType> warning;

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

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

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

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

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

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

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

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


    /**
     * &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;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="AgentIDs" minOccurs="0"&amp;gt;
     *           &amp;lt;complexType&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 ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}AgentID" maxOccurs="2"/&amp;gt;
     *                 &amp;lt;/sequence&amp;gt;
     *               &amp;lt;/restriction&amp;gt;
     *             &amp;lt;/complexContent&amp;gt;
     *           &amp;lt;/complexType&amp;gt;
     *         &amp;lt;/element&amp;gt;
     *         &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}IssuingAirlineInfo" minOccurs="0"/&amp;gt;
     *         &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}BookingReferences" minOccurs="0"/&amp;gt;
     *         &amp;lt;element name="Payments" minOccurs="0"&amp;gt;
     *           &amp;lt;complexType&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="Payment" type="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}V172_PaymentMethodType" maxOccurs="unbounded"/&amp;gt;
     *                 &amp;lt;/sequence&amp;gt;
     *               &amp;lt;/restriction&amp;gt;
     *             &amp;lt;/complexContent&amp;gt;
     *           &amp;lt;/complexType&amp;gt;
     *         &amp;lt;/element&amp;gt;
     *         &amp;lt;element name="OriginDestination" minOccurs="0"&amp;gt;
     *           &amp;lt;complexType&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="Origin" type="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}AirportCitySimpleType"/&amp;gt;
     *                   &amp;lt;element name="Destination" type="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}AirportCitySimpleType"/&amp;gt;
     *                 &amp;lt;/sequence&amp;gt;
     *               &amp;lt;/restriction&amp;gt;
     *             &amp;lt;/complexContent&amp;gt;
     *           &amp;lt;/complexType&amp;gt;
     *         &amp;lt;/element&amp;gt;
     *         &amp;lt;element name="EndorsementText" minOccurs="0"&amp;gt;
     *           &amp;lt;simpleType&amp;gt;
     *             &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&amp;gt;
     *               &amp;lt;pattern value="[0-9a-zA-Z]{1,70} "/&amp;gt;
     *             &amp;lt;/restriction&amp;gt;
     *           &amp;lt;/simpleType&amp;gt;
     *         &amp;lt;/element&amp;gt;
     *         &amp;lt;element name="AddlReferenceIDs" minOccurs="0"&amp;gt;
     *           &amp;lt;complexType&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 ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}AddlReferenceID" maxOccurs="5"/&amp;gt;
     *                 &amp;lt;/sequence&amp;gt;
     *               &amp;lt;/restriction&amp;gt;
     *             &amp;lt;/complexContent&amp;gt;
     *           &amp;lt;/complexType&amp;gt;
     *         &amp;lt;/element&amp;gt;
     *         &amp;lt;element name="FareInfo" minOccurs="0"&amp;gt;
     *           &amp;lt;complexType&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 ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}BaseFare" maxOccurs="3" minOccurs="0"/&amp;gt;
     *                   &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}EquivFare" maxOccurs="3" minOccurs="0"/&amp;gt;
     *                   &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}Total" maxOccurs="3" minOccurs="0"/&amp;gt;
     *                   &amp;lt;element name="Taxes" minOccurs="0"&amp;gt;
     *                     &amp;lt;complexType&amp;gt;
     *                       &amp;lt;complexContent&amp;gt;
     *                         &amp;lt;extension base="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}TaxDetailType"&amp;gt;
     *                         &amp;lt;/extension&amp;gt;
     *                       &amp;lt;/complexContent&amp;gt;
     *                     &amp;lt;/complexType&amp;gt;
     *                   &amp;lt;/element&amp;gt;
     *                   &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}UnstructuredFareCalcInfo" maxOccurs="3" minOccurs="0"/&amp;gt;
     *                   &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}FareInfo" minOccurs="0"/&amp;gt;
     *                 &amp;lt;/sequence&amp;gt;
     *               &amp;lt;/restriction&amp;gt;
     *             &amp;lt;/complexContent&amp;gt;
     *           &amp;lt;/complexType&amp;gt;
     *         &amp;lt;/element&amp;gt;
     *         &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}TicketDocument" maxOccurs="4"/&amp;gt;
     *         &amp;lt;element name="OrderReference" type="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}CouponOrderKeyType" minOccurs="0"/&amp;gt;
     *         &amp;lt;element name="Commission" type="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}V172_CommissionType" minOccurs="0"/&amp;gt;
     *         &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}CarrierFeeInfo" minOccurs="0"/&amp;gt;
     *         &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}OriginalIssueInfo" minOccurs="0"/&amp;gt;
     *         &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}PricingInfo" 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 = "", propOrder = {
        "agentIDs",
        "issuingAirlineInfo",
        "bookingReferences",
        "payments",
        "originDestination",
        "endorsementText",
        "addlReferenceIDs",
        "fareInfo",
        "ticketDocument",
        "orderReference",
        "commission",
        "carrierFeeInfo",
        "originalIssueInfo",
        "pricingInfo"
    })
    public static class TicketDocInfo {

        @XmlElement(name = "AgentIDs")
        protected ResponseType.TicketDocInfo.AgentIDs agentIDs;
        @XmlElement(name = "IssuingAirlineInfo")
        protected IssuingAirlineInfo issuingAirlineInfo;
        @XmlElement(name = "BookingReferences")
        protected BookingReferences bookingReferences;
        @XmlElement(name = "Payments")
        protected ResponseType.TicketDocInfo.Payments payments;
        @XmlElement(name = "OriginDestination")
        protected ResponseType.TicketDocInfo.OriginDestination originDestination;
        @XmlElement(name = "EndorsementText")
        protected String endorsementText;
        @XmlElement(name = "AddlReferenceIDs")
        protected ResponseType.TicketDocInfo.AddlReferenceIDs addlReferenceIDs;
        @XmlElement(name = "FareInfo")
        protected ResponseType.TicketDocInfo.FareInfo fareInfo;
        @XmlElement(name = "TicketDocument", required = true)
        protected List<TicketDocument> ticketDocument;
        @XmlElement(name = "OrderReference")
        protected CouponOrderKeyType orderReference;
        @XmlElement(name = "Commission")
        protected V172CommissionType commission;
        @XmlElement(name = "CarrierFeeInfo")
        protected CarrierFeeInfoType carrierFeeInfo;
        @XmlElement(name = "OriginalIssueInfo")
        protected OriginalIssueInfo originalIssueInfo;
        @XmlElement(name = "PricingInfo")
        protected PricingInfo pricingInfo;

        /**
         * Gets the value of the agentIDs property.
         * 
         * @return
         *     possible object is
         *     {@link ResponseType.TicketDocInfo.AgentIDs }
         *     
         */
        public ResponseType.TicketDocInfo.AgentIDs getAgentIDs() {
            return agentIDs;
        }

        /**
         * Sets the value of the agentIDs property.
         * 
         * @param value
         *     allowed object is
         *     {@link ResponseType.TicketDocInfo.AgentIDs }
         *     
         */
        public void setAgentIDs(ResponseType.TicketDocInfo.AgentIDs value) {
            this.agentIDs = value;
        }

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

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

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

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

        /**
         * Gets the value of the payments property.
         * 
         * @return
         *     possible object is
         *     {@link ResponseType.TicketDocInfo.Payments }
         *     
         */
        public ResponseType.TicketDocInfo.Payments getPayments() {
            return payments;
        }

        /**
         * Sets the value of the payments property.
         * 
         * @param value
         *     allowed object is
         *     {@link ResponseType.TicketDocInfo.Payments }
         *     
         */
        public void setPayments(ResponseType.TicketDocInfo.Payments value) {
            this.payments = value;
        }

        /**
         * Gets the value of the originDestination property.
         * 
         * @return
         *     possible object is
         *     {@link ResponseType.TicketDocInfo.OriginDestination }
         *     
         */
        public ResponseType.TicketDocInfo.OriginDestination getOriginDestination() {
            return originDestination;
        }

        /**
         * Sets the value of the originDestination property.
         * 
         * @param value
         *     allowed object is
         *     {@link ResponseType.TicketDocInfo.OriginDestination }
         *     
         */
        public void setOriginDestination(ResponseType.TicketDocInfo.OriginDestination value) {
            this.originDestination = value;
        }

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

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

        /**
         * Gets the value of the addlReferenceIDs property.
         * 
         * @return
         *     possible object is
         *     {@link ResponseType.TicketDocInfo.AddlReferenceIDs }
         *     
         */
        public ResponseType.TicketDocInfo.AddlReferenceIDs getAddlReferenceIDs() {
            return addlReferenceIDs;
        }

        /**
         * Sets the value of the addlReferenceIDs property.
         * 
         * @param value
         *     allowed object is
         *     {@link ResponseType.TicketDocInfo.AddlReferenceIDs }
         *     
         */
        public void setAddlReferenceIDs(ResponseType.TicketDocInfo.AddlReferenceIDs value) {
            this.addlReferenceIDs = value;
        }

        /**
         * Gets the value of the fareInfo property.
         * 
         * @return
         *     possible object is
         *     {@link ResponseType.TicketDocInfo.FareInfo }
         *     
         */
        public ResponseType.TicketDocInfo.FareInfo getFareInfo() {
            return fareInfo;
        }

        /**
         * Sets the value of the fareInfo property.
         * 
         * @param value
         *     allowed object is
         *     {@link ResponseType.TicketDocInfo.FareInfo }
         *     
         */
        public void setFareInfo(ResponseType.TicketDocInfo.FareInfo value) {
            this.fareInfo = value;
        }

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

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

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

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

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

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

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

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

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

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

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


        /**
         * &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;complexContent&amp;gt;
         *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
         *       &amp;lt;sequence&amp;gt;
         *         &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}AddlReferenceID" maxOccurs="5"/&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 = "", propOrder = {
            "addlReferenceID"
        })
        public static class AddlReferenceIDs {

            @XmlElement(name = "AddlReferenceID", required = true)
            protected List<AdditionalReferenceType> addlReferenceID;

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

        }


        /**
         * &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;complexContent&amp;gt;
         *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
         *       &amp;lt;sequence&amp;gt;
         *         &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}AgentID" maxOccurs="2"/&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 = "", propOrder = {
            "agentID"
        })
        public static class AgentIDs {

            @XmlElement(name = "AgentID", required = true)
            protected List<AgentID> agentID;

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

        }


        /**
         * &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;complexContent&amp;gt;
         *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
         *       &amp;lt;sequence&amp;gt;
         *         &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}BaseFare" maxOccurs="3" minOccurs="0"/&amp;gt;
         *         &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}EquivFare" maxOccurs="3" minOccurs="0"/&amp;gt;
         *         &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}Total" maxOccurs="3" minOccurs="0"/&amp;gt;
         *         &amp;lt;element name="Taxes" minOccurs="0"&amp;gt;
         *           &amp;lt;complexType&amp;gt;
         *             &amp;lt;complexContent&amp;gt;
         *               &amp;lt;extension base="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}TaxDetailType"&amp;gt;
         *               &amp;lt;/extension&amp;gt;
         *             &amp;lt;/complexContent&amp;gt;
         *           &amp;lt;/complexType&amp;gt;
         *         &amp;lt;/element&amp;gt;
         *         &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}UnstructuredFareCalcInfo" maxOccurs="3" minOccurs="0"/&amp;gt;
         *         &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}FareInfo" 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 = "", propOrder = {
            "baseFare",
            "equivFare",
            "total",
            "taxes",
            "unstructuredFareCalcInfo",
            "fareInfo"
        })
        public static class FareInfo {

            @XmlElement(name = "BaseFare")
            protected List<BaseFareTransactionType> baseFare;
            @XmlElement(name = "EquivFare")
            protected List<EquivFareTransactionType> equivFare;
            @XmlElement(name = "Total")
            protected List<TotalFareTransactionType> total;
            @XmlElement(name = "Taxes")
            protected ResponseType.TicketDocInfo.FareInfo.Taxes taxes;
            @XmlElement(name = "UnstructuredFareCalcInfo")
            protected List<UnstructuredFareCalcType> unstructuredFareCalcInfo;
            @XmlElement(name = "FareInfo")
            protected ETFareInfoType fareInfo;

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

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

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

            /**
             * Gets the value of the taxes property.
             * 
             * @return
             *     possible object is
             *     {@link ResponseType.TicketDocInfo.FareInfo.Taxes }
             *     
             */
            public ResponseType.TicketDocInfo.FareInfo.Taxes getTaxes() {
                return taxes;
            }

            /**
             * Sets the value of the taxes property.
             * 
             * @param value
             *     allowed object is
             *     {@link ResponseType.TicketDocInfo.FareInfo.Taxes }
             *     
             */
            public void setTaxes(ResponseType.TicketDocInfo.FareInfo.Taxes value) {
                this.taxes = value;
            }

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

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

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


            /**
             * &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;complexContent&amp;gt;
             *     &amp;lt;extension base="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}TaxDetailType"&amp;gt;
             *     &amp;lt;/extension&amp;gt;
             *   &amp;lt;/complexContent&amp;gt;
             * &amp;lt;/complexType&amp;gt;
             * &lt;/pre&gt;
             * 
             * 
             */
            @XmlAccessorType(XmlAccessType.FIELD)
            @XmlType(name = "")
            public static class Taxes
                extends TaxDetailType
            {


            }

        }


        /**
         * &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;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="Origin" type="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}AirportCitySimpleType"/&amp;gt;
         *         &amp;lt;element name="Destination" type="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}AirportCitySimpleType"/&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 = "", propOrder = {
            "origin",
            "destination"
        })
        public static class OriginDestination {

            @XmlElement(name = "Origin", required = true)
            protected String origin;
            @XmlElement(name = "Destination", required = true)
            protected String destination;

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

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

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

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

        }


        /**
         * &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;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="Payment" type="{http://xml.amadeus.com/2010/06/Travel_OrderCancelRS_v1}V172_PaymentMethodType" maxOccurs="unbounded"/&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 = "", propOrder = {
            "payment"
        })
        public static class Payments {

            @XmlElement(name = "Payment", required = true)
            protected List<V172PaymentMethodType> payment;

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

        }

    }

}
