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


/**
 * Baggage pricing qualifiers.
 * 
 * &lt;p&gt;Java class for BaggagePricingCriteriaType complex type.
 * 
 * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
 * 
 * &lt;pre&gt;
 * &amp;lt;complexType name="BaggagePricingCriteriaType"&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="BaggageOptionCode" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}BaggageTypeCodeType" maxOccurs="2" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="FixedPrepaidInd" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}IndType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="CommercialAgreementID" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}ID_Type" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="DeferralInd" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}IndType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="IncludeSettlementInd" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}IndType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="RequestedActionCode" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}MessageFunctionCodeType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="OptionalChargesCode" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}CodeType" 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 = "BaggagePricingCriteriaType", propOrder = {
    "baggageOptionCode",
    "fixedPrepaidInd",
    "commercialAgreementID",
    "deferralInd",
    "includeSettlementInd",
    "requestedActionCode",
    "optionalChargesCode"
})
public class BaggagePricingCriteriaType {

    @XmlElement(name = "BaggageOptionCode")
    @XmlSchemaType(name = "string")
    protected List<BaggageTypeContentType> baggageOptionCode;
    @XmlElement(name = "FixedPrepaidInd")
    protected Boolean fixedPrepaidInd;
    @XmlElement(name = "CommercialAgreementID")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected String commercialAgreementID;
    @XmlElement(name = "DeferralInd")
    protected Boolean deferralInd;
    @XmlElement(name = "IncludeSettlementInd")
    protected Boolean includeSettlementInd;
    @XmlElement(name = "RequestedActionCode")
    protected String requestedActionCode;
    @XmlElement(name = "OptionalChargesCode")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected String optionalChargesCode;

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

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

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

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

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

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

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

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

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

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

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

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

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

}
