Interface OutcomeSettlement
- All Superinterfaces:
Outcome
Describes how to handle a bet on a particular outcome for a particular market
-
Method Summary
Modifier and TypeMethodDescriptiondoubleDead-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 an indication of the outcome result statedoubleUnder certain circumstances the whole bet is refunded or half the bet is refunded
-
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
-