Enum Error.TypeEnum

java.lang.Object
java.lang.Enum<Error.TypeEnum>
com.xero.models.bankfeeds.Error.TypeEnum
All Implemented Interfaces:
Serializable, Comparable<Error.TypeEnum>, java.lang.constant.Constable
Enclosing class:
Error

public static enum Error.TypeEnum
extends Enum<Error.TypeEnum>
Identifies the type of error.
  • Enum Constant Details

    • INVALID_REQUEST

      public static final Error.TypeEnum INVALID_REQUEST
    • INVALID_APPLICATION

      public static final Error.TypeEnum INVALID_APPLICATION
    • INVALID_FEED_CONNECTION

      public static final Error.TypeEnum INVALID_FEED_CONNECTION
    • DUPLICATE_STATEMENT

      public static final Error.TypeEnum DUPLICATE_STATEMENT
    • INVALID_END_BALANCE

      public static final Error.TypeEnum INVALID_END_BALANCE
    • INVALID_START_AND_END_DATE

      public static final Error.TypeEnum INVALID_START_AND_END_DATE
    • INVALID_START_DATE

      public static final Error.TypeEnum INVALID_START_DATE
    • INTERNAL_ERROR

      public static final Error.TypeEnum INTERNAL_ERROR
    • FEED_ALREADY_CONNECTED_IN_CURRENT_ORGANISATION

      public static final Error.TypeEnum FEED_ALREADY_CONNECTED_IN_CURRENT_ORGANISATION
  • Method Details

    • values

      public static Error.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 Error.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 String getValue()
    • toString

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

      public static Error.TypeEnum fromValue​(String value)