SnapOddsOutcome

public final class SnapOddsOutcome

Represent an outcome for an offer

Functions

Link copied to clipboard
final Boolean getBestOutcome()

Optional boolean if this outcome is the best available outcome of the given type

Link copied to clipboard
final Long getCompetitorId()

An optional competitorId - refers to an entry of competitors of a SnapOddsResult

Link copied to clipboard
final Double getOdds()

An odds value for this outcome

Link copied to clipboard
final String getRawType()

The raw type of this outcome

Link copied to clipboard
final String getRedirectUrl()

The optional direct (web) redirect URL to this outcome

Link copied to clipboard
final String getSportsBook()

Optional name of the sports book this offer is from. Only set for bestOffers

Link copied to clipboard
final Double getTarget()

A target value for this outcome

Link copied to clipboard
final SnapOddsOutcomeType getType()

The parsed type of this outcome

Link copied to clipboard
final Unit setRedirectUrl(String redirectUrl)

The optional direct (web) redirect URL to this outcome

Link copied to clipboard
final Unit setType(SnapOddsOutcomeType type)

The parsed type of this outcome

Properties

Link copied to clipboard
private final Boolean bestOutcome

Optional boolean if this outcome is the best available outcome of the given type

Link copied to clipboard
private final Long competitorId

An optional competitorId - refers to an entry of competitors of a SnapOddsResult

Link copied to clipboard
private final Double odds

An odds value for this outcome

Link copied to clipboard
private final String rawType

The raw type of this outcome

Link copied to clipboard
private transient String redirectUrl

The optional direct (web) redirect URL to this outcome

Link copied to clipboard
private final String sportsBook

Optional name of the sports book this offer is from. Only set for bestOffers

Link copied to clipboard
private final Double target

A target value for this outcome

Link copied to clipboard
private transient SnapOddsOutcomeType type

The parsed type of this outcome