Class RecommendationImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.custombetentities.RecommendationImpl
- All Implemented Interfaces:
Recommendation
Implementation of
Recommendation-
Constructor Summary
ConstructorsConstructorDescriptionRecommendationImpl(com.sportradar.uf.custombet.datamodel.CapiRecommendationsType recommendation) -
Method Summary
Modifier and TypeMethodDescriptiondoublegetOdds()Returns the odds for this recommendationdoubleReturns the probability for this recommendationReturns the list of selections for this recommendation
-
Constructor Details
-
RecommendationImpl
public RecommendationImpl(com.sportradar.uf.custombet.datamodel.CapiRecommendationsType recommendation)
-
-
Method Details
-
getSelections
Description copied from interface:RecommendationReturns the list of selections for this recommendation- Specified by:
getSelectionsin interfaceRecommendation- Returns:
- the list of selections
-
getOdds
public double getOdds()Description copied from interface:RecommendationReturns the odds for this recommendation- Specified by:
getOddsin interfaceRecommendation- Returns:
- the odds
-
getProbability
public double getProbability()Description copied from interface:RecommendationReturns the probability for this recommendation- Specified by:
getProbabilityin interfaceRecommendation- Returns:
- the probability
-