Modifier and Type | Method and Description |
---|---|
BasketballEventState |
eventState()
Retrieve primary basketball event state of the match
|
java.util.Collection<BasketballEventState> |
eventStates()
Retrieve event states of all sportsbook as a list.
|
BasketballEventType |
eventType()
Retrieve basketball event type which consist of NONE, FIRST_TO_20, LAST_BASKET, TEAM_POINT, THREE_POINTERS, HOME_POINT and AWAY_POINT.
|
default java.util.Collection<BasketballRecord> |
getRecords(java.util.List<java.lang.String> bookIdList,
LBType lbType)
Retrieve collection of basketball records basing on the specific book id list and lay/back type
|
default java.util.Collection<BasketballRecord> |
getRecords(java.lang.String bookId)
Retrieve collection of basketball records basing on the specific book id
|
default java.util.Collection<BasketballRecord> |
getRecords(java.lang.String bookId,
LBType lbType)
Retrieve collection of basketball records basing on the specific book id and lay/back type
|
default java.util.Collection<BasketballRecord> |
getRecords(java.lang.String bookId,
OddType oddType)
Retrieve collection of basketball records basing on the specific book id and odd type
|
default java.util.Collection<BasketballRecord> |
getRecords(java.lang.String bookId,
TimeType timeType)
Retrieve collection of basketball records basing on the specific book id and time type
|
default BasketballRecord |
record(java.lang.String source,
long id)
Retrieve basketball record based on provided sportbook's name and odd ID
|
java.util.Collection<BasketballRecord> |
records()
Retrieve all basketball records for the basketball event object
|
default java.util.Collection<BasketballRecord> |
records(PivotType pivotType)
Retrieve collection of basketball records basing on the specific type of pivot
|
default java.util.Collection<BasketballRecord> |
records(TimeType timeType)
Retrieve collection of basketball records basing on the specific type of time type
|
hasPivotType
getEventState, hasLBType, hasOddType, hasRecord, hasSportbook, hasTimeType, id, matchId
BasketballEventState eventState()
eventState
in interface IB2Event
eventState
in interface IBetEvent
java.util.Collection<BasketballEventState> eventStates()
eventStates
in interface IB2Event
eventStates
in interface IBetEvent
BasketballEventType eventType()
default BasketballRecord record(java.lang.String source, long id)
java.util.Collection<BasketballRecord> records()
default java.util.Collection<BasketballRecord> records(PivotType pivotType)
default java.util.Collection<BasketballRecord> records(TimeType timeType)
default java.util.Collection<BasketballRecord> getRecords(java.lang.String bookId)
getRecords
in interface IB2Event
getRecords
in interface IBetEvent
bookId
- - sport book identifierdefault java.util.Collection<BasketballRecord> getRecords(java.lang.String bookId, TimeType timeType)
getRecords
in interface IB2Event
getRecords
in interface IBetEvent
bookId
- - sport book identifiertimeType
- - time typedefault java.util.Collection<BasketballRecord> getRecords(java.lang.String bookId, OddType oddType)
getRecords
in interface IB2Event
getRecords
in interface IBetEvent
bookId
- - sport book identifieroddType
- - odd typedefault java.util.Collection<BasketballRecord> getRecords(java.lang.String bookId, LBType lbType)
getRecords
in interface IB2Event
getRecords
in interface IBetEvent
bookId
- - book idlbType
- - LAY or BACKdefault java.util.Collection<BasketballRecord> getRecords(java.util.List<java.lang.String> bookIdList, LBType lbType)
getRecords
in interface IB2Event
getRecords
in interface IBetEvent
bookIdList
- - List of book idslbType
- - LAY or BACK