Class BookingManagerImpl

java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.BookingManagerImpl
All Implemented Interfaces:
BookingManager

public class BookingManagerImpl extends Object implements BookingManager
The basic implementation of the BookingManager
  • Method Details

    • bookLiveOddsEvent

      public boolean bookLiveOddsEvent(Urn eventId) throws CommunicationException
      Performs a request on the API which books the event associated with the provided Urn identifier
      Specified by:
      bookLiveOddsEvent in interface BookingManager
      Parameters:
      eventId - the Urn identifier of the event which needs to be booked
      Returns:
      true if the booking was successful; otherwise false
      Throws:
      CommunicationException