public class B2Record extends BetRecord implements IB2Record
Constructor and Description |
---|
B2Record(java.lang.String matchId,
java.lang.String eventId,
long id,
OddType oddType,
LBType lbType,
TimeType timetype,
java.lang.String sportbook,
OddFormat oddFormat,
java.util.Map<java.lang.String,java.lang.String> meta,
float rateOver,
float rateUnder,
float rateEqual,
float pivotValue,
PivotType pivotType,
PivotBias pivotBias,
java.lang.String rateOverId,
java.lang.String rateUnderId,
java.lang.String rateEqualId,
boolean isSwapped) |
Modifier and Type | Method and Description |
---|---|
boolean |
isSwapped()
Whether or not the two side of the record has been swapped
|
PivotBias |
pivotBias()
Retrieve pivot bias that indicates which side has the upper hand.
|
PivotType |
pivotType()
Retrieve pivot type of the record
|
float |
pivotValue()
Retrieve the numeric pivot value
|
float |
rateEqual()
Retrieve rate equal of the record
|
java.lang.String |
rateEqualId()
Retrieve rate equal id of the record
|
java.util.List<java.lang.String> |
rateIds()
Retrive a list of list of rate ids consist of rate over ID, rate under ID and rate equal ID
|
float |
rateOver()
Retrieve rate over (home) of the record
|
java.lang.String |
rateOverId()
Retrieve rate over id of the record
|
java.util.List<java.lang.Float> |
rates()
Retrive a list of list of odds consist of rate over, rate under and rate equal
|
float |
rateUnder()
Retrieve rate under (away) of the record
|
java.lang.String |
rateUnderId()
Retrieve rate under id of the record
|
eventId, id, lbType, matchId, meta, oddFormat, oddType, source, timeType
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public B2Record(java.lang.String matchId, java.lang.String eventId, long id, OddType oddType, LBType lbType, TimeType timetype, java.lang.String sportbook, OddFormat oddFormat, java.util.Map<java.lang.String,java.lang.String> meta, float rateOver, float rateUnder, float rateEqual, float pivotValue, PivotType pivotType, PivotBias pivotBias, java.lang.String rateOverId, java.lang.String rateUnderId, java.lang.String rateEqualId, boolean isSwapped)
public float pivotValue()
pivotValue
in interface IB2Record
public PivotType pivotType()
IB2Record
public PivotBias pivotBias()
IB2Record
public boolean isSwapped()
IB2Record
public float rateOver()
IB2Record
public float rateUnder()
IB2Record
public float rateEqual()
IB2Record
public java.lang.String rateOverId()
IB2Record
rateOverId
in interface IB2Record
public java.lang.String rateUnderId()
IB2Record
rateUnderId
in interface IB2Record
public java.lang.String rateEqualId()
IB2Record
rateEqualId
in interface IB2Record
public java.util.List<java.lang.Float> rates()
rates
in interface IBetRecord
public java.util.List<java.lang.String> rateIds()
rateIds
in interface IBetRecord