Package nl.minetopiasdb.api.banking
Enum Class PinConsoleManager.PinProgress
java.lang.Object
java.lang.Enum<PinConsoleManager.PinProgress>
nl.minetopiasdb.api.banking.PinConsoleManager.PinProgress
- All Implemented Interfaces:
Serializable
,Comparable<PinConsoleManager.PinProgress>
,Constable
- Enclosing class:
- PinConsoleManager
Pin progress enum.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionInitial progress step.Second progress step, this is the progresstype when the user still needs to select the pinconsoleThird progress step, this is when the target player needs to hit the pinconsole to accept the transaction -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static PinConsoleManager.PinProgress[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SELECT_BANKACCOUNT
Initial progress step. Will be skipped when the user only has one business/government bank account. -
SELECT_PINCONSOLE
Second progress step, this is the progresstype when the user still needs to select the pinconsole -
TARGET_NEEDS_TO_ACCEPT
Third progress step, this is when the target player needs to hit the pinconsole to accept the transaction
-
-
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
-