Class SelectionImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.custombetentities.SelectionImpl
- All Implemented Interfaces:
Selection
Implements methods used to provide a requested selection
-
Constructor Summary
ConstructorsConstructorDescriptionSelectionImpl(Urn eventId, int marketId, String outcomeId, String specifiers) SelectionImpl(Urn eventId, int marketId, String outcomeId, String specifiers, Double odds) -
Method Summary
Modifier and TypeMethodDescriptionGets the event idintGets the market idgetOdds()Gets the oddsGets the outcome idGets the specifiers
-
Constructor Details
-
SelectionImpl
-
SelectionImpl
-
-
Method Details
-
getEventId
Gets the event id- Specified by:
getEventIdin interfaceSelection- Returns:
- the
Urnof the event
-
getMarketId
public int getMarketId()Gets the market id- Specified by:
getMarketIdin interfaceSelection- Returns:
- the market id
-
getOutcomeId
Gets the outcome id- Specified by:
getOutcomeIdin interfaceSelection- Returns:
- the outcome id
-
getOdds
Description copied from interface:SelectionGets the odds -
getSpecifiers
Gets the specifiers- Specified by:
getSpecifiersin interfaceSelection- Returns:
- the specifiers
-