public enum ReratingStatus extends java.lang.Enum<ReratingStatus>
enumeration lists the rerating statuses.| Enum Constant and Description |
|---|
ALREADY_LOCKED_FAILURE
This status is used to indicate that rerating process has failed for the last rerating operation because
subscription was locked by a concurrent rating process or another previous rerating operation.
|
BART_RESTORATION_FAILURE
Deprecated.
|
BILLING_FAILURE
This status is used to indicate that rerating process has failed due to a billing issue.
|
COUNTER_RESTORATION_FAILURE
This status is used to indicate that subscription counter restoration process has failed for the last rerating
operation.
|
EXPORT_AND_UNLOCK_FAILURE
Deprecated.
|
EXPORT_FAILURE
Deprecated.
|
NOT_LOCKED_FAILURE
This status is used to indicate that rerating process has failed for the last rerating operation because
subscription was not locked but should be.
|
PREPAID_ACCOUNT_FAILURE
This status is used to indicate that rerating process has failed due to a contract with a prepaid account.
|
RERATING_SUCCESS
This status is used to indicate that rerating process was successful for the last rerating operation.
|
RESTORATION_SUCCESS
This status is used to indicate that restoration process was successful for the last rerating operation.
|
SELECTION_SUCCESS
This status is used to indicate that restoration process was successful for the last rerating operation.
|
UNLOCK_FAILURE
This status is used to indicate that rerating process has failed due to a subscription unlock issue.
|
UNSET
This is the unset status (means no status).
|
| Modifier and Type | Method and Description |
|---|---|
static ReratingStatus |
getReratingStatus(int id) |
static ReratingStatus |
getReratingStatus(java.lang.String name) |
int |
getStatusId() |
java.lang.String |
getStatusName() |
static ReratingStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReratingStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReratingStatus UNSET
public static final ReratingStatus ALREADY_LOCKED_FAILURE
public static final ReratingStatus NOT_LOCKED_FAILURE
public static final ReratingStatus COUNTER_RESTORATION_FAILURE
public static final ReratingStatus BILLING_FAILURE
@Deprecated public static final ReratingStatus BART_RESTORATION_FAILURE
@Deprecated public static final ReratingStatus EXPORT_FAILURE
public static final ReratingStatus UNLOCK_FAILURE
@Deprecated public static final ReratingStatus EXPORT_AND_UNLOCK_FAILURE
public static final ReratingStatus PREPAID_ACCOUNT_FAILURE
public static final ReratingStatus SELECTION_SUCCESS
public static final ReratingStatus RESTORATION_SUCCESS
public static final ReratingStatus RERATING_SUCCESS
public static ReratingStatus[] values()
for (ReratingStatus c : ReratingStatus.values()) System.out.println(c);
public static ReratingStatus valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getStatusName()
public int getStatusId()
public static final ReratingStatus getReratingStatus(java.lang.String name)
public static final ReratingStatus getReratingStatus(int id)