Enum Class EPPBalanceInfoResp.LimitBasedOn

java.lang.Object
java.lang.Enum<EPPBalanceInfoResp.LimitBasedOn>
com.verisign.epp.codec.balance.v03.EPPBalanceInfoResp.LimitBasedOn
All Implemented Interfaces:
Serializable, Comparable<EPPBalanceInfoResp.LimitBasedOn>, Constable
Enclosing class:
EPPBalanceInfoResp

public static enum EPPBalanceInfoResp.LimitBasedOn extends Enum<EPPBalanceInfoResp.LimitBasedOn>
Limit Based On attribute enumeration with the values:
  • BALANCE_AVAILABLE - Limit is based on the <balance:balanceAvailable> element.
  • CASH_BALANCE - Limit is based on the <balance:cashBalance> element.
  • Enum Constant Details

  • Method Details

    • values

      public static EPPBalanceInfoResp.LimitBasedOn[] 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 EPPBalanceInfoResp.LimitBasedOn 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
    • getLimitBasedOn

      public static EPPBalanceInfoResp.LimitBasedOn getLimitBasedOn(String aString)
      Get the sets enumerated value given the matching string.
      Parameters:
      aString - LimitBasedOn enumerated string to convert to an enumerated LimitBasedOn instance.
      Returns:
      Enumerated LimitBasedOn value matching the String.
      Throws:
      InvalidParameterException - If aString does not match an enumerated LimitBasedOn string value.
    • toString

      public String toString()
      Convert the enumerated LimitBasedOn value to a String.
      Overrides:
      toString in class Enum<EPPBalanceInfoResp.LimitBasedOn>