java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.entities.VenueImpl
All Implemented Interfaces:
Venue

public class VenueImpl extends Object implements Venue
Represents a sport event venue
  • Method Details

    • getId

      public Urn getId()
      Returns a unique Urn identifier representing the current Venue instance
      Specified by:
      getId in interface Venue
      Returns:
      - a unique Urn identifier representing the current Venue instance
    • getName

      public String getName(Locale locale)
      Returns the name of the venue in the specified language
      Specified by:
      getName in interface Venue
      Parameters:
      locale - - a Locale specifying the language of the returned venue name
      Returns:
      - the name of the venue in the specified language
    • getCity

      public String getCity(Locale locale)
      Returns the city name in the specified language
      Specified by:
      getCity in interface Venue
      Parameters:
      locale - - a Locale specifying the language of the returned city name
      Returns:
      - the city name in the specified language
    • getCountry

      public String getCountry(Locale locale)
      Returns the country name in the specified language
      Specified by:
      getCountry in interface Venue
      Parameters:
      locale - - a Locale specifying the language of the returned country name
      Returns:
      - the country name in the specified language
    • getNames

      public Map<Locale,String> getNames()
      Returns an unmodifiable Map containing venue's names in different languages
      Specified by:
      getNames in interface Venue
      Returns:
      - an unmodifiable Map containing venue's names in different languages
    • getCities

      public Map<Locale,String> getCities()
      Returns an unmodifiable Map containing venue's city names in different languages
      Specified by:
      getCities in interface Venue
      Returns:
      - an unmodifiable Map containing venue's city names in different languages
    • getCountries

      public Map<Locale,String> getCountries()
      Returns an unmodifiable Map containing venue's country names in different languages
      Specified by:
      getCountries in interface Venue
      Returns:
      - an unmodifiable Map containing venue's country names in different languages
    • getCapacity

      public Integer getCapacity()
      Returns the capacity of the venue associated with current Venue instance
      Specified by:
      getCapacity in interface Venue
      Returns:
      - the capacity of the venue, or a null if the capacity is not specified
    • getCoordinates

      public String getCoordinates()
      Returns the map coordinates specifying the exact location of the venue represented by current Venue
      Specified by:
      getCoordinates in interface Venue
      Returns:
      - the map coordinates specifying the exact location of the venue
    • getCountryCode

      public String getCountryCode()
      Returns the associated country code
      Specified by:
      getCountryCode in interface Venue
      Returns:
      the associated country code
    • getState

      public String getState()
      Description copied from interface: Venue
      Returns state/province of the country
      Specified by:
      getState in interface Venue
      Returns:
      state
    • getCourses

      public List<Course> getCourses()
      Description copied from interface: Venue
      Gets the list of the course holes
      Specified by:
      getCourses in interface Venue
      Returns:
      the list of the course holes
    • toString

      public String toString()
      Returns a String describing the current Venue instance
      Overrides:
      toString in class Object
      Returns:
      - a String describing the current Venue instance