
package com.amadeus.travelManagement.amadeus.xml._2010._06.travel_seatavailabilityrs_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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * A data type for a Fee/ Surcharge.
 * 
 * &lt;p&gt;Java class for FeeSurchargeType complex type.
 * 
 * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
 * 
 * &lt;pre&gt;
 * &amp;lt;complexType name="FeeSurchargeType"&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="Total"&amp;gt;
 *           &amp;lt;complexType&amp;gt;
 *             &amp;lt;simpleContent&amp;gt;
 *               &amp;lt;extension base="&amp;lt;http://xml.amadeus.com/2010/06/Travel_SeatAvailabilityRS_v1&amp;gt;CurrencyAmountOptType"&amp;gt;
 *                 &amp;lt;attribute name="refundInd" type="{http://www.w3.org/2001/XMLSchema}boolean" /&amp;gt;
 *               &amp;lt;/extension&amp;gt;
 *             &amp;lt;/simpleContent&amp;gt;
 *           &amp;lt;/complexType&amp;gt;
 *         &amp;lt;/element&amp;gt;
 *         &amp;lt;element name="Breakdown" minOccurs="0"&amp;gt;
 *           &amp;lt;complexType&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="Fee" maxOccurs="unbounded"&amp;gt;
 *                     &amp;lt;complexType&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="Amount" type="{http://xml.amadeus.com/2010/06/Travel_SeatAvailabilityRS_v1}CurrencyAmountOptType"/&amp;gt;
 *                             &amp;lt;element name="LocalAmount" type="{http://xml.amadeus.com/2010/06/Travel_SeatAvailabilityRS_v1}CurrencyAmountOptType" minOccurs="0"/&amp;gt;
 *                             &amp;lt;element name="Designator" type="{http://xml.amadeus.com/2010/06/Travel_SeatAvailabilityRS_v1}CodesetValueSimpleType" minOccurs="0"/&amp;gt;
 *                             &amp;lt;element name="Description" type="{http://xml.amadeus.com/2010/06/Travel_SeatAvailabilityRS_v1}ShortDescSimpleType" minOccurs="0"/&amp;gt;
 *                             &amp;lt;element name="Nature" type="{http://xml.amadeus.com/2010/06/Travel_SeatAvailabilityRS_v1}ProperNameSimpleType" minOccurs="0"/&amp;gt;
 *                           &amp;lt;/sequence&amp;gt;
 *                           &amp;lt;attGroup ref="{http://xml.amadeus.com/2010/06/Travel_SeatAvailabilityRS_v1}ObjAssociationAttrGroup"/&amp;gt;
 *                           &amp;lt;attribute name="ApproxInd" type="{http://www.w3.org/2001/XMLSchema}boolean" /&amp;gt;
 *                           &amp;lt;attribute name="RefundInd" type="{http://www.w3.org/2001/XMLSchema}boolean" /&amp;gt;
 *                         &amp;lt;/restriction&amp;gt;
 *                       &amp;lt;/complexContent&amp;gt;
 *                     &amp;lt;/complexType&amp;gt;
 *                   &amp;lt;/element&amp;gt;
 *                 &amp;lt;/sequence&amp;gt;
 *               &amp;lt;/restriction&amp;gt;
 *             &amp;lt;/complexContent&amp;gt;
 *           &amp;lt;/complexType&amp;gt;
 *         &amp;lt;/element&amp;gt;
 *       &amp;lt;/sequence&amp;gt;
 *       &amp;lt;attGroup ref="{http://xml.amadeus.com/2010/06/Travel_SeatAvailabilityRS_v1}ObjAssociationAttrGroup"/&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 = "FeeSurchargeType", propOrder = {
    "total",
    "breakdown"
})
@XmlSeeAlso({
    com.amadeus.travelManagement.amadeus.xml._2010._06.travel_seatavailabilityrs_v1.DetailCurrencyPriceType.Fees.class,
    com.amadeus.travelManagement.amadeus.xml._2010._06.travel_seatavailabilityrs_v1.SettlementType.Fees.class,
    com.amadeus.travelManagement.amadeus.xml._2010._06.travel_seatavailabilityrs_v1.GenericPriceType.Fees.class,
    com.amadeus.travelManagement.amadeus.xml._2010._06.travel_seatavailabilityrs_v1.OfferPriceLeadDetailType.PriceDetail.Fees.class,
    com.amadeus.travelManagement.amadeus.xml._2010._06.travel_seatavailabilityrs_v1.V172OrderItemType.OrderItem.PriceDetail.Fees.class,
    com.amadeus.travelManagement.amadeus.xml._2010._06.travel_seatavailabilityrs_v1.NameChangeV172OfferItemType.TotalPriceDetail.Fees.class,
    com.amadeus.travelManagement.amadeus.xml._2010._06.travel_seatavailabilityrs_v1.ALaCarteV172OfferItemType.UnitPriceDetail.Fees.class,
    com.amadeus.travelManagement.amadeus.xml._2010._06.travel_seatavailabilityrs_v1.V172OfferItemType.TotalPriceDetail.Fees.class
})
public class FeeSurchargeType {

    @XmlElement(name = "Total", required = true)
    protected FeeSurchargeType.Total total;
    @XmlElement(name = "Breakdown")
    protected FeeSurchargeType.Breakdown breakdown;
    @XmlAttribute(name = "refs")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String refs;

    /**
     * Gets the value of the total property.
     * 
     * @return
     *     possible object is
     *     {@link FeeSurchargeType.Total }
     *     
     */
    public FeeSurchargeType.Total getTotal() {
        return total;
    }

    /**
     * Sets the value of the total property.
     * 
     * @param value
     *     allowed object is
     *     {@link FeeSurchargeType.Total }
     *     
     */
    public void setTotal(FeeSurchargeType.Total value) {
        this.total = value;
    }

    /**
     * Gets the value of the breakdown property.
     * 
     * @return
     *     possible object is
     *     {@link FeeSurchargeType.Breakdown }
     *     
     */
    public FeeSurchargeType.Breakdown getBreakdown() {
        return breakdown;
    }

    /**
     * Sets the value of the breakdown property.
     * 
     * @param value
     *     allowed object is
     *     {@link FeeSurchargeType.Breakdown }
     *     
     */
    public void setBreakdown(FeeSurchargeType.Breakdown value) {
        this.breakdown = value;
    }

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

    /**
     * Sets the value of the refs property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRefs(String value) {
        this.refs = 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;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
     *       &amp;lt;sequence&amp;gt;
     *         &amp;lt;element name="Fee" maxOccurs="unbounded"&amp;gt;
     *           &amp;lt;complexType&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="Amount" type="{http://xml.amadeus.com/2010/06/Travel_SeatAvailabilityRS_v1}CurrencyAmountOptType"/&amp;gt;
     *                   &amp;lt;element name="LocalAmount" type="{http://xml.amadeus.com/2010/06/Travel_SeatAvailabilityRS_v1}CurrencyAmountOptType" minOccurs="0"/&amp;gt;
     *                   &amp;lt;element name="Designator" type="{http://xml.amadeus.com/2010/06/Travel_SeatAvailabilityRS_v1}CodesetValueSimpleType" minOccurs="0"/&amp;gt;
     *                   &amp;lt;element name="Description" type="{http://xml.amadeus.com/2010/06/Travel_SeatAvailabilityRS_v1}ShortDescSimpleType" minOccurs="0"/&amp;gt;
     *                   &amp;lt;element name="Nature" type="{http://xml.amadeus.com/2010/06/Travel_SeatAvailabilityRS_v1}ProperNameSimpleType" minOccurs="0"/&amp;gt;
     *                 &amp;lt;/sequence&amp;gt;
     *                 &amp;lt;attGroup ref="{http://xml.amadeus.com/2010/06/Travel_SeatAvailabilityRS_v1}ObjAssociationAttrGroup"/&amp;gt;
     *                 &amp;lt;attribute name="ApproxInd" type="{http://www.w3.org/2001/XMLSchema}boolean" /&amp;gt;
     *                 &amp;lt;attribute name="RefundInd" type="{http://www.w3.org/2001/XMLSchema}boolean" /&amp;gt;
     *               &amp;lt;/restriction&amp;gt;
     *             &amp;lt;/complexContent&amp;gt;
     *           &amp;lt;/complexType&amp;gt;
     *         &amp;lt;/element&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 = "", propOrder = {
        "fee"
    })
    public static class Breakdown {

        @XmlElement(name = "Fee", required = true)
        protected List<FeeSurchargeType.Breakdown.Fee> fee;

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


        /**
         * &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;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
         *       &amp;lt;sequence&amp;gt;
         *         &amp;lt;element name="Amount" type="{http://xml.amadeus.com/2010/06/Travel_SeatAvailabilityRS_v1}CurrencyAmountOptType"/&amp;gt;
         *         &amp;lt;element name="LocalAmount" type="{http://xml.amadeus.com/2010/06/Travel_SeatAvailabilityRS_v1}CurrencyAmountOptType" minOccurs="0"/&amp;gt;
         *         &amp;lt;element name="Designator" type="{http://xml.amadeus.com/2010/06/Travel_SeatAvailabilityRS_v1}CodesetValueSimpleType" minOccurs="0"/&amp;gt;
         *         &amp;lt;element name="Description" type="{http://xml.amadeus.com/2010/06/Travel_SeatAvailabilityRS_v1}ShortDescSimpleType" minOccurs="0"/&amp;gt;
         *         &amp;lt;element name="Nature" type="{http://xml.amadeus.com/2010/06/Travel_SeatAvailabilityRS_v1}ProperNameSimpleType" minOccurs="0"/&amp;gt;
         *       &amp;lt;/sequence&amp;gt;
         *       &amp;lt;attGroup ref="{http://xml.amadeus.com/2010/06/Travel_SeatAvailabilityRS_v1}ObjAssociationAttrGroup"/&amp;gt;
         *       &amp;lt;attribute name="ApproxInd" type="{http://www.w3.org/2001/XMLSchema}boolean" /&amp;gt;
         *       &amp;lt;attribute name="RefundInd" type="{http://www.w3.org/2001/XMLSchema}boolean" /&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 = "", propOrder = {
            "amount",
            "localAmount",
            "designator",
            "description",
            "nature"
        })
        public static class Fee {

            @XmlElement(name = "Amount", required = true)
            protected CurrencyAmountOptType amount;
            @XmlElement(name = "LocalAmount")
            protected CurrencyAmountOptType localAmount;
            @XmlElement(name = "Designator")
            protected String designator;
            @XmlElement(name = "Description")
            protected String description;
            @XmlElement(name = "Nature")
            protected String nature;
            @XmlAttribute(name = "ApproxInd")
            protected Boolean approxInd;
            @XmlAttribute(name = "RefundInd")
            protected Boolean refundInd;
            @XmlAttribute(name = "refs")
            @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
            protected String refs;

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

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

            /**
             * Gets the value of the localAmount property.
             * 
             * @return
             *     possible object is
             *     {@link CurrencyAmountOptType }
             *     
             */
            public CurrencyAmountOptType getLocalAmount() {
                return localAmount;
            }

            /**
             * Sets the value of the localAmount property.
             * 
             * @param value
             *     allowed object is
             *     {@link CurrencyAmountOptType }
             *     
             */
            public void setLocalAmount(CurrencyAmountOptType value) {
                this.localAmount = value;
            }

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

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

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

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

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

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

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

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

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

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

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

            /**
             * Sets the value of the refs property.
             * 
             * @param value
             *     allowed object is
             *     {@link String }
             *     
             */
            public void setRefs(String value) {
                this.refs = 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;simpleContent&amp;gt;
     *     &amp;lt;extension base="&amp;lt;http://xml.amadeus.com/2010/06/Travel_SeatAvailabilityRS_v1&amp;gt;CurrencyAmountOptType"&amp;gt;
     *       &amp;lt;attribute name="refundInd" type="{http://www.w3.org/2001/XMLSchema}boolean" /&amp;gt;
     *     &amp;lt;/extension&amp;gt;
     *   &amp;lt;/simpleContent&amp;gt;
     * &amp;lt;/complexType&amp;gt;
     * &lt;/pre&gt;
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "")
    public static class Total
        extends CurrencyAmountOptType
    {

        @XmlAttribute(name = "refundInd")
        protected Boolean refundInd;

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

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

    }

}
