public enum EMVKernelType extends java.lang.Enum<EMVKernelType>
Enum Constant and Description |
---|
CONTACT
Contact EMV kernel
|
DISCOVER
Discover kernel
|
EXPRESSPAY
ExpressPay kernel
|
GIROCARD
Girocard kernel
|
MCL
MCL kernel
|
PAYWAVE
PayWave kernel
|
Modifier and Type | Method and Description |
---|---|
static EMVKernelType |
fromID(int id)
Get a
EMVKernelType from an int value |
int |
getId()
Gets the ID of the EMV kernel type
|
static EMVKernelType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EMVKernelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EMVKernelType CONTACT
public static final EMVKernelType EXPRESSPAY
public static final EMVKernelType MCL
public static final EMVKernelType PAYWAVE
public static final EMVKernelType GIROCARD
public static final EMVKernelType DISCOVER
public static EMVKernelType[] values()
for (EMVKernelType c : EMVKernelType.values()) System.out.println(c);
public static EMVKernelType 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 int getId()
public static EMVKernelType fromID(int id)
EMVKernelType
from an int valueid
- integer value representing the ID of the EMVKernelType
EMVKernelType
if id is valid otherwise return nullCopyright © 2019 Yello. All rights reserved.