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


/**
 * Passenger Authentication definition.
 * 
 * Notes:
 *  1. The AuthQuestion is returned as an Alert in a Shopping or Order response message.
 *  2. The AuthAnswer is returned as an Alert in a Shopping or Order request message.
 *  3. Note that the CustomerInputRQ may be used to send an authentication response in lieue of using an alert in a request message.
 * 
 * &lt;p&gt;Java class for PIN_AuthTravelerType complex type.
 * 
 * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
 * 
 * &lt;pre&gt;
 * &amp;lt;complexType name="PIN_AuthTravelerType"&amp;gt;
 *   &amp;lt;complexContent&amp;gt;
 *     &amp;lt;extension base="{http://xml.amadeus.com/2010/06/Travel_OrderViewRS_v1}TrxProcessObjectBaseType"&amp;gt;
 *       &amp;lt;choice&amp;gt;
 *         &amp;lt;element name="AuthRequest"&amp;gt;
 *           &amp;lt;complexType&amp;gt;
 *             &amp;lt;complexContent&amp;gt;
 *               &amp;lt;extension base="{http://xml.amadeus.com/2010/06/Travel_OrderViewRS_v1}PinPhraseQuestionType"&amp;gt;
 *                 &amp;lt;attribute name="AuthenticationInd" type="{http://www.w3.org/2001/XMLSchema}boolean" /&amp;gt;
 *                 &amp;lt;attribute name="MaximumTrxInd" type="{http://www.w3.org/2001/XMLSchema}boolean" /&amp;gt;
 *                 &amp;lt;attribute name="RetryInd" type="{http://www.w3.org/2001/XMLSchema}boolean" /&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 name="AuthResponse" type="{http://xml.amadeus.com/2010/06/Travel_OrderViewRS_v1}PinPhraseAnswerType"/&amp;gt;
 *       &amp;lt;/choice&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 = "PIN_AuthTravelerType", propOrder = {
    "authRequest",
    "authResponse"
})
public class PINAuthTravelerType
    extends TrxProcessObjectBaseType
{

    @XmlElement(name = "AuthRequest")
    protected PINAuthTravelerType.AuthRequest authRequest;
    @XmlElement(name = "AuthResponse")
    protected PinPhraseAnswerType authResponse;

    /**
     * Gets the value of the authRequest property.
     * 
     * @return
     *     possible object is
     *     {@link PINAuthTravelerType.AuthRequest }
     *     
     */
    public PINAuthTravelerType.AuthRequest getAuthRequest() {
        return authRequest;
    }

    /**
     * Sets the value of the authRequest property.
     * 
     * @param value
     *     allowed object is
     *     {@link PINAuthTravelerType.AuthRequest }
     *     
     */
    public void setAuthRequest(PINAuthTravelerType.AuthRequest value) {
        this.authRequest = value;
    }

    /**
     * Gets the value of the authResponse property.
     * 
     * @return
     *     possible object is
     *     {@link PinPhraseAnswerType }
     *     
     */
    public PinPhraseAnswerType getAuthResponse() {
        return authResponse;
    }

    /**
     * Sets the value of the authResponse property.
     * 
     * @param value
     *     allowed object is
     *     {@link PinPhraseAnswerType }
     *     
     */
    public void setAuthResponse(PinPhraseAnswerType value) {
        this.authResponse = 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_OrderViewRS_v1}PinPhraseQuestionType"&amp;gt;
     *       &amp;lt;attribute name="AuthenticationInd" type="{http://www.w3.org/2001/XMLSchema}boolean" /&amp;gt;
     *       &amp;lt;attribute name="MaximumTrxInd" type="{http://www.w3.org/2001/XMLSchema}boolean" /&amp;gt;
     *       &amp;lt;attribute name="RetryInd" type="{http://www.w3.org/2001/XMLSchema}boolean" /&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 AuthRequest
        extends PinPhraseQuestionType
    {

        @XmlAttribute(name = "AuthenticationInd")
        protected Boolean authenticationInd;
        @XmlAttribute(name = "MaximumTrxInd")
        protected Boolean maximumTrxInd;
        @XmlAttribute(name = "RetryInd")
        protected Boolean retryInd;

        /**
         * Gets the value of the authenticationInd property.
         * 
         * @return
         *     possible object is
         *     {@link Boolean }
         *     
         */
        public Boolean isAuthenticationInd() {
            return authenticationInd;
        }

        /**
         * Sets the value of the authenticationInd property.
         * 
         * @param value
         *     allowed object is
         *     {@link Boolean }
         *     
         */
        public void setAuthenticationInd(Boolean value) {
            this.authenticationInd = value;
        }

        /**
         * Gets the value of the maximumTrxInd property.
         * 
         * @return
         *     possible object is
         *     {@link Boolean }
         *     
         */
        public Boolean isMaximumTrxInd() {
            return maximumTrxInd;
        }

        /**
         * Sets the value of the maximumTrxInd property.
         * 
         * @param value
         *     allowed object is
         *     {@link Boolean }
         *     
         */
        public void setMaximumTrxInd(Boolean value) {
            this.maximumTrxInd = value;
        }

        /**
         * Gets the value of the retryInd property.
         * 
         * @return
         *     possible object is
         *     {@link Boolean }
         *     
         */
        public Boolean isRetryInd() {
            return retryInd;
        }

        /**
         * Sets the value of the retryInd property.
         * 
         * @param value
         *     allowed object is
         *     {@link Boolean }
         *     
         */
        public void setRetryInd(Boolean value) {
            this.retryInd = value;
        }

    }

}
