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

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * &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_OrderChangeRQ_v1}AirlinePreferences" minOccurs="0"/&amp;gt;
 *         &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderChangeRQ_v1}AlliancePreferences" minOccurs="0"/&amp;gt;
 *         &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderChangeRQ_v1}FarePreferences" minOccurs="0"/&amp;gt;
 *         &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderChangeRQ_v1}FlightPreferences" minOccurs="0"/&amp;gt;
 *         &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderChangeRQ_v1}PricingMethodPreference" minOccurs="0"/&amp;gt;
 *         &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderChangeRQ_v1}SegMaxTimePreferences" minOccurs="0"/&amp;gt;
 *         &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderChangeRQ_v1}ServicePricingOnlyPreference" minOccurs="0"/&amp;gt;
 *         &amp;lt;element ref="{http://xml.amadeus.com/2010/06/Travel_OrderChangeRQ_v1}TransferPreferences" 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 = {
    "airlinePreferences",
    "alliancePreferences",
    "farePreferences",
    "flightPreferences",
    "pricingMethodPreference",
    "segMaxTimePreferences",
    "servicePricingOnlyPreference",
    "transferPreferences"
})
@XmlRootElement(name = "Preference")
public class Preference {

    @XmlElement(name = "AirlinePreferences")
    protected AirlinePreferencesType airlinePreferences;
    @XmlElement(name = "AlliancePreferences")
    protected AlliancePreferencesType alliancePreferences;
    @XmlElement(name = "FarePreferences")
    protected FarePreferencesType farePreferences;
    @XmlElement(name = "FlightPreferences")
    protected FlightPreferencesType flightPreferences;
    @XmlElement(name = "PricingMethodPreference")
    protected BestPricingPreferencesType pricingMethodPreference;
    @XmlElement(name = "SegMaxTimePreferences")
    protected FltSegmentMaxTimePreferencesType segMaxTimePreferences;
    @XmlElement(name = "ServicePricingOnlyPreference")
    protected ServicePricingOnlyPreference servicePricingOnlyPreference;
    @XmlElement(name = "TransferPreferences")
    protected TransferPreferencesType transferPreferences;

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

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

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

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

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

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

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

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

    /**
     * Contains information to identify how reservation was re-priced to obtain best published fare (Eg. best fare in same cabin, best fare in all cabins, other parameters to select best fare).
     * 
     * @return
     *     possible object is
     *     {@link BestPricingPreferencesType }
     *     
     */
    public BestPricingPreferencesType getPricingMethodPreference() {
        return pricingMethodPreference;
    }

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

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

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

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

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

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

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

}
