Enum CardTransactionRecord.InitiatingParty
- java.lang.Object
-
- java.lang.Enum<CardTransactionRecord.InitiatingParty>
-
- com.thalesgroup.gemalto.d1.card.cardservice.CardTransactionRecord.InitiatingParty
-
- All Implemented Interfaces:
Serializable,Comparable<CardTransactionRecord.InitiatingParty>
- Enclosing class:
- CardTransactionRecord
public static enum CardTransactionRecord.InitiatingParty extends Enum<CardTransactionRecord.InitiatingParty>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CARDHOLDERThe transaction initiator for the record is cardholder.MERCHANTThe transaction initiator for the record is merchant.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CardTransactionRecord.InitiatingPartyfromString(String value)static CardTransactionRecord.InitiatingPartyvalueOf(String name)Returns the enum constant of this type with the specified name.static CardTransactionRecord.InitiatingParty[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CARDHOLDER
public static final CardTransactionRecord.InitiatingParty CARDHOLDER
The transaction initiator for the record is cardholder.
-
MERCHANT
public static final CardTransactionRecord.InitiatingParty MERCHANT
The transaction initiator for the record is merchant.
-
-
Method Detail
-
values
public static CardTransactionRecord.InitiatingParty[] 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 (CardTransactionRecord.InitiatingParty c : CardTransactionRecord.InitiatingParty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CardTransactionRecord.InitiatingParty 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
-
fromString
@Nullable public static CardTransactionRecord.InitiatingParty fromString(String value)
-
-