Enum Class WalletType

java.lang.Object
java.lang.Enum<WalletType>
org.exoplatform.wallet.model.WalletType
All Implemented Interfaces:
Serializable, Comparable<WalletType>, Constable

public enum WalletType extends Enum<WalletType>
  • Enum Constant Details

  • Method Details

    • values

      public static WalletType[] 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 WalletType 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
    • getId

      public String getId()
    • getProviderId

      public String getProviderId()
    • isSpace

      public boolean isSpace()
    • isUser

      public boolean isUser()
    • isAdmin

      public boolean isAdmin()
    • getType

      public static WalletType getType(String type)
    • isSpace

      public static boolean isSpace(String type)
    • isUser

      public static boolean isUser(String type)
    • isAdmin

      public static boolean isAdmin(String type)