com.hubject.datex.energyinfrastructure.generated.facilities.MeansOfPaymentEnum2 Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2022.10.06 at 11:44:34 AM CEST
//
package com.hubject.datex.energyinfrastructure.generated.facilities;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for MeansOfPaymentEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="MeansOfPaymentEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="paymentCreditCard"/>
* <enumeration value="cashBillsOnly"/>
* <enumeration value="cashCoinsOnly"/>
* <enumeration value="tollTag"/>
* <enumeration value="mobileAccount"/>
* <enumeration value="cashCoinsAndBills"/>
* <enumeration value="prepay"/>
* <enumeration value="paymentDebitCard"/>
* <enumeration value="paymentValueCard"/>
* <enumeration value="unknown"/>
* <enumeration value="_extended"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "MeansOfPaymentEnum")
@XmlEnum
public enum MeansOfPaymentEnum2 {
@XmlEnumValue("paymentCreditCard")
PAYMENT_CREDIT_CARD("paymentCreditCard"),
@XmlEnumValue("cashBillsOnly")
CASH_BILLS_ONLY("cashBillsOnly"),
@XmlEnumValue("cashCoinsOnly")
CASH_COINS_ONLY("cashCoinsOnly"),
@XmlEnumValue("tollTag")
TOLL_TAG("tollTag"),
@XmlEnumValue("mobileAccount")
MOBILE_ACCOUNT("mobileAccount"),
@XmlEnumValue("cashCoinsAndBills")
CASH_COINS_AND_BILLS("cashCoinsAndBills"),
@XmlEnumValue("prepay")
PREPAY("prepay"),
@XmlEnumValue("paymentDebitCard")
PAYMENT_DEBIT_CARD("paymentDebitCard"),
@XmlEnumValue("paymentValueCard")
PAYMENT_VALUE_CARD("paymentValueCard"),
@XmlEnumValue("unknown")
UNKNOWN("unknown"),
@XmlEnumValue("_extended")
EXTENDED("_extended");
private final String value;
MeansOfPaymentEnum2(String v) {
value = v;
}
public String value() {
return value;
}
public static MeansOfPaymentEnum2 fromValue(String v) {
for (MeansOfPaymentEnum2 c: MeansOfPaymentEnum2 .values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}