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

public static enum PinConsoleManager.PinProgress extends Enum<PinConsoleManager.PinProgress>
Pin progress enum.
  • Enum Constant Details

    • SELECT_BANKACCOUNT

      public static final PinConsoleManager.PinProgress SELECT_BANKACCOUNT
      Initial progress step. Will be skipped when the user only has one business/government bank account.
    • SELECT_PINCONSOLE

      public static final PinConsoleManager.PinProgress SELECT_PINCONSOLE
      Second progress step, this is the progresstype when the user still needs to select the pinconsole
    • TARGET_NEEDS_TO_ACCEPT

      public static final PinConsoleManager.PinProgress 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

      public static PinConsoleManager.PinProgress[] 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

      public static PinConsoleManager.PinProgress valueOf(String name)
      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 name
      NullPointerException - if the argument is null