public enum ManagedCustomerServiceErrorReason extends Enum<ManagedCustomerServiceErrorReason>
Java class for ManagedCustomerServiceError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ManagedCustomerServiceError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="UNKNOWN"/>
<enumeration value="NOT_AUTHORIZED"/>
<enumeration value="INVALID_SELECTOR"/>
<enumeration value="INVALID_TIMEZONE"/>
<enumeration value="INVALID_CURRENCY"/>
<enumeration value="INVALID_DESCRIPTIVE_NAME"/>
<enumeration value="ADD_CUSTOMER_FAILURE"/>
<enumeration value="SAVE_CUSTOMERS_FAILURE"/>
<enumeration value="ALREADY_MANAGED_BY_THIS_MANAGER"/>
<enumeration value="ALREADY_INVITED_BY_THIS_MANAGER"/>
<enumeration value="ALREADY_MANAGED_IN_HIERARCHY"/>
<enumeration value="ALREADY_MANAGED_FOR_UI_ACCESS"/>
<enumeration value="MAX_LINK_DEPTH_EXCEEDED"/>
<enumeration value="NO_PENDING_INVITATION"/>
<enumeration value="TOO_MANY_ACCOUNTS"/>
<enumeration value="TOO_MANY_ACCOUNTS_AT_MANAGER"/>
<enumeration value="TOO_MANY_UI_API_MANAGERS"/>
<enumeration value="TEST_ACCOUNT_LINK_ERROR"/>
<enumeration value="INVALID_LABEL_ID"/>
<enumeration value="CANNOT_APPLY_INACTIVE_LABEL"/>
<enumeration value="APPLIED_LABEL_TO_TOO_MANY_ACCOUNTS"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ADD_CUSTOMER_FAILURE
Generic error during add customer process.
|
ALREADY_INVITED_BY_THIS_MANAGER
Attempt to invite a client that has already been invited by the manager.
|
ALREADY_MANAGED_BY_THIS_MANAGER
Attempt to establish a link with a client that is already managed by the manager.
|
ALREADY_MANAGED_FOR_UI_ACCESS
Client is managed by another manager for UI access already.
|
ALREADY_MANAGED_IN_HIERARCHY
Already managed by some other manager in the hierarchy.
|
APPLIED_LABEL_TO_TOO_MANY_ACCOUNTS
A label cannot be applied to more than 1000 customers.
|
CANNOT_APPLY_INACTIVE_LABEL
Deleted labels cannot be applied to customers.
|
INVALID_CURRENCY
Can't process the passed in currency code.
|
INVALID_DESCRIPTIVE_NAME
Can't process the passed in descriptive name.
|
INVALID_LABEL_ID
Label id was not found, or is not owned by the requesting customer.
|
INVALID_SELECTOR
Invalid selector
|
INVALID_TIMEZONE
Can't process the passed in timezone.
|
MAX_LINK_DEPTH_EXCEEDED
Attempt to exceed the maximum hierarchy depth.
|
NO_PENDING_INVITATION
Attempt to accept an invitation that doesn't exist.
|
NOT_AUTHORIZED
The user is not authorized to perform the action.
|
SAVE_CUSTOMERS_FAILURE
There was a problem saving the modified customers, and some of the customers may not
have been saved successfully.
|
TEST_ACCOUNT_LINK_ERROR
Error involving test accounts (mixed types) or too many child accounts.
|
TOO_MANY_ACCOUNTS
Manager account has the maximum number of linked accounts.
|
TOO_MANY_ACCOUNTS_AT_MANAGER
Your manager's account has the maximum number of linked accounts.
|
TOO_MANY_UI_API_MANAGERS
The invitee has already linked with max allowed number of UI and API managers.
|
UNKNOWN
Unknown.
|
| Modifier and Type | Method and Description |
|---|---|
static ManagedCustomerServiceErrorReason |
fromValue(String v) |
String |
value() |
static ManagedCustomerServiceErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ManagedCustomerServiceErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ManagedCustomerServiceErrorReason UNKNOWN
public static final ManagedCustomerServiceErrorReason NOT_AUTHORIZED
public static final ManagedCustomerServiceErrorReason INVALID_SELECTOR
public static final ManagedCustomerServiceErrorReason INVALID_TIMEZONE
public static final ManagedCustomerServiceErrorReason INVALID_CURRENCY
public static final ManagedCustomerServiceErrorReason INVALID_DESCRIPTIVE_NAME
public static final ManagedCustomerServiceErrorReason ADD_CUSTOMER_FAILURE
public static final ManagedCustomerServiceErrorReason SAVE_CUSTOMERS_FAILURE
public static final ManagedCustomerServiceErrorReason ALREADY_MANAGED_BY_THIS_MANAGER
public static final ManagedCustomerServiceErrorReason ALREADY_INVITED_BY_THIS_MANAGER
public static final ManagedCustomerServiceErrorReason ALREADY_MANAGED_IN_HIERARCHY
public static final ManagedCustomerServiceErrorReason ALREADY_MANAGED_FOR_UI_ACCESS
public static final ManagedCustomerServiceErrorReason MAX_LINK_DEPTH_EXCEEDED
public static final ManagedCustomerServiceErrorReason NO_PENDING_INVITATION
public static final ManagedCustomerServiceErrorReason TOO_MANY_ACCOUNTS
public static final ManagedCustomerServiceErrorReason TOO_MANY_ACCOUNTS_AT_MANAGER
public static final ManagedCustomerServiceErrorReason TOO_MANY_UI_API_MANAGERS
public static final ManagedCustomerServiceErrorReason TEST_ACCOUNT_LINK_ERROR
public static final ManagedCustomerServiceErrorReason INVALID_LABEL_ID
public static final ManagedCustomerServiceErrorReason CANNOT_APPLY_INACTIVE_LABEL
public static final ManagedCustomerServiceErrorReason APPLIED_LABEL_TO_TOO_MANY_ACCOUNTS
public static ManagedCustomerServiceErrorReason[] values()
for (ManagedCustomerServiceErrorReason c : ManagedCustomerServiceErrorReason.values()) System.out.println(c);
public static ManagedCustomerServiceErrorReason 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 ManagedCustomerServiceErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.