Interface OutcomeSettlement

All Superinterfaces:
Outcome

public interface OutcomeSettlement extends Outcome
Describes how to handle a bet on a particular outcome for a particular market
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Dead-heat Factor (A dead-heat factor may be returned for markets where a bet has be placed on a particular team/player to place and this particular player has placed but the place is shared with multiple players, reducing the payout)
    default Double
    Returns the dead-heat factor for the place part of an each-way bet
    default Double
    Returns the each-way factor (fraction of win odds used to settle the place part)
    Returns whether the each-way outcome is settled as a win or a place
    Returns an indication of the outcome result state
    double
    Under certain circumstances the whole bet is refunded or half the bet is refunded

    Methods inherited from interface com.sportradar.unifiedodds.sdk.oddsentities.Outcome

    getId, getName, getName, getNames, getOutcomeDefinition
  • Method Details

    • getVoidFactor

      double getVoidFactor()
      Under certain circumstances the whole bet is refunded or half the bet is refunded
      Returns:
      1 if the whole bet is refunded (regardless of win or loss), 0.5 if half the bet is refunded (the other half is payed out if it is a win otherwise lost), 0 no refund
    • getDeadHeatFactor

      double getDeadHeatFactor()
      Dead-heat Factor (A dead-heat factor may be returned for markets where a bet has be placed on a particular team/player to place and this particular player has placed but the place is shared with multiple players, reducing the payout)
      Returns:
      deadheat factor or 1 if none.
    • getOutcomeResult

      OutcomeResult getOutcomeResult()
      Returns an indication of the outcome result state
      Returns:
      an indication of the outcome result state
    • getEachWayResult

      default EachWayResult getEachWayResult()
      Returns whether the each-way outcome is settled as a win or a place
      Returns:
      the each-way result, or null if not present
    • getEachWayFactor

      default Double getEachWayFactor()
      Returns the each-way factor (fraction of win odds used to settle the place part)
      Returns:
      the each-way factor, or null if not present
    • getDeadHeatFactorPlace

      default Double getDeadHeatFactorPlace()
      Returns the dead-heat factor for the place part of an each-way bet
      Returns:
      the dead-heat factor for place, or null if not present