Interface UserDataResponse
- All Superinterfaces:
QueryResponse
,Response<Query>
,Serializable
Class defining the UserData response structure.
UserDataResponse is the response generated by ECE for UserDataRequest
It contains preference values for input preference names
Implementation of User-Data-Answer as specified in 3GPP TS 29.329
Diameter command Code : 306
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Class defining Products preferences.Nested classes/interfaces inherited from interface oracle.communication.brm.charging.messages.query.QueryResponse
QueryResponse.Status
-
Method Summary
Modifier and TypeMethodDescriptionFetches the common preferences which are applicable for all the products of the customer Eg.oracle.communication.brm.charging.customer.Customer
Used for fetching the customer as part of user data responseFetches the customer extended information map with extended info as key and the result as value Eg.Fetches the customer id Eg. 650001Fetches the product extended information map with product type as key and extended info map as value with extended info as key and the result as value Eg.Fetches the product preferences with productType as key Eg.Fetches the collection of unsupported preferences.Methods inherited from interface oracle.communication.brm.charging.messages.query.QueryResponse
getStatus
Methods inherited from interface oracle.communication.brm.charging.messages.framework.Response
getOperation
-
Method Details
-
getCustomerId
String getCustomerId()Fetches the customer id- Eg. 650001
- Returns:
- customer id
-
getCommonPreferences
Fetches the common preferences which are applicable for all the products of the customer- Eg. [Language:English]
Diameter AVP Name : User-Data
- Returns:
- common preferences;
- Eg. [Language:English]
-
getProductPreferences
Map<String,UserDataResponse.ProductPreference> getProductPreferences()Fetches the product preferences with productType as key- Eg. [DATA:
UserDataResponse.ProductPreference
]Diameter AVP Name : User-Data
- Returns:
- Map of product preferences
- Eg. [DATA:
-
getUnsupportedPreferences
Collection<String> getUnsupportedPreferences()Fetches the collection of unsupported preferences.- There are the preference names that are not configured for the specified product/customer
- Eg. [InvalidPref]
- Returns:
- a collection of invalid preferences
-
getCustomerExtendedInfo
Fetches the customer extended information map with extended info as key and the result as value- Eg. [ratingProfileCorporate: [18000001, 1800002]]
- Returns:
- map of customer extended information
-
getProductExtendedInfo
Fetches the product extended information map with product type as key and extended info map as value with extended info as key and the result as value- Eg. [DATA: [lifeCycleStateName: ACTIVE, ratingProfileFriends: [9886001, 9886002]], VOICE: [lifeCycleStateName: PREACTIVE]]
- Returns:
- map of product extended information
-
getCustomer
oracle.communication.brm.charging.customer.Customer getCustomer()Used for fetching the customer as part of user data response- Returns:
- @
Customer
.
-