Interface CompetitionCi

All Superinterfaces:
CacheItem, SportEventCi
All Known Subinterfaces:
MatchCi, StageCi

public interface CompetitionCi extends SportEventCi
Defines methods used to access competition type data
  • Method Details

    • getBookingStatus

      BookingStatus getBookingStatus()
      Returns a BookingStatus enum member providing booking status of the current instance
      Returns:
      a BookingStatus enum member providing booking status of the current instance
    • getCompetitorIds

      List<Urn> getCompetitorIds(List<Locale> locales)
      Returns a List of competitor identifiers that participate in the sport event associated with the current instance
      Parameters:
      locales - a List of Locale in which the competitor data should be provided
      Returns:
      a List of competitor identifiers that participate in the sport event associated with the current instance
    • getVenue

      VenueCi getVenue(List<Locale> locales)
      Returns a VenueCi instance representing a venue where the sport event associated with the current instance will take place
      Parameters:
      locales - a List of Locale specifying the languages to which the returned instance should be translated
      Returns:
      a VenueCi instance representing a venue where the associated sport event
    • getConditions

      SportEventConditionsCi getConditions(List<Locale> locales)
      Returns a SportEventConditionsCi instance representing live conditions of the sport event associated with the current instance
      Parameters:
      locales - a List of Locale specifying the languages to which the returned instance should be translated
      Returns:
      a SportEventConditionsCi instance representing live conditions of the sport event associated with the current instance
    • fetchSportEventStatus

      void fetchSportEventStatus()
      Fetch a SportEventStatusDto via event summary
    • onEventBooked

      void onEventBooked()
      Method that gets triggered when the associated event gets booked through the BookingManager
    • getCompetitorsReferences

      Map<Urn,ReferenceIdCi> getCompetitorsReferences()
      Returns list of Urn of Competitor and associated Reference for this sport event
      Returns:
      list of Urn of Competitor and associated Reference for this sport event
    • getLiveOdds

      String getLiveOdds(List<Locale> locales)
      Returns the liveOdds
      Parameters:
      locales - the Locales in which the data should be provided
      Returns:
      the liveOdds
    • getSportEventType

      SportEventType getSportEventType(List<Locale> locales)
      Returns a SportEventType indicating the type of the associated event
      Parameters:
      locales - the Locales in which the data should be provided
      Returns:
      a SportEventType indicating the type of the associated event