
package com.amadeus.travelManagement.amadeus.xml._2010._06.travel_ordercancelrs_v1;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * &lt;p&gt;Java class for FareIndicatorListType.
 * 
 * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
 * &lt;pre&gt;
 * &amp;lt;simpleType name="FareIndicatorListType"&amp;gt;
 *   &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&amp;gt;
 *     &amp;lt;enumeration value="AL"/&amp;gt;
 *     &amp;lt;enumeration value="AP"/&amp;gt;
 *     &amp;lt;enumeration value="AT"/&amp;gt;
 *     &amp;lt;enumeration value="CA"/&amp;gt;
 *     &amp;lt;enumeration value="CT"/&amp;gt;
 *     &amp;lt;enumeration value="EH"/&amp;gt;
 *     &amp;lt;enumeration value="FE"/&amp;gt;
 *     &amp;lt;enumeration value="IN"/&amp;gt;
 *     &amp;lt;enumeration value="NA"/&amp;gt;
 *     &amp;lt;enumeration value="PA"/&amp;gt;
 *     &amp;lt;enumeration value="PN"/&amp;gt;
 *     &amp;lt;enumeration value="PO"/&amp;gt;
 *     &amp;lt;enumeration value="RU"/&amp;gt;
 *     &amp;lt;enumeration value="RW"/&amp;gt;
 *     &amp;lt;enumeration value="SA"/&amp;gt;
 *     &amp;lt;enumeration value="SP"/&amp;gt;
 *     &amp;lt;enumeration value="TB"/&amp;gt;
 *     &amp;lt;enumeration value="TS"/&amp;gt;
 *     &amp;lt;enumeration value="US"/&amp;gt;
 *     &amp;lt;enumeration value="WH"/&amp;gt;
 *     &amp;lt;enumeration value="ZZ"/&amp;gt;
 *     &amp;lt;enumeration value="Other"/&amp;gt;
 *   &amp;lt;/restriction&amp;gt;
 * &amp;lt;/simpleType&amp;gt;
 * &lt;/pre&gt;
 * 
 */
@XmlType(name = "FareIndicatorListType")
@XmlEnum
public enum FareIndicatorListType {


    /**
     * FareByRule, All fares included (EH/TS)
     * 
     */
    AL("AL"),

    /**
     * Via Atlantic Pacific
     * 
     */
    AP("AP"),

    /**
     * Via Atlantic
     * 
     */
    AT("AT"),

    /**
     * Within Canada.
     * 
     */
    CA("CA"),

    /**
     * Circle trip.
     * 
     */
    CT("CT"),

    /**
     * Within Eastern Hemisphere
     * 
     */
    EH("EH"),

    /**
     * Far East
     * 
     */
    FE("FE"),

    /**
     * FareByRule - For int'l incl.
     *                         AT/PA/WH/CT/RW
     * 
     */
    IN("IN"),

    /**
     * FareByRule for North America incl
     *                         US/CA/TB/PV
     * 
     */
    NA("NA"),

    /**
     * Via Pacific
     * 
     */
    PA("PA"),

    /**
     * Via Pacific and via North America
     * 
     */
    PN("PN"),

    /**
     * Via Polar Route.
     * 
     */
    PO("PO"),

    /**
     * Russia - Area 3
     * 
     */
    RU("RU"),

    /**
     * Round The World.
     * 
     */
    RW("RW"),

    /**
     * South Atlantic only
     * 
     */
    SA("SA"),

    /**
     * Via South Polar Route
     * 
     */
    SP("SP"),

    /**
     * Trans-border
     * 
     */
    TB("TB"),

    /**
     * Via Siberia.
     * 
     */
    TS("TS"),

    /**
     * Within the United States.
     * 
     */
    US("US"),

    /**
     * Within Western Hemisphere
     * 
     */
    WH("WH"),

    /**
     * Any Global
     * 
     */
    ZZ("ZZ"),
    @XmlEnumValue("Other")
    OTHER("Other");
    private final String value;

    FareIndicatorListType(String v) {
        value = v;
    }

    public String value() {
        return value;
    }

    public static FareIndicatorListType fromValue(String v) {
        for (FareIndicatorListType c: FareIndicatorListType.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }

}
