it.bz.opendatahub.alpinebits.xml.schema.ota.AirTaxExemptionEnum Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.10.22 at 07:23:30 PM GMT
//
package it.bz.opendatahub.alpinebits.xml.schema.ota;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for AirTaxExemptionEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="AirTaxExemptionEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="PFC_PassengerFacilitationCharge"/>
* <enumeration value="ZP_DomesticSegment"/>
* <enumeration value="AY_SecurityFee"/>
* <enumeration value="Other_"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "AirTaxExemptionEnum")
@XmlEnum
public enum AirTaxExemptionEnum {
/**
* Free Baggage Allowance
*
*/
@XmlEnumValue("PFC_PassengerFacilitationCharge")
PFC_PASSENGER_FACILITATION_CHARGE("PFC_PassengerFacilitationCharge"),
/**
* Baggage Charges
*
*/
@XmlEnumValue("ZP_DomesticSegment")
ZP_DOMESTIC_SEGMENT("ZP_DomesticSegment"),
/**
* Flight-Related.
*
*/
@XmlEnumValue("AY_SecurityFee")
AY_SECURITY_FEE("AY_SecurityFee"),
/**
* OpenTravel Reserved words, "Other_" as enumerated value for open enumeration support to support additional compartment type. The Value corresponding to "Other_" will be specified in the "Value" attribute. See CompartmentType.
*
*/
@XmlEnumValue("Other_")
OTHER("Other_");
private final String value;
AirTaxExemptionEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static AirTaxExemptionEnum fromValue(String v) {
for (AirTaxExemptionEnum c: AirTaxExemptionEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}