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


/**
 * Information related to the settlement of a transaction through monetary or other compensations. For example, a payment may be applied to an entire Order or individual Order Items.
 * 
 * &lt;p&gt;Java class for PaymentInfoType complex type.
 * 
 * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
 * 
 * &lt;pre&gt;
 * &amp;lt;complexType name="PaymentInfoType"&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="PaymentInfoID" type="{http://xml.amadeus.com/2010/06/Travel_OrderViewRS_v1}ID_Type" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="Amount" type="{http://xml.amadeus.com/2010/06/Travel_OrderViewRS_v1}AmountType"/&amp;gt;
 *         &amp;lt;element name="TypeCode" type="{http://xml.amadeus.com/2010/06/Travel_OrderViewRS_v1}PaymentMethodCodeType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="PaymentStatusCode" type="{http://xml.amadeus.com/2010/06/Travel_OrderViewRS_v1}PaymentStatusCodeType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="PriceVarianceAmount" type="{http://xml.amadeus.com/2010/06/Travel_OrderViewRS_v1}AmountType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="Promotion" type="{http://xml.amadeus.com/2010/06/Travel_OrderViewRS_v1}PromotionType" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="PriceVarianceRule" type="{http://xml.amadeus.com/2010/06/Travel_OrderViewRS_v1}PriceVarianceRuleType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="VerificationInd" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="OrderItemRefID" type="{http://xml.amadeus.com/2010/06/Travel_OrderViewRS_v1}ID_Type" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="ContactInfoRefID" type="{http://xml.amadeus.com/2010/06/Travel_OrderViewRS_v1}ID_Type" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="Desc" type="{http://xml.amadeus.com/2010/06/Travel_OrderViewRS_v1}DescType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="PaymentMethod" type="{http://xml.amadeus.com/2010/06/Travel_OrderViewRS_v1}PaymentMethodType"/&amp;gt;
 *         &amp;lt;element name="SecurePaymentAuthenticationVersion" type="{http://xml.amadeus.com/2010/06/Travel_OrderViewRS_v1}SecurePaymentAuthenticationVersionType" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="SecurePaymentVersion2" type="{http://xml.amadeus.com/2010/06/Travel_OrderViewRS_v1}SecurePaymentVersion2Type" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="SecurePaymentVersion1" type="{http://xml.amadeus.com/2010/06/Travel_OrderViewRS_v1}SecurePaymentVersion1Type" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="SecurePaymentAuthenticationInstructionsVersion1" type="{http://xml.amadeus.com/2010/06/Travel_OrderViewRS_v1}SecurePaymentAuthenticationInstructionsVersion1Type" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="SecurePaymentAuthenticationInstructionsVersion2" type="{http://xml.amadeus.com/2010/06/Travel_OrderViewRS_v1}SecurePaymentAuthenticationInstructionsVersion2Type" 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 = "PaymentInfoType", propOrder = {
    "paymentInfoID",
    "amount",
    "typeCode",
    "paymentStatusCode",
    "priceVarianceAmount",
    "promotion",
    "priceVarianceRule",
    "verificationInd",
    "orderItemRefID",
    "contactInfoRefID",
    "desc",
    "paymentMethod",
    "securePaymentAuthenticationVersion",
    "securePaymentVersion2",
    "securePaymentVersion1",
    "securePaymentAuthenticationInstructionsVersion1",
    "securePaymentAuthenticationInstructionsVersion2"
})
public class PaymentInfoType {

    @XmlElement(name = "PaymentInfoID")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected String paymentInfoID;
    @XmlElement(name = "Amount", required = true)
    protected AmountType amount;
    @XmlElement(name = "TypeCode")
    protected String typeCode;
    @XmlElement(name = "PaymentStatusCode")
    @XmlSchemaType(name = "string")
    protected PaymentStatusContentType paymentStatusCode;
    @XmlElement(name = "PriceVarianceAmount")
    protected AmountType priceVarianceAmount;
    @XmlElement(name = "Promotion")
    protected List<PromotionType> promotion;
    @XmlElement(name = "PriceVarianceRule")
    protected PriceVarianceRuleType priceVarianceRule;
    @XmlElement(name = "VerificationInd")
    protected Object verificationInd;
    @XmlElement(name = "OrderItemRefID")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected List<String> orderItemRefID;
    @XmlElement(name = "ContactInfoRefID")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected String contactInfoRefID;
    @XmlElement(name = "Desc")
    protected DescType desc;
    @XmlElement(name = "PaymentMethod", required = true)
    protected PaymentMethodType paymentMethod;
    @XmlElement(name = "SecurePaymentAuthenticationVersion")
    protected List<SecurePaymentAuthenticationVersionType> securePaymentAuthenticationVersion;
    @XmlElement(name = "SecurePaymentVersion2")
    protected SecurePaymentVersion2Type securePaymentVersion2;
    @XmlElement(name = "SecurePaymentVersion1")
    protected SecurePaymentVersion1Type securePaymentVersion1;
    @XmlElement(name = "SecurePaymentAuthenticationInstructionsVersion1")
    protected SecurePaymentAuthenticationInstructionsVersion1Type securePaymentAuthenticationInstructionsVersion1;
    @XmlElement(name = "SecurePaymentAuthenticationInstructionsVersion2")
    protected SecurePaymentAuthenticationInstructionsVersion2Type securePaymentAuthenticationInstructionsVersion2;

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

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

    /**
     * Gets the value of the amount property.
     * 
     * @return
     *     possible object is
     *     {@link AmountType }
     *     
     */
    public AmountType getAmount() {
        return amount;
    }

    /**
     * Sets the value of the amount property.
     * 
     * @param value
     *     allowed object is
     *     {@link AmountType }
     *     
     */
    public void setAmount(AmountType value) {
        this.amount = value;
    }

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

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

    /**
     * Gets the value of the paymentStatusCode property.
     * 
     * @return
     *     possible object is
     *     {@link PaymentStatusContentType }
     *     
     */
    public PaymentStatusContentType getPaymentStatusCode() {
        return paymentStatusCode;
    }

    /**
     * Sets the value of the paymentStatusCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link PaymentStatusContentType }
     *     
     */
    public void setPaymentStatusCode(PaymentStatusContentType value) {
        this.paymentStatusCode = value;
    }

    /**
     * Gets the value of the priceVarianceAmount property.
     * 
     * @return
     *     possible object is
     *     {@link AmountType }
     *     
     */
    public AmountType getPriceVarianceAmount() {
        return priceVarianceAmount;
    }

    /**
     * Sets the value of the priceVarianceAmount property.
     * 
     * @param value
     *     allowed object is
     *     {@link AmountType }
     *     
     */
    public void setPriceVarianceAmount(AmountType value) {
        this.priceVarianceAmount = value;
    }

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

    /**
     * Gets the value of the priceVarianceRule property.
     * 
     * @return
     *     possible object is
     *     {@link PriceVarianceRuleType }
     *     
     */
    public PriceVarianceRuleType getPriceVarianceRule() {
        return priceVarianceRule;
    }

    /**
     * Sets the value of the priceVarianceRule property.
     * 
     * @param value
     *     allowed object is
     *     {@link PriceVarianceRuleType }
     *     
     */
    public void setPriceVarianceRule(PriceVarianceRuleType value) {
        this.priceVarianceRule = value;
    }

    /**
     * Gets the value of the verificationInd property.
     * 
     * @return
     *     possible object is
     *     {@link Object }
     *     
     */
    public Object getVerificationInd() {
        return verificationInd;
    }

    /**
     * Sets the value of the verificationInd property.
     * 
     * @param value
     *     allowed object is
     *     {@link Object }
     *     
     */
    public void setVerificationInd(Object value) {
        this.verificationInd = value;
    }

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

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

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

    /**
     * Gets the value of the desc property.
     * 
     * @return
     *     possible object is
     *     {@link DescType }
     *     
     */
    public DescType getDesc() {
        return desc;
    }

    /**
     * Sets the value of the desc property.
     * 
     * @param value
     *     allowed object is
     *     {@link DescType }
     *     
     */
    public void setDesc(DescType value) {
        this.desc = value;
    }

    /**
     * Gets the value of the paymentMethod property.
     * 
     * @return
     *     possible object is
     *     {@link PaymentMethodType }
     *     
     */
    public PaymentMethodType getPaymentMethod() {
        return paymentMethod;
    }

    /**
     * Sets the value of the paymentMethod property.
     * 
     * @param value
     *     allowed object is
     *     {@link PaymentMethodType }
     *     
     */
    public void setPaymentMethod(PaymentMethodType value) {
        this.paymentMethod = value;
    }

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

    /**
     * Gets the value of the securePaymentVersion2 property.
     * 
     * @return
     *     possible object is
     *     {@link SecurePaymentVersion2Type }
     *     
     */
    public SecurePaymentVersion2Type getSecurePaymentVersion2() {
        return securePaymentVersion2;
    }

    /**
     * Sets the value of the securePaymentVersion2 property.
     * 
     * @param value
     *     allowed object is
     *     {@link SecurePaymentVersion2Type }
     *     
     */
    public void setSecurePaymentVersion2(SecurePaymentVersion2Type value) {
        this.securePaymentVersion2 = value;
    }

    /**
     * Gets the value of the securePaymentVersion1 property.
     * 
     * @return
     *     possible object is
     *     {@link SecurePaymentVersion1Type }
     *     
     */
    public SecurePaymentVersion1Type getSecurePaymentVersion1() {
        return securePaymentVersion1;
    }

    /**
     * Sets the value of the securePaymentVersion1 property.
     * 
     * @param value
     *     allowed object is
     *     {@link SecurePaymentVersion1Type }
     *     
     */
    public void setSecurePaymentVersion1(SecurePaymentVersion1Type value) {
        this.securePaymentVersion1 = value;
    }

    /**
     * Gets the value of the securePaymentAuthenticationInstructionsVersion1 property.
     * 
     * @return
     *     possible object is
     *     {@link SecurePaymentAuthenticationInstructionsVersion1Type }
     *     
     */
    public SecurePaymentAuthenticationInstructionsVersion1Type getSecurePaymentAuthenticationInstructionsVersion1() {
        return securePaymentAuthenticationInstructionsVersion1;
    }

    /**
     * Sets the value of the securePaymentAuthenticationInstructionsVersion1 property.
     * 
     * @param value
     *     allowed object is
     *     {@link SecurePaymentAuthenticationInstructionsVersion1Type }
     *     
     */
    public void setSecurePaymentAuthenticationInstructionsVersion1(SecurePaymentAuthenticationInstructionsVersion1Type value) {
        this.securePaymentAuthenticationInstructionsVersion1 = value;
    }

    /**
     * Gets the value of the securePaymentAuthenticationInstructionsVersion2 property.
     * 
     * @return
     *     possible object is
     *     {@link SecurePaymentAuthenticationInstructionsVersion2Type }
     *     
     */
    public SecurePaymentAuthenticationInstructionsVersion2Type getSecurePaymentAuthenticationInstructionsVersion2() {
        return securePaymentAuthenticationInstructionsVersion2;
    }

    /**
     * Sets the value of the securePaymentAuthenticationInstructionsVersion2 property.
     * 
     * @param value
     *     allowed object is
     *     {@link SecurePaymentAuthenticationInstructionsVersion2Type }
     *     
     */
    public void setSecurePaymentAuthenticationInstructionsVersion2(SecurePaymentAuthenticationInstructionsVersion2Type value) {
        this.securePaymentAuthenticationInstructionsVersion2 = value;
    }

}
