Interface PolicyRequest
- All Superinterfaces:
Request<Policy>
,Serializable
,TemporalObject
- All Known Subinterfaces:
PolicySessionRequest
,SpendingLimitReportRequest
,SubscribeNotificationRequest
Base Interface for all types of Policy requests.
-
Method Summary
Modifier and TypeMethodDescriptionFetches the productType associated with this request (eg.Fetches the request time.<T> T
Fetches the type of the request ForSubscribeNotificationRequest
, supported types are SUBSCRIBE invalid input: '&' UNSUBSCRIBE ForSpendingLimitReportRequest
andPolicySessionRequest
, supported types are INITIAL, UPDATE invalid input: '&' TERMINATEFetches the session id associated with the SLR Request.boolean
get the subscriber trace flagFetches the external user identity associated with this request.void
setProductType
(String productType) Sets the productType associated with this request (eg.void
setRequestDateTime
(ZonedDateTime dateTime) Sets the request time.void
setTraced
(boolean traced) Set the subscriber trace flagMethods inherited from interface oracle.communication.brm.charging.messages.framework.Request
getOperation, getPayload, getStatus
Methods inherited from interface oracle.communication.brm.charging.messages.framework.TemporalObject
getCreationInstant
-
Method Details
-
getRequestType
<T> T getRequestType()Fetches the type of the request- For
SubscribeNotificationRequest
, supported types are SUBSCRIBE invalid input: '&' UNSUBSCRIBE- For
SpendingLimitReportRequest
andPolicySessionRequest
, supported types are INITIAL, UPDATE invalid input: '&' TERMINATE- Returns:
- RequestType
- For
-
getUserIdentity
String getUserIdentity()Fetches the external user identity associated with this request.- For a voice request this could be a telephone number (eg. 14081234567).
Diameter AVP Name : Subscription-Id -> Subscription-Id-Data / Public-Identity
- Returns:
- The user identify
- For a voice request this could be a telephone number (eg. 14081234567).
-
getProductType
String getProductType()Fetches the productType associated with this request (eg. VOICE)Diameter AVP Name : Service-Indication
- Returns:
- The product type
-
getRequestDateTime
ZonedDateTime getRequestDateTime()Fetches the request time. (eg. 2013-11-01T00:01:00)- Returns:
- The time of the request.
-
getSessionId
String getSessionId()Fetches the session id associated with the SLR Request.- This unique session Id should be same for all INITIAL, UPDATE and TERMINATE requests for a single ongoing Sy session.
- Eg. SESSION-001
Diameter AVP Name : Session-Id
- Returns:
- the sessionId
-
setTraced
void setTraced(boolean traced) Set the subscriber trace flag -
getTraced
boolean getTraced()get the subscriber trace flag- Returns:
- true if the subscriber request is to be traced or false
-
setRequestDateTime
Sets the request time. (eg. 2013-11-01T00:01:00) sets The time of the request - meant for Sy Pre OCS extension -
setProductType
Sets the productType associated with this request (eg. VOICE)Diameter AVP Name : Service-Indication sets The product type - meant for Sy Pre OCS extension
-