public static enum MetacoErrorsDefinitions.ErrorType extends Enum<MetacoErrorsDefinitions.ErrorType>
Modifier and Type | Field and Description |
---|---|
String |
parameterName |
Modifier and Type | Method and Description |
---|---|
static MetacoErrorsDefinitions.ErrorType |
fromString(String parameterName) |
String |
getParameterName() |
static MetacoErrorsDefinitions.ErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetacoErrorsDefinitions.ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetacoErrorsDefinitions.ErrorType InvalidInput
public static final MetacoErrorsDefinitions.ErrorType APICallsQuotaExceeded
public static final MetacoErrorsDefinitions.ErrorType SmsSendingFailed
public static final MetacoErrorsDefinitions.ErrorType PhoneConfirmationNotFound
public static final MetacoErrorsDefinitions.ErrorType InvalidConfirmationCode
public static final MetacoErrorsDefinitions.ErrorType OrderNotFound
public static final MetacoErrorsDefinitions.ErrorType NotEnoughFunds
public static final MetacoErrorsDefinitions.ErrorType OrderTooSmall
public static final MetacoErrorsDefinitions.ErrorType OrderCountLimitExceeded
public static final MetacoErrorsDefinitions.ErrorType YearlyTransactionQuotaExceeded
public static final MetacoErrorsDefinitions.ErrorType MaximumTransactionAmountExceeded
public static final MetacoErrorsDefinitions.ErrorType OrderNotCancellable
public static final MetacoErrorsDefinitions.ErrorType Unauthorized
public static final MetacoErrorsDefinitions.ErrorType NotFound
public static final MetacoErrorsDefinitions.ErrorType ServerError
public static final MetacoErrorsDefinitions.ErrorType UnknownError
public String parameterName
public static MetacoErrorsDefinitions.ErrorType[] values()
for (MetacoErrorsDefinitions.ErrorType c : MetacoErrorsDefinitions.ErrorType.values()) System.out.println(c);
public static MetacoErrorsDefinitions.ErrorType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getParameterName()
public static MetacoErrorsDefinitions.ErrorType fromString(String parameterName)
Copyright © 2016 Metaco. All rights reserved.