com.hubject.datex.energyinfrastructure.generated.facilities.PaymentBrandsEnum2 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 PaymentBrandsEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="PaymentBrandsEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="americanExpress"/>
* <enumeration value="applePay"/>
* <enumeration value="cirrus"/>
* <enumeration value="dinersClub"/>
* <enumeration value="discoverCard"/>
* <enumeration value="giroCard"/>
* <enumeration value="maestro"/>
* <enumeration value="masterCard"/>
* <enumeration value="visa"/>
* <enumeration value="vpay"/>
* <enumeration value="other"/>
* <enumeration value="_extended"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "PaymentBrandsEnum")
@XmlEnum
public enum PaymentBrandsEnum2 {
@XmlEnumValue("americanExpress")
AMERICAN_EXPRESS("americanExpress"),
@XmlEnumValue("applePay")
APPLE_PAY("applePay"),
@XmlEnumValue("cirrus")
CIRRUS("cirrus"),
@XmlEnumValue("dinersClub")
DINERS_CLUB("dinersClub"),
@XmlEnumValue("discoverCard")
DISCOVER_CARD("discoverCard"),
@XmlEnumValue("giroCard")
GIRO_CARD("giroCard"),
@XmlEnumValue("maestro")
MAESTRO("maestro"),
@XmlEnumValue("masterCard")
MASTER_CARD("masterCard"),
@XmlEnumValue("visa")
VISA("visa"),
@XmlEnumValue("vpay")
VPAY("vpay"),
@XmlEnumValue("other")
OTHER("other"),
@XmlEnumValue("_extended")
EXTENDED("_extended");
private final String value;
PaymentBrandsEnum2(String v) {
value = v;
}
public String value() {
return value;
}
public static PaymentBrandsEnum2 fromValue(String v) {
for (PaymentBrandsEnum2 c: PaymentBrandsEnum2 .values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}