Enum Class CardTransactionRecord.TransactionStatus
java.lang.Object
java.lang.Enum<CardTransactionRecord.TransactionStatus>
com.thalesgroup.gemalto.d1.card.cardservice.CardTransactionRecord.TransactionStatus
- All Implemented Interfaces:
Serializable,Comparable<CardTransactionRecord.TransactionStatus>,java.lang.constant.Constable
- Enclosing class:
- CardTransactionRecord
public static enum CardTransactionRecord.TransactionStatus
extends Enum<CardTransactionRecord.TransactionStatus>
The status of the transaction.
- Since:
- 4.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTransaction is approved.Transaction is declined.Transaction is partially approved.Transaction is reversed. -
Method Summary
Modifier and TypeMethodDescriptionfromString(String value) Converts from String to TransactionStatus.toString()Returns the value as String.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
APPROVED
Transaction is approved. -
PARTIALLY_APPROVED
Transaction is partially approved. -
DECLINED
Transaction is declined. -
REVERSED
Transaction is reversed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
Converts from String to TransactionStatus. -
toString
Returns the value as String.- Overrides:
toStringin classEnum<CardTransactionRecord.TransactionStatus>
-