public enum CustomerErrorReason extends Enum<CustomerErrorReason>
Java class for CustomerError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CustomerError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="INVALID_SERVICE_LINK"/>
<enumeration value="INVALID_STATUS"/>
<enumeration value="ACCOUNT_NOT_SET_UP"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ACCOUNT_NOT_SET_UP
CustomerService cannot
get an account that is not fully set up. |
INVALID_SERVICE_LINK
Referenced service link does not exist
|
INVALID_STATUS
An
ACTIVE link cannot be made PENDING |
| Modifier and Type | Method and Description |
|---|---|
static CustomerErrorReason |
fromValue(String v) |
String |
value() |
static CustomerErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomerErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomerErrorReason INVALID_SERVICE_LINK
public static final CustomerErrorReason INVALID_STATUS
ACTIVE link cannot be made PENDINGpublic static final CustomerErrorReason ACCOUNT_NOT_SET_UP
get an account that is not fully set up.public static CustomerErrorReason[] values()
for (CustomerErrorReason c : CustomerErrorReason.values()) System.out.println(c);
public static CustomerErrorReason 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 value()
public static CustomerErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.