Package com.meawallet.mtp
Enum MeaTransactionType
- java.lang.Object
-
- java.lang.Enum<MeaTransactionType>
-
- com.meawallet.mtp.MeaTransactionType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MeaTransactionType>
public enum MeaTransactionType extends java.lang.Enum<MeaTransactionType>
Transaction result message type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATM_DEPOSIT
ATM_TRANSFER
ATM_WITHDRAWAL
CASH_DISBURSEMENT
PAYMENT
PURCHASE
REFUND
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MeaTransactionType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MeaTransactionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PURCHASE
public static final MeaTransactionType PURCHASE
-
REFUND
public static final MeaTransactionType REFUND
-
PAYMENT
public static final MeaTransactionType PAYMENT
-
ATM_WITHDRAWAL
public static final MeaTransactionType ATM_WITHDRAWAL
-
CASH_DISBURSEMENT
public static final MeaTransactionType CASH_DISBURSEMENT
-
ATM_DEPOSIT
public static final MeaTransactionType ATM_DEPOSIT
-
ATM_TRANSFER
public static final MeaTransactionType ATM_TRANSFER
-
-
Method Detail
-
values
public static MeaTransactionType[] 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 (MeaTransactionType c : MeaTransactionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MeaTransactionType 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
-
-