
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;


/**
 * Information related to the publicization of a product, organization, or venture so as to increase sales or public awareness.
 * 
 * &lt;p&gt;Java class for PromotionType complex type.
 * 
 * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
 * 
 * &lt;pre&gt;
 * &amp;lt;complexType name="PromotionType"&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="PromotionID" type="{http://xml.amadeus.com/2010/06/Travel_OrderPayRQ_v1}ID_Type"/&amp;gt;
 *         &amp;lt;element name="OwnerName" type="{http://xml.amadeus.com/2010/06/Travel_OrderPayRQ_v1}ProperNameType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="URL" type="{http://xml.amadeus.com/2010/06/Travel_OrderPayRQ_v1}UniformResourceID_Type" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="PaxRefID" type="{http://www.w3.org/2001/XMLSchema}anyType" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="PromotionIssuer" type="{http://xml.amadeus.com/2010/06/Travel_OrderPayRQ_v1}PromotionIssuerType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="Remark" type="{http://xml.amadeus.com/2010/06/Travel_OrderPayRQ_v1}RemarkType" 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 = "PromotionType", propOrder = {
    "promotionID",
    "ownerName",
    "url",
    "paxRefID",
    "promotionIssuer",
    "remark"
})
public class PromotionType {

    @XmlElement(name = "PromotionID", required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected String promotionID;
    @XmlElement(name = "OwnerName")
    protected ProperNameType ownerName;
    @XmlElement(name = "URL")
    @XmlSchemaType(name = "anyURI")
    protected String url;
    @XmlElement(name = "PaxRefID")
    protected List<Object> paxRefID;
    @XmlElement(name = "PromotionIssuer")
    protected PromotionIssuerType promotionIssuer;
    @XmlElement(name = "Remark")
    protected List<RemarkType> remark;

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

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

    /**
     * Gets the value of the ownerName property.
     * 
     * @return
     *     possible object is
     *     {@link ProperNameType }
     *     
     */
    public ProperNameType getOwnerName() {
        return ownerName;
    }

    /**
     * Sets the value of the ownerName property.
     * 
     * @param value
     *     allowed object is
     *     {@link ProperNameType }
     *     
     */
    public void setOwnerName(ProperNameType value) {
        this.ownerName = value;
    }

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

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

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

    /**
     * Gets the value of the promotionIssuer property.
     * 
     * @return
     *     possible object is
     *     {@link PromotionIssuerType }
     *     
     */
    public PromotionIssuerType getPromotionIssuer() {
        return promotionIssuer;
    }

    /**
     * Sets the value of the promotionIssuer property.
     * 
     * @param value
     *     allowed object is
     *     {@link PromotionIssuerType }
     *     
     */
    public void setPromotionIssuer(PromotionIssuerType value) {
        this.promotionIssuer = value;
    }

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

}
