Interface ExtensionRatingProfileValue


public interface ExtensionRatingProfileValue
Provides a mechanism to hold customizable profile attributes that are not the first class citizens and can be extended and customized with rating rules specific attributes.
Since:
11.2.0.0
  • Method Details

    • getName

      String getName()
      Gets the profile name
      Returns:
      name associated with the profile value
    • getValue

      Object getValue()
      Returns the value of a given type. All the profile data for a given RatingProfile are to be of the same type, for example if the RatingProfile is friends-n-family then its profile data could be all Phone numbers represented as Strings. Following types are currently supported:
    • java.lang.String
    • java.lang.Long
    • java.lang.Integer
    • java.time.LocalDate
    • At present we have Object to represent the value of the RatingProfileData to accommodate all the above types.
      Returns:
      the profile value which can be any type representing as above
    • getValidityFromTime

      ZonedDateTime getValidityFromTime()
      Method returns the start time of profile validity
      Returns:
      the start time of profile validity
    • getValidityToTime

      ZonedDateTime getValidityToTime()
      Method returns the end time of profile validity
      Returns:
      the end time of profile validity