Package com.six.timapi.constants
Enum CardProductType
- java.lang.Object
-
- java.lang.Enum<CardProductType>
-
- com.six.timapi.constants.CardProductType
-
- All Implemented Interfaces:
Serializable
,Comparable<CardProductType>
public enum CardProductType extends Enum<CardProductType>
Gives the type of card product if this can be determined (e.g. from ASRPD).
The following values are valid:
Specification: retail.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMERCIAL
The card is a commercial productCREDIT
The card is a credit productDEBIT
The card is a debit productOTHER
OtherPREPAID
The card is a pre-paid product
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CardProductType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CardProductType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEBIT
public static final CardProductType DEBIT
The card is a debit product
Specification: retail.
-
CREDIT
public static final CardProductType CREDIT
The card is a credit product
Specification: retail.
-
COMMERCIAL
public static final CardProductType COMMERCIAL
The card is a commercial product
Specification: retail.
-
PREPAID
public static final CardProductType PREPAID
The card is a pre-paid product
Specification: retail.
-
OTHER
public static final CardProductType OTHER
Other
Specification: retail.
-
-
Method Detail
-
values
public static CardProductType[] 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 (CardProductType c : CardProductType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CardProductType 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
-
-