Package com.xero.models.bankfeeds
Enum Error.TypeEnum
- All Implemented Interfaces:
Serializable,Comparable<Error.TypeEnum>,java.lang.constant.Constable
- Enclosing class:
Error
Identifies the type of error.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionACCOUNT_NOT_VALIDBANK_FEED_NOT_FOUNDDUPLICATE_STATEMENTFEED_ALREADY_CONNECTED_IN_CURRENT_ORGANISATIONFEED_ALREADY_CONNECTED_IN_DIFFERENT_ORGANISATIONFEED_CONNECTED_IN_DIFFERENT_ORGANISATIONFEED_NOT_FOUND_OR_ALREADY_DELETEDINTERNAL_ERRORINVALID_APPLICATIONINVALID_COUNTRY_SPECIFIEDINVALID_END_BALANCEINVALID_END_DATEINVALID_FEED_CONNECTIONINVALID_FEED_CONNECTION_FOR_ORGANISATIONINVALID_ORGANISATION_BANK_FEEDSINVALID_ORGANISATION_MULTI_CURRENCYINVALID_REQUESTINVALID_START_AND_END_DATEINVALID_START_DATEINVALID_USER_ROLESTATEMENT_NOT_FOUND -
Method Summary
Modifier and TypeMethodDescriptionstatic Error.TypeEnumfromValuegetValue()getValuetoString()toStringstatic Error.TypeEnumReturns the enum constant of this type with the specified name.static Error.TypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INVALID_REQUEST
INVALID_REQUEST -
INVALID_APPLICATION
INVALID_APPLICATION -
INVALID_FEED_CONNECTION
INVALID_FEED_CONNECTION -
DUPLICATE_STATEMENT
DUPLICATE_STATEMENT -
INVALID_END_BALANCE
INVALID_END_BALANCE -
INVALID_START_AND_END_DATE
INVALID_START_AND_END_DATE -
INVALID_START_DATE
INVALID_START_DATE -
INTERNAL_ERROR
INTERNAL_ERROR -
FEED_ALREADY_CONNECTED_IN_CURRENT_ORGANISATION
FEED_ALREADY_CONNECTED_IN_CURRENT_ORGANISATION -
INVALID_END_DATE
INVALID_END_DATE -
STATEMENT_NOT_FOUND
STATEMENT_NOT_FOUND -
FEED_CONNECTED_IN_DIFFERENT_ORGANISATION
FEED_CONNECTED_IN_DIFFERENT_ORGANISATION -
FEED_ALREADY_CONNECTED_IN_DIFFERENT_ORGANISATION
FEED_ALREADY_CONNECTED_IN_DIFFERENT_ORGANISATION -
BANK_FEED_NOT_FOUND
BANK_FEED_NOT_FOUND -
INVALID_COUNTRY_SPECIFIED
INVALID_COUNTRY_SPECIFIED -
INVALID_ORGANISATION_BANK_FEEDS
INVALID_ORGANISATION_BANK_FEEDS -
INVALID_ORGANISATION_MULTI_CURRENCY
INVALID_ORGANISATION_MULTI_CURRENCY -
INVALID_FEED_CONNECTION_FOR_ORGANISATION
INVALID_FEED_CONNECTION_FOR_ORGANISATION -
INVALID_USER_ROLE
INVALID_USER_ROLE -
ACCOUNT_NOT_VALID
ACCOUNT_NOT_VALID -
FEED_NOT_FOUND_OR_ALREADY_DELETED
FEED_NOT_FOUND_OR_ALREADY_DELETED
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getValue
-
toString
toString- Overrides:
toStringin classEnum<Error.TypeEnum>- Returns:
- String value
-
fromValue
-