Interface SubscribeNotificationResponse

All Superinterfaces:
PolicyResponse, Response<Policy>, Serializable
All Known Subinterfaces:
PolicySessionResponse

public interface SubscribeNotificationResponse extends PolicyResponse
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

  • 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
    • getCommonPreferences

      Map<String,String> 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

      Fetches product specific preferences SubscribeNotificationResponse.ProductPreference with product type as the key. Eg. DATA

      Diameter 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