Interface LocalizedNamedValue

All Superinterfaces:
NamedValue
All Known Implementing Classes:
LocalizedNamedValueImpl

public interface LocalizedNamedValue extends NamedValue
A derive of the NamedValue which contains values with names/descriptions that are translatable
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the current instance description in the requested Locale

    Methods inherited from interface com.sportradar.unifiedodds.sdk.entities.NamedValue

    getDescription, getId
  • Method Details

    • getDescription

      String getDescription(Locale locale)
      Returns the current instance description in the requested Locale
      Parameters:
      locale - - the Locale in which the description should be provided
      Returns:
      - the current instance description in the requested Locale if available; otherwise null