Class CashOutProbabilitiesManagerImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.CashOutProbabilitiesManagerImpl
- All Implemented Interfaces:
CashOutProbabilitiesManager
Implements methods used to access sport event/market probabilities
-
Method Summary
Modifier and TypeMethodDescription<T extends SportEvent>
CashOutProbabilities<T>getCashOutProbabilities(Urn eventId) Returns aCashOutProbabilitiesinstance providing the CashOut probabilities for the specified event (the provided data is translated in the default language)<T extends SportEvent>
CashOutProbabilities<T>getCashOutProbabilities(Urn eventId, int marketId, Map<String, String> specifiers) Returns aCashOutProbabilitiesinstance providing the CashOut probabilities for the specified market on the associated event (the provided data is translated in the default language)<T extends SportEvent>
CashOutProbabilities<T>Returns aCashOutProbabilitiesinstance providing the CashOut probabilities for the specified market on the associated event<T extends SportEvent>
CashOutProbabilities<T>getCashOutProbabilities(Urn eventId, Locale locale) Returns aCashOutProbabilitiesinstance providing the CashOut probabilities for the specified event
-
Method Details
-
getCashOutProbabilities
Returns aCashOutProbabilitiesinstance providing the CashOut probabilities for the specified event (the provided data is translated in the default language)- Specified by:
getCashOutProbabilitiesin interfaceCashOutProbabilitiesManager- Type Parameters:
T- a SportEvent inherited instance- Parameters:
eventId- theUrnidentifier of the event- Returns:
- a
CashOutProbabilitiesproviding the probabilities of the associated event
-
getCashOutProbabilities
public <T extends SportEvent> CashOutProbabilities<T> getCashOutProbabilities(Urn eventId, Locale locale) Returns aCashOutProbabilitiesinstance providing the CashOut probabilities for the specified event- Specified by:
getCashOutProbabilitiesin interfaceCashOutProbabilitiesManager- Type Parameters:
T- a SportEvent inherited instance- Parameters:
eventId- theUrnidentifier of the eventlocale- theLocalein which to provide the data- Returns:
- a
CashOutProbabilitiesproviding the probabilities of the associated event
-
getCashOutProbabilities
public <T extends SportEvent> CashOutProbabilities<T> getCashOutProbabilities(Urn eventId, int marketId, Map<String, String> specifiers) Returns aCashOutProbabilitiesinstance providing the CashOut probabilities for the specified market on the associated event (the provided data is translated in the default language)- Specified by:
getCashOutProbabilitiesin interfaceCashOutProbabilitiesManager- Type Parameters:
T- a SportEvent inherited instance- Parameters:
eventId- theUrnidentifier of the eventmarketId- the market identifierspecifiers- aMapcontaining market specifiers or a null reference if market has no specifiers- Returns:
- a
CashOutProbabilitiesproviding the probabilities of the associated event/market combination
-
getCashOutProbabilities
public <T extends SportEvent> CashOutProbabilities<T> getCashOutProbabilities(Urn eventId, int marketId, Map<String, String> specifiers, Locale locale) Returns aCashOutProbabilitiesinstance providing the CashOut probabilities for the specified market on the associated event- Specified by:
getCashOutProbabilitiesin interfaceCashOutProbabilitiesManager- Type Parameters:
T- a SportEvent inherited instance- Parameters:
eventId- theUrnidentifier of the eventmarketId- the market identifierspecifiers- aMapcontaining market specifiers or a null reference if market has no specifierslocale- theLocalein which to provide the data- Returns:
- a
CashOutProbabilitiesproviding the probabilities of the associated event/market combination
-