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


/**
 * Contains all information for the result of 3D-Secure authentication process. Applicable to 3DS v2.0 and higher.
 * 
 * &lt;p&gt;Java class for SecurePaymentVersion2Type complex type.
 * 
 * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
 * 
 * &lt;pre&gt;
 * &amp;lt;complexType name="SecurePaymentVersion2Type"&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="AuthenticationMerchantName" type="{http://xml.amadeus.com/2010/06/Travel_OrderPayRQ_v1}NameType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="AuthenticationTokenValue" type="{http://xml.amadeus.com/2010/06/Travel_OrderPayRQ_v1}TextType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="AuthenticationValue" type="{http://xml.amadeus.com/2010/06/Travel_OrderPayRQ_v1}TextType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="CardNumberCollectionCode" type="{http://xml.amadeus.com/2010/06/Travel_OrderPayRQ_v1}CardNumberCollectionCodeType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="DirectoryServerTrxID" type="{http://xml.amadeus.com/2010/06/Travel_OrderPayRQ_v1}ID_Type" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="ElectronicCommerceInd" type="{http://xml.amadeus.com/2010/06/Travel_OrderPayRQ_v1}TextType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="PayerAuthenticationExemptionCode" type="{http://xml.amadeus.com/2010/06/Travel_OrderPayRQ_v1}PayerAuthenticationExemptionCodeType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="PayerAuthenticationFailureToCompleteCode" type="{http://xml.amadeus.com/2010/06/Travel_OrderPayRQ_v1}PayerAuthenticationFailureToCompleteCodeType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="PaymentTrxChannelCode" type="{http://xml.amadeus.com/2010/06/Travel_OrderPayRQ_v1}PaymentTrxChannelCodeType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="ProgramProtocolText" type="{http://xml.amadeus.com/2010/06/Travel_OrderPayRQ_v1}TextType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="TrxStatusReasonText" type="{http://xml.amadeus.com/2010/06/Travel_OrderPayRQ_v1}TextType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="TrxStatusText" type="{http://xml.amadeus.com/2010/06/Travel_OrderPayRQ_v1}TextType" 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 = "SecurePaymentVersion2Type", propOrder = {
    "authenticationMerchantName",
    "authenticationTokenValue",
    "authenticationValue",
    "cardNumberCollectionCode",
    "directoryServerTrxID",
    "electronicCommerceInd",
    "payerAuthenticationExemptionCode",
    "payerAuthenticationFailureToCompleteCode",
    "paymentTrxChannelCode",
    "programProtocolText",
    "trxStatusReasonText",
    "trxStatusText"
})
public class SecurePaymentVersion2Type {

    @XmlElement(name = "AuthenticationMerchantName")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected String authenticationMerchantName;
    @XmlElement(name = "AuthenticationTokenValue")
    protected String authenticationTokenValue;
    @XmlElement(name = "AuthenticationValue")
    protected String authenticationValue;
    @XmlElement(name = "CardNumberCollectionCode")
    @XmlSchemaType(name = "token")
    protected CardNumberCollectionCodeContentType cardNumberCollectionCode;
    @XmlElement(name = "DirectoryServerTrxID")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected String directoryServerTrxID;
    @XmlElement(name = "ElectronicCommerceInd")
    protected String electronicCommerceInd;
    @XmlElement(name = "PayerAuthenticationExemptionCode")
    @XmlSchemaType(name = "token")
    protected PayerAuthenticationExemptionCodeContentType payerAuthenticationExemptionCode;
    @XmlElement(name = "PayerAuthenticationFailureToCompleteCode")
    @XmlSchemaType(name = "token")
    protected PayerAuthenticationFailureToCompleteCodeContentType payerAuthenticationFailureToCompleteCode;
    @XmlElement(name = "PaymentTrxChannelCode")
    @XmlSchemaType(name = "token")
    protected PaymentTrxChannelCodeContentType paymentTrxChannelCode;
    @XmlElement(name = "ProgramProtocolText")
    protected String programProtocolText;
    @XmlElement(name = "TrxStatusReasonText")
    protected String trxStatusReasonText;
    @XmlElement(name = "TrxStatusText")
    protected List<String> trxStatusText;

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

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

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

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

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

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

    /**
     * Gets the value of the cardNumberCollectionCode property.
     * 
     * @return
     *     possible object is
     *     {@link CardNumberCollectionCodeContentType }
     *     
     */
    public CardNumberCollectionCodeContentType getCardNumberCollectionCode() {
        return cardNumberCollectionCode;
    }

    /**
     * Sets the value of the cardNumberCollectionCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link CardNumberCollectionCodeContentType }
     *     
     */
    public void setCardNumberCollectionCode(CardNumberCollectionCodeContentType value) {
        this.cardNumberCollectionCode = value;
    }

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

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

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

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

    /**
     * Gets the value of the payerAuthenticationExemptionCode property.
     * 
     * @return
     *     possible object is
     *     {@link PayerAuthenticationExemptionCodeContentType }
     *     
     */
    public PayerAuthenticationExemptionCodeContentType getPayerAuthenticationExemptionCode() {
        return payerAuthenticationExemptionCode;
    }

    /**
     * Sets the value of the payerAuthenticationExemptionCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link PayerAuthenticationExemptionCodeContentType }
     *     
     */
    public void setPayerAuthenticationExemptionCode(PayerAuthenticationExemptionCodeContentType value) {
        this.payerAuthenticationExemptionCode = value;
    }

    /**
     * Gets the value of the payerAuthenticationFailureToCompleteCode property.
     * 
     * @return
     *     possible object is
     *     {@link PayerAuthenticationFailureToCompleteCodeContentType }
     *     
     */
    public PayerAuthenticationFailureToCompleteCodeContentType getPayerAuthenticationFailureToCompleteCode() {
        return payerAuthenticationFailureToCompleteCode;
    }

    /**
     * Sets the value of the payerAuthenticationFailureToCompleteCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link PayerAuthenticationFailureToCompleteCodeContentType }
     *     
     */
    public void setPayerAuthenticationFailureToCompleteCode(PayerAuthenticationFailureToCompleteCodeContentType value) {
        this.payerAuthenticationFailureToCompleteCode = value;
    }

    /**
     * Gets the value of the paymentTrxChannelCode property.
     * 
     * @return
     *     possible object is
     *     {@link PaymentTrxChannelCodeContentType }
     *     
     */
    public PaymentTrxChannelCodeContentType getPaymentTrxChannelCode() {
        return paymentTrxChannelCode;
    }

    /**
     * Sets the value of the paymentTrxChannelCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link PaymentTrxChannelCodeContentType }
     *     
     */
    public void setPaymentTrxChannelCode(PaymentTrxChannelCodeContentType value) {
        this.paymentTrxChannelCode = value;
    }

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

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

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

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

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

}
