public static enum ISessionOperationItemResult.SessionOperationItemResultType extends java.lang.Enum<ISessionOperationItemResult.SessionOperationItemResultType>
ISessionOperationItemResult.| Enum Constant and Description |
|---|
START
Start event.
|
STOP
Stop event.
|
UPDATE
Update event.
|
| Modifier and Type | Method and Description |
|---|---|
static ISessionOperationItemResult.SessionOperationItemResultType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ISessionOperationItemResult.SessionOperationItemResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ISessionOperationItemResult.SessionOperationItemResultType START
ISessionReservation.prepareReserve(String, ChargeableItem, com.highdeal.cnd.message.ISessionReservation.SessionReservationResolution, long, String) is called.
If event indicates a successful status then the result is provided by ISessionOperationItemResult.getStartRateResult().
If event indicates an erroneous status then the exception is provided by ISessionOperationItemResult.throwStartRateError().public static final ISessionOperationItemResult.SessionOperationItemResultType UPDATE
ISessionConfirmAndReserve.prepareConfirmAndReserve(String, ChargeableItem, ChargeableItem) is called.
If event indicates a successful status then the result is provided by ISessionOperationItemResult.getUpdateRateResult().
If event indicates an erroneous status then the exception is provided by ISessionOperationItemResult.throwUpdateRateError().
A StopRateResult is available in addition to the exception to
determine either confirmation or reservation has failed.public static final ISessionOperationItemResult.SessionOperationItemResultType STOP
ISessionConfirmation.prepareConfirm(String, ChargeableItem) or ISessionConfirmation.prepareCancel(String) is called.
If event indicates a successful status then the result is provided by ISessionOperationItemResult.getStopRateResult().
If event indicates an erroneous status then the exception is provided by ISessionOperationItemResult.throwStopRateError().public static ISessionOperationItemResult.SessionOperationItemResultType[] values()
for (ISessionOperationItemResult.SessionOperationItemResultType c : ISessionOperationItemResult.SessionOperationItemResultType.values()) System.out.println(c);
public static ISessionOperationItemResult.SessionOperationItemResultType 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 null