com.sportradar.unifiedodds.sdk.BookingManager Maven / Gradle / Ivy
/*
* Copyright (C) Sportradar AG. See LICENSE for full license governing this code
*/
package com.sportradar.unifiedodds.sdk;
import com.sportradar.utils.URN;
/**
* Defines methods used to perform various booking calendar operations
*/
public interface BookingManager {
/**
* Performs a request on the API which books the event associated with the provided {@link URN} identifier
*
* @param eventId the {@link URN} identifier of the event which needs to be booked
* @return true
if the booking was successful; otherwise false
*/
boolean bookLiveOddsEvent(URN eventId);
}