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


/**
 * AirShoppingRQ payload information.
 * 
 * &lt;p&gt;Java class for RequestType complex type.
 * 
 * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
 * 
 * &lt;pre&gt;
 * &amp;lt;complexType name="RequestType"&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="CoreRequest" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRQ_v1}CoreRequestType"/&amp;gt;
 *         &amp;lt;element name="OriginDest" 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="OriginStationCode" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRQ_v1}IATA_LocationCodeType"/&amp;gt;
 *                   &amp;lt;element name="DestStationCode" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRQ_v1}IATA_LocationCodeType"/&amp;gt;
 *                   &amp;lt;element name="PaxJourney" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRQ_v1}PaxJourneyType" 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="Metadata" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRQ_v1}SrvListReqMetadataType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="Paxs" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRQ_v1}PaxsType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="Policy" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRQ_v1}PolicyType" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="ResponseParameters" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRQ_v1}ResponseParametersType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="ShoppingCriteria" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRQ_v1}ShoppingCriteriaType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="ShoppingResponse" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRQ_v1}ShoppingResponseType" 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 = "RequestType", propOrder = {
    "coreRequest",
    "originDest",
    "metadata",
    "paxs",
    "policy",
    "responseParameters",
    "shoppingCriteria",
    "shoppingResponse"
})
public class RequestType {

    @XmlElement(name = "CoreRequest", required = true)
    protected CoreRequestType coreRequest;
    @XmlElement(name = "OriginDest")
    protected RequestType.OriginDest originDest;
    @XmlElement(name = "Metadata")
    protected SrvListReqMetadataType metadata;
    @XmlElement(name = "Paxs")
    protected PaxsType paxs;
    @XmlElement(name = "Policy")
    protected List<PolicyType> policy;
    @XmlElement(name = "ResponseParameters")
    protected ResponseParametersType responseParameters;
    @XmlElement(name = "ShoppingCriteria")
    protected ShoppingCriteriaType shoppingCriteria;
    @XmlElement(name = "ShoppingResponse")
    protected ShoppingResponseType shoppingResponse;

    /**
     * Gets the value of the coreRequest property.
     * 
     * @return
     *     possible object is
     *     {@link CoreRequestType }
     *     
     */
    public CoreRequestType getCoreRequest() {
        return coreRequest;
    }

    /**
     * Sets the value of the coreRequest property.
     * 
     * @param value
     *     allowed object is
     *     {@link CoreRequestType }
     *     
     */
    public void setCoreRequest(CoreRequestType value) {
        this.coreRequest = value;
    }

    /**
     * Gets the value of the originDest property.
     * 
     * @return
     *     possible object is
     *     {@link RequestType.OriginDest }
     *     
     */
    public RequestType.OriginDest getOriginDest() {
        return originDest;
    }

    /**
     * Sets the value of the originDest property.
     * 
     * @param value
     *     allowed object is
     *     {@link RequestType.OriginDest }
     *     
     */
    public void setOriginDest(RequestType.OriginDest value) {
        this.originDest = value;
    }

    /**
     * Gets the value of the metadata property.
     * 
     * @return
     *     possible object is
     *     {@link SrvListReqMetadataType }
     *     
     */
    public SrvListReqMetadataType getMetadata() {
        return metadata;
    }

    /**
     * Sets the value of the metadata property.
     * 
     * @param value
     *     allowed object is
     *     {@link SrvListReqMetadataType }
     *     
     */
    public void setMetadata(SrvListReqMetadataType value) {
        this.metadata = value;
    }

    /**
     * Gets the value of the paxs property.
     * 
     * @return
     *     possible object is
     *     {@link PaxsType }
     *     
     */
    public PaxsType getPaxs() {
        return paxs;
    }

    /**
     * Sets the value of the paxs property.
     * 
     * @param value
     *     allowed object is
     *     {@link PaxsType }
     *     
     */
    public void setPaxs(PaxsType value) {
        this.paxs = value;
    }

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

    /**
     * Gets the value of the responseParameters property.
     * 
     * @return
     *     possible object is
     *     {@link ResponseParametersType }
     *     
     */
    public ResponseParametersType getResponseParameters() {
        return responseParameters;
    }

    /**
     * Sets the value of the responseParameters property.
     * 
     * @param value
     *     allowed object is
     *     {@link ResponseParametersType }
     *     
     */
    public void setResponseParameters(ResponseParametersType value) {
        this.responseParameters = value;
    }

    /**
     * Gets the value of the shoppingCriteria property.
     * 
     * @return
     *     possible object is
     *     {@link ShoppingCriteriaType }
     *     
     */
    public ShoppingCriteriaType getShoppingCriteria() {
        return shoppingCriteria;
    }

    /**
     * Sets the value of the shoppingCriteria property.
     * 
     * @param value
     *     allowed object is
     *     {@link ShoppingCriteriaType }
     *     
     */
    public void setShoppingCriteria(ShoppingCriteriaType value) {
        this.shoppingCriteria = value;
    }

    /**
     * Gets the value of the shoppingResponse property.
     * 
     * @return
     *     possible object is
     *     {@link ShoppingResponseType }
     *     
     */
    public ShoppingResponseType getShoppingResponse() {
        return shoppingResponse;
    }

    /**
     * Sets the value of the shoppingResponse property.
     * 
     * @param value
     *     allowed object is
     *     {@link ShoppingResponseType }
     *     
     */
    public void setShoppingResponse(ShoppingResponseType value) {
        this.shoppingResponse = 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="OriginStationCode" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRQ_v1}IATA_LocationCodeType"/&amp;gt;
     *         &amp;lt;element name="DestStationCode" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRQ_v1}IATA_LocationCodeType"/&amp;gt;
     *         &amp;lt;element name="PaxJourney" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRQ_v1}PaxJourneyType" 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 = {
        "originStationCode",
        "destStationCode",
        "paxJourney"
    })
    public static class OriginDest {

        @XmlElement(name = "OriginStationCode", required = true)
        protected String originStationCode;
        @XmlElement(name = "DestStationCode", required = true)
        protected String destStationCode;
        @XmlElement(name = "PaxJourney")
        protected PaxJourneyType paxJourney;

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

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

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

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

        /**
         * Gets the value of the paxJourney property.
         * 
         * @return
         *     possible object is
         *     {@link PaxJourneyType }
         *     
         */
        public PaxJourneyType getPaxJourney() {
            return paxJourney;
        }

        /**
         * Sets the value of the paxJourney property.
         * 
         * @param value
         *     allowed object is
         *     {@link PaxJourneyType }
         *     
         */
        public void setPaxJourney(PaxJourneyType value) {
            this.paxJourney = value;
        }

    }

}
