|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<AcquisitionException.AcquisitionExceptionReason>
com.highdeal.pnr.hci.AcquisitionException.AcquisitionExceptionReason
public static enum AcquisitionException.AcquisitionExceptionReason
This enumeration defines the possible reasons for the failure of a direct acquisition operation of chargeable items.
Consider the Constant Detail section for more information about:
| Enum Constant Summary | |
|---|---|
ACCESS_NOT_FOUND
4: Error when the service identifier (SID), user service identifier (USID), and consumption date specified in the operation request, do not correspond to an existing access data in customer master data of the service provider. |
|
ACQUISITION_NOT_ALLOWED
7: Error when the acquisition operation request is not allowed. |
|
COMMUNICATION_FAILURE
0: Error when a communication failure occurred during the acquisition of the chargeable item. |
|
EXPORT_FAILURE
6: Error when the chargeable item could not be exported. |
|
INVALID_ACCESS
2: Error when one of the access information subelements specified in the operation request (service identifier (SID), user service-identifier (USID), or consumption date) is empty. |
|
INVALID_CHARGEABLE_ITEM
3: Error when the chargeable item to acquire is not specified in the operation request or its name is empty. |
|
SERVER_FAILURE
1: Error when an unexpected error occurred during the acquisition of the chargeable item. |
|
TARGET_NOT_FOUND
5: Error when the provider contract (or subscription) targeted by the access cannot be found in customer master data of the service provider. |
|
| Method Summary | |
|---|---|
int |
getNumericCode()
Gets the numeric code of the exception reason. |
java.lang.String |
getStringCode()
Gets the string code of the exception reason. |
static AcquisitionException.AcquisitionExceptionReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AcquisitionException.AcquisitionExceptionReason[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AcquisitionException.AcquisitionExceptionReason COMMUNICATION_FAILURE
Design your implementation.
public static final AcquisitionException.AcquisitionExceptionReason SERVER_FAILURE
Design your implementation.
public static final AcquisitionException.AcquisitionExceptionReason INVALID_ACCESS
Design your implementation.
public static final AcquisitionException.AcquisitionExceptionReason INVALID_CHARGEABLE_ITEM
public static final AcquisitionException.AcquisitionExceptionReason ACCESS_NOT_FOUND
public static final AcquisitionException.AcquisitionExceptionReason TARGET_NOT_FOUND
public static final AcquisitionException.AcquisitionExceptionReason EXPORT_FAILURE
public static final AcquisitionException.AcquisitionExceptionReason ACQUISITION_NOT_ALLOWED
| Method Detail |
|---|
public static AcquisitionException.AcquisitionExceptionReason[] values()
for (AcquisitionException.AcquisitionExceptionReason c : AcquisitionException.AcquisitionExceptionReason.values()) System.out.println(c);
public static AcquisitionException.AcquisitionExceptionReason 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 name
java.lang.NullPointerException - if the argument is nullpublic int getNumericCode()
public java.lang.String getStringCode()
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||