Interface SubscribeNotificationResponse
- All Superinterfaces:
PolicyResponse
,Response<Policy>
,Serializable
- All Known Subinterfaces:
PolicySessionResponse
Class defining the SubscribeNotification response structure.
SubscribeNotificationResponse is the response generated by ECE for SubscribeNotificationRequest
SubscribeNotificationResponse contains preference values for input preference names
Implementation of Subscribe-Notifications-Answer as specified in 3GPP TS 29.329
Diameter command Code : 308
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Class containing product id and collection of product specific preferencesNested classes/interfaces inherited from interface oracle.communication.brm.charging.messages.policy.PolicyResponse
PolicyResponse.ReasonCode, PolicyResponse.Status
-
Method Summary
Modifier and TypeMethodDescriptionFetches the common preferences.Confirmation of time when subscription expire.Fetches product specific preferencesSubscribeNotificationResponse.ProductPreference
with product type as the key.Fetches a list of UnsupportedPreferences.Methods inherited from interface oracle.communication.brm.charging.messages.policy.PolicyResponse
getCustomerId, getReasonCodes, getRequestType, getStatus, setReasonCodes, setStatus
Methods inherited from interface oracle.communication.brm.charging.messages.framework.Response
getOperation
-
Method Details
-
getUnsupportedPreferences
Collection<String> getUnsupportedPreferences()Fetches a list of UnsupportedPreferences. These are preferences in request that are not supported or invalid- Eg. [Country, InvalidPref]
Diameter AVP Name : Failed-AVP- Returns:
- a collection of invalid preferences names that were not subscribed
- Eg. [Country, InvalidPref]
-
getCommonPreferences
Fetches the common preferences. Preference name as is the key and preference value as value.- Common preferences are set at customer level and applicable for all products of that customer.
- Eg. [Channel:SMS]
Diameter AVP Name : User-Data
- Returns:
- Mapping from preference name to preference value
-
getProductPreferences
Map<String,SubscribeNotificationResponse.ProductPreference> getProductPreferences()Fetches product specific preferencesSubscribeNotificationResponse.ProductPreference
with product type as the key. Eg. DATADiameter AVP Name : User-Data
- Returns:
- Mapping from product type name to
SubscribeNotificationResponse.ProductPreference
-
getExpiryTime
ZonedDateTime getExpiryTime()Confirmation of time when subscription expire. If field is absent, subscription is assumed to be infinite and must be explicitly terminated.Diameter AVP Name: Expiry-Time
- Returns:
- time when subscription expire
-