Package com.thalesgroup.gemalto.d1.d1pay
Enum TransactionRecord.Status
- java.lang.Object
-
- java.lang.Enum<TransactionRecord.Status>
-
- com.thalesgroup.gemalto.d1.d1pay.TransactionRecord.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<TransactionRecord.Status>
- Enclosing interface:
- TransactionRecord
public static enum TransactionRecord.Status extends Enum<TransactionRecord.Status>
Status of a transaction record.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
Retrieves the string value of this transaction record status.static TransactionRecord.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static TransactionRecord.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
APPROVED
public static final TransactionRecord.Status APPROVED
APPROVED Status.
-
DECLINED
public static final TransactionRecord.Status DECLINED
DECLINED Status.
-
CLEARED
public static final TransactionRecord.Status CLEARED
CLEARED Status.
-
REFUNDED
public static final TransactionRecord.Status REFUNDED
REFUNDED Status.
-
-
Method Detail
-
values
public static TransactionRecord.Status[] 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 (TransactionRecord.Status c : TransactionRecord.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransactionRecord.Status 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
-
toString
public String toString()
Retrieves the string value of this transaction record status.- Overrides:
toString
in classEnum<TransactionRecord.Status>
- Returns:
- The string value of this transaction record status.
-
-