Package com.adyen.model.nexo
Enum TrackFormatType
- java.lang.Object
-
- java.lang.Enum<TrackFormatType>
-
- com.adyen.model.nexo.TrackFormatType
-
- All Implemented Interfaces:
Serializable,Comparable<TrackFormatType>
public enum TrackFormatType extends Enum<TrackFormatType>
Java class for TrackFormatType.The following schema fragment specifies the expected content contained within this class.
<simpleType name="TrackFormatType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="ISO"/> <enumeration value="JIS-I"/> <enumeration value="JIS-II"/> <enumeration value="AAMVA"/> <enumeration value="CMC-7"/> <enumeration value="E-13B"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AAMVAAmerican driver licenseCMC_7((Magnetic Ink Character Recognition, using the CMC-7 font - ISO 1004) Line at the bottom of a check containing the bank account and the check number.E_13_B(Magnetic Ink Character Recognition, using the E-13B font) Line at the bottom of a check containing the bank account and the check number.ISOISO card track format - ISO 7813 - ISO 4909JIS_IJapenese track format IJIS_IIJapenese track format II
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TrackFormatTypefromValue(String v)Returns the enum constant matching the given string, ornullif no match is found.Stringvalue()Value string.static TrackFormatTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TrackFormatType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ISO
public static final TrackFormatType ISO
ISO card track format - ISO 7813 - ISO 4909
-
JIS_I
@SerializedName("JIS-I") public static final TrackFormatType JIS_IJapenese track format I
-
JIS_II
@SerializedName("JIS-II") public static final TrackFormatType JIS_IIJapenese track format II
-
AAMVA
public static final TrackFormatType AAMVA
American driver license
-
CMC_7
@SerializedName("CMC-7") public static final TrackFormatType CMC_7((Magnetic Ink Character Recognition, using the CMC-7 font - ISO 1004) Line at the bottom of a check containing the bank account and the check number.
-
E_13_B
@SerializedName("E-13B") public static final TrackFormatType E_13_B(Magnetic Ink Character Recognition, using the E-13B font) Line at the bottom of a check containing the bank account and the check number.
-
-
Method Detail
-
values
public static TrackFormatType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TrackFormatType c : TrackFormatType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TrackFormatType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public String value()
Value string.- Returns:
- the string
-
fromValue
public static TrackFormatType fromValue(String v)
Returns the enum constant matching the given string, ornullif no match is found.- Parameters:
v- string value- Returns:
- the TrackFormatType, or
nullif no match is found.
-
-