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


/**
 * Further qualifies the flight request by influencing which results are returned in the shopping response, including preferred or required criteria.
 * 
 * &lt;p&gt;Java class for ShoppingCriteriaType complex type.
 * 
 * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
 * 
 * &lt;pre&gt;
 * &amp;lt;complexType name="ShoppingCriteriaType"&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="TripPurposeCode" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}TripPurposeCodeType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="MarginCriteria" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}MarginCriteriaType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="AllianceCriteria" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}AllianceCriteriaType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="BaggagePricingCriteria" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}BaggagePricingCriteriaType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="CabinTypeCriteria" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}CabinTypeType" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="CarrierCriteria" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}CarrierCriteriaType" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="ExistingOrderCriteria" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}ExistingOrderCriteriaType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="FarePreferences" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}FarePreferencesType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="FlightCriteria" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}FlightCriteriaType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="PaymentMethodCriteria" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}PaymentMethodType" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="PaymentCardCriteria" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}PaymentCardCriteriaType" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="PricingMethodCriteria" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}BestPricingPreferencesType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="ProgramCriteria" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}ProgramCriteriaType" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="PromotionCriteria" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}PromotionType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="SeatCriteria" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}SeatType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="SegmentDurationCriteria" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}SegmentDurationCriteriaType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="ServiceCriteria" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}ServiceCriteriaType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="SpecialNeedCriteria" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}SpecialQualiferType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="ConnectionCriteria" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}ConnectionCriteriaType" 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 = "ShoppingCriteriaType", propOrder = {
    "tripPurposeCode",
    "marginCriteria",
    "allianceCriteria",
    "baggagePricingCriteria",
    "cabinTypeCriteria",
    "carrierCriteria",
    "existingOrderCriteria",
    "farePreferences",
    "flightCriteria",
    "paymentMethodCriteria",
    "paymentCardCriteria",
    "pricingMethodCriteria",
    "programCriteria",
    "promotionCriteria",
    "seatCriteria",
    "segmentDurationCriteria",
    "serviceCriteria",
    "specialNeedCriteria",
    "connectionCriteria"
})
public class ShoppingCriteriaType {

    @XmlElement(name = "TripPurposeCode")
    @XmlSchemaType(name = "string")
    protected TripPurposeCodeContentType tripPurposeCode;
    @XmlElement(name = "MarginCriteria")
    protected MarginCriteriaType marginCriteria;
    @XmlElement(name = "AllianceCriteria")
    protected AllianceCriteriaType allianceCriteria;
    @XmlElement(name = "BaggagePricingCriteria")
    protected BaggagePricingCriteriaType baggagePricingCriteria;
    @XmlElement(name = "CabinTypeCriteria")
    protected List<CabinTypeType> cabinTypeCriteria;
    @XmlElement(name = "CarrierCriteria")
    protected List<CarrierCriteriaType> carrierCriteria;
    @XmlElement(name = "ExistingOrderCriteria")
    protected ExistingOrderCriteriaType existingOrderCriteria;
    @XmlElement(name = "FarePreferences")
    protected FarePreferencesType farePreferences;
    @XmlElement(name = "FlightCriteria")
    protected FlightCriteriaType flightCriteria;
    @XmlElement(name = "PaymentMethodCriteria")
    protected List<PaymentMethodType> paymentMethodCriteria;
    @XmlElement(name = "PaymentCardCriteria")
    protected List<PaymentCardCriteriaType> paymentCardCriteria;
    @XmlElement(name = "PricingMethodCriteria")
    protected BestPricingPreferencesType pricingMethodCriteria;
    @XmlElement(name = "ProgramCriteria")
    protected List<ProgramCriteriaType> programCriteria;
    @XmlElement(name = "PromotionCriteria")
    protected PromotionType promotionCriteria;
    @XmlElement(name = "SeatCriteria")
    protected SeatType seatCriteria;
    @XmlElement(name = "SegmentDurationCriteria")
    protected SegmentDurationCriteriaType segmentDurationCriteria;
    @XmlElement(name = "ServiceCriteria")
    protected ServiceCriteriaType serviceCriteria;
    @XmlElement(name = "SpecialNeedCriteria")
    protected SpecialQualiferType specialNeedCriteria;
    @XmlElement(name = "ConnectionCriteria")
    protected ConnectionCriteriaType connectionCriteria;

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

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

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

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

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

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

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

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

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

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

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

    /**
     * Sets the value of the existingOrderCriteria property.
     * 
     * @param value
     *     allowed object is
     *     {@link ExistingOrderCriteriaType }
     *     
     */
    public void setExistingOrderCriteria(ExistingOrderCriteriaType value) {
        this.existingOrderCriteria = 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 flightCriteria property.
     * 
     * @return
     *     possible object is
     *     {@link FlightCriteriaType }
     *     
     */
    public FlightCriteriaType getFlightCriteria() {
        return flightCriteria;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}
