Interface PolicyResponse
- All Superinterfaces:
Response<Policy>
,Serializable
- All Known Subinterfaces:
PolicySessionResponse
,SpendingLimitReportResponse
,SubscribeNotificationResponse
Class which encapsulates the processing status for a PolicyRequest
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Reasons of the response status.static enum
Fetches status of the response. -
Method Summary
Modifier and TypeMethodDescriptionFetches the customer id (eg. 560001)Fetches the reason codes (eg.<T> T
Fetches the type of request processed for the response (eg.Fetches the Policy Response Status (eg.void
setReasonCodes
(Collection<PolicyResponse.ReasonCode> reasonCodes) sets the Reason Codes - meant for Sy Post OCS extensionvoid
setStatus
(PolicyResponse.Status status) sets the status - meant for Sy Post OCS extensionMethods inherited from interface oracle.communication.brm.charging.messages.framework.Response
getOperation
-
Method Details
-
getRequestType
<T> T getRequestType()Fetches the type of request processed for the response (eg. INITIAL)- Returns:
- RequestType
-
getStatus
PolicyResponse.Status getStatus()Fetches the Policy Response Status (eg. SUCCESS)- Returns:
- the status indicating a SUCCESS or FAILURE
-
setStatus
sets the status - meant for Sy Post OCS extension -
getCustomerId
String getCustomerId()Fetches the customer id (eg. 560001)- Returns:
- customer id
-
getReasonCodes
Collection<PolicyResponse.ReasonCode> getReasonCodes()Fetches the reason codes (eg. [INVALID_PREFERENCES, UNKNOWN_SESSION_ID])Diameter AVP Name : Result-Code
- Returns:
- the reasons supporting the response status.
There could be more than one reasons supporting the conditions or events
occurred during the request processing. Eg.
- SYSTEM_ERR (System error.)
-
setReasonCodes
sets the Reason Codes - meant for Sy Post OCS extension
-