Package io.surati.gap.payment.base.api
Enum BankNoteBookStatus
- java.lang.Object
-
- java.lang.Enum<BankNoteBookStatus>
-
- io.surati.gap.payment.base.api.BankNoteBookStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<BankNoteBookStatus>
public enum BankNoteBookStatus extends Enum<BankNoteBookStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLOCKED
IN_USE
NONE
REGISTERED
TERMINATED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static BankNoteBookStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static BankNoteBookStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final BankNoteBookStatus NONE
-
REGISTERED
public static final BankNoteBookStatus REGISTERED
-
IN_USE
public static final BankNoteBookStatus IN_USE
-
BLOCKED
public static final BankNoteBookStatus BLOCKED
-
TERMINATED
public static final BankNoteBookStatus TERMINATED
-
-
Method Detail
-
values
public static BankNoteBookStatus[] 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 (BankNoteBookStatus c : BankNoteBookStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BankNoteBookStatus 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()
- Overrides:
toString
in classEnum<BankNoteBookStatus>
-
-