public enum Exportability extends java.lang.Enum<Exportability>
Each value repesents byte 11 of the Keyblok Header.
Enum Constant and Description |
---|
ANY
May only be exported in a trusted key block, provided the wrapping key
itself is in a trusted format.
|
NONE
No export permitted.
|
TRUSTED
May only be exported in a trusted key block, provided the wrapping key
itself is in a trusted format only if allowed.
|
Modifier and Type | Method and Description |
---|---|
char |
getCode()
Get exportability code.
|
java.lang.String |
getName()
Get exportability name.
|
java.lang.String |
toString() |
static Exportability |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Exportability |
valueOfByCode(char code)
Returns the enum constant of this type with the specified
code . |
static Exportability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Exportability ANY
public static final Exportability NONE
public static final Exportability TRUSTED
Sensitive; all other export possibilities are permitted, provided such export has been enabled (existing Authorized State requirements remain).
public static Exportability[] values()
for (Exportability c : Exportability.values()) System.out.println(c);
public static Exportability valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic char getCode()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Enum<Exportability>
public static Exportability valueOfByCode(char code)
code
.code
- the string must match exactly with identifier specified by
ISO 8583-1:2003(E) Table A.22 — Transaction type codesnull
if unknown.