|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.cnd.message.SessionOperationItemResult
public class SessionOperationItemResult
This class defines the result of a session-based charging operation. This result can be a success or a failure.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.highdeal.pnr.hci.ISessionOperationItemResult |
|---|
ISessionOperationItemResult.SessionOperationItemResultStatus, ISessionOperationItemResult.SessionOperationItemResultType |
| Method Summary | |
|---|---|
ISessionOperationItemResult.SessionOperationItemResultType |
getResultType()
Returns the type of this result. |
StartRateResult |
getStartRateResult()
Returns the embedded start rate result, if available. |
StopRateResult |
getStopRateResult()
Returns the embedded stop rate result, if available. |
UpdateRateResult |
getUpdateRateResult()
Returns the embedded update rate result, if available. |
boolean |
isError()
Indicates if this result is an erroneous return. |
boolean |
isReturn()
Indicates if this result is a successful return. |
void |
setStopRateResult(StopRateResult stopRateResult)
Sets the embedded stop rate result, if available. |
void |
throwStartRateError()
Throws exception that must be caught when the result is erroneous and is of type ISessionOperationItemResult.SessionOperationItemResultType.START. |
void |
throwStopRateError()
Throws exception that must be caught when the result is erroneous and is of type ISessionOperationItemResult.SessionOperationItemResultType.STOP. |
void |
throwUpdateRateError()
Throws exception that must be caught when the result is erroneous and is of type ISessionOperationItemResult.SessionOperationItemResultType.UPDATE. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public final boolean isReturn()
result is a successful return.
isReturn in interface ISessionOperationItemResultisError()public final boolean isError()
result is an erroneous return.
isError in interface ISessionOperationItemResultisReturn()public final ISessionOperationItemResult.SessionOperationItemResultType getResultType()
result.
getResultType in interface ISessionOperationItemResultISessionOperationItemResult.SessionOperationItemResultTypepublic final StartRateResult getStartRateResult()
start rate result, if available.
getStartRateResult in interface ISessionOperationItemResultpublic final StopRateResult getStopRateResult()
stop rate result, if available.
getStopRateResult in interface ISessionOperationItemResultpublic final void setStopRateResult(StopRateResult stopRateResult)
stop rate result, if available.
stopRateResult - the embedded stop rate result, or null.public final UpdateRateResult getUpdateRateResult()
update rate result, if available.
getUpdateRateResult in interface ISessionOperationItemResult
public final void throwStartRateError()
throws StartRateException,
InvalidItemException,
ForbiddenChargeException,
ServerFailureException,
TransactionClearingException,
CommunicationFailureException
ISessionOperationItemResult.SessionOperationItemResultType.START.
throwStartRateError in interface ISessionOperationItemResultStartRateException - thrown if the cause of this erroneous result is a start rate exception
InvalidItemException - thrown if the cause of this erroneous result is an invalid item exception
ForbiddenChargeException - thrown if the cause of this erroneous result is a forbidden charge exception
ServerFailureException - thrown if the cause of this erroneous result is a server failure exception
TransactionClearingException - thrown if the cause of this erroneous result is a transaction clearing exception
CommunicationFailureException - thrown if the cause of this erroneous result is a communication failure exception
public final void throwStopRateError()
throws StopRateException,
InvalidItemException,
ForbiddenChargeException,
ServerFailureException,
TransactionClearingException,
CommunicationFailureException
ISessionOperationItemResult.SessionOperationItemResultType.STOP.
throwStopRateError in interface ISessionOperationItemResultStopRateException - thrown if the cause of this erroneous result is a stop rate exception
InvalidItemException - thrown if the cause of this erroneous result is an invalid item exception
ForbiddenChargeException - thrown if the cause of this erroneous result is a forbidden charge exception
ServerFailureException - thrown if the cause of this erroneous result is a server failure exception
TransactionClearingException - thrown if the cause of this erroneous result is a transaction clearing exception
CommunicationFailureException - thrown if the cause of this erroneous result is a communication failure exception
public final void throwUpdateRateError()
throws UpdateRateException,
InvalidItemException,
ForbiddenChargeException,
ServerFailureException,
TransactionClearingException,
CommunicationFailureException
ISessionOperationItemResult.SessionOperationItemResultType.UPDATE.
throwUpdateRateError in interface ISessionOperationItemResultUpdateRateException - thrown if the cause of this erroneous result is a update rate exception
InvalidItemException - thrown if the cause of this erroneous result is an invalid item exception
ForbiddenChargeException - thrown if the cause of this erroneous result is a forbidden charge exception
ServerFailureException - thrown if the cause of this erroneous result is a server failure exception
TransactionClearingException - thrown if the cause of this erroneous result is a transaction clearing exception
CommunicationFailureException - thrown if the cause of this erroneous result is a communication failure exception
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||