Enum SubAccount.TypeEnum

java.lang.Object
java.lang.Enum<SubAccount.TypeEnum>
sendpost_java_sdk.SubAccount.TypeEnum
All Implemented Interfaces:
Serializable, Comparable<SubAccount.TypeEnum>, java.lang.constant.Constable
Enclosing class:
SubAccount

public static enum SubAccount.TypeEnum extends Enum<SubAccount.TypeEnum>
Type of the sub-account
  • Enum Constant Details

  • Method Details

    • values

      public static SubAccount.TypeEnum[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SubAccount.TypeEnum 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 name
      NullPointerException - if the argument is null
    • getValue

      public Integer getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<SubAccount.TypeEnum>
    • fromValue

      public static SubAccount.TypeEnum fromValue(Integer value)
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Throws:
      IOException