Package com.meawallet.mtp
Enum MeaTransactionLogType
- java.lang.Object
-
- java.lang.Enum<MeaTransactionLogType>
-
- com.meawallet.mtp.MeaTransactionLogType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MeaTransactionLogType>
public enum MeaTransactionLogType extends java.lang.Enum<MeaTransactionLogType>
Transaction type for transaction logs.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTACTLESS
MAGSTRIPE
REMOTE_DSRP
WALLET_ACTION_REQUIRED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MeaTransactionLogType
getByCode(int code)
int
getCode()
static MeaTransactionLogType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MeaTransactionLogType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTACTLESS
public static final MeaTransactionLogType CONTACTLESS
-
MAGSTRIPE
public static final MeaTransactionLogType MAGSTRIPE
-
REMOTE_DSRP
public static final MeaTransactionLogType REMOTE_DSRP
-
WALLET_ACTION_REQUIRED
public static final MeaTransactionLogType WALLET_ACTION_REQUIRED
-
-
Method Detail
-
values
public static MeaTransactionLogType[] 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 (MeaTransactionLogType c : MeaTransactionLogType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MeaTransactionLogType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getCode
public int getCode()
-
getByCode
@Nullable public static MeaTransactionLogType getByCode(int code)
-
-