public interface PolicyRequest extends Request<Policy>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProductType()
Fetches the productType associated with this request (eg.
|
java.time.ZonedDateTime |
getRequestDateTime()
Fetches the request time.
|
<T> T |
getRequestType()
Fetches the type of the request
For
SubscribeNotificationRequest , supported types are SUBSCRIBE & UNSUBSCRIBE
For SpendingLimitReportRequest and PolicySessionRequest , supported types are INITIAL, UPDATE & TERMINATE |
java.lang.String |
getSessionId()
Fetches the session id associated with the SLR Request.
|
boolean |
getTraced()
get the subscriber trace flag
|
java.lang.String |
getUserIdentity()
Fetches the external user identity associated with this request.
|
void |
setProductType(java.lang.String productType)
Sets the productType associated with this request (eg.
|
void |
setRequestDateTime(java.time.ZonedDateTime dateTime)
Sets the request time.
|
void |
setTraced(boolean traced)
Set the subscriber trace flag
|
getOperation, getPayload, getStatus
<T> T getRequestType()
SubscribeNotificationRequest
, supported types are SUBSCRIBE & UNSUBSCRIBE
SpendingLimitReportRequest
and PolicySessionRequest
, supported types are INITIAL, UPDATE & TERMINATEjava.lang.String getUserIdentity()
Diameter AVP Name : Subscription-Id -> Subscription-Id-Data / Public-Identity
java.lang.String getProductType()
Diameter AVP Name : Service-Indication
java.time.ZonedDateTime getRequestDateTime()
java.lang.String getSessionId()
Diameter AVP Name : Session-Id
void setTraced(boolean traced)
boolean getTraced()
void setRequestDateTime(java.time.ZonedDateTime dateTime)
void setProductType(java.lang.String productType)
Diameter AVP Name : Service-Indication sets The product type - meant for Sy Pre OCS extension