Class CasinoSession.Builder
java.lang.Object
com.sportradar.mbs.sdk.entities.common.CasinoSession.Builder
- Enclosing class:
CasinoSession
Builder class for creating instances of the CasinoSession class.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds and returns the CasinoSession instance.Sets the end time in UTC millis for the CasinoSession instance being built.setGame
(CasinoGame value) Sets the casino game for the CasinoSession instance being built.Sets the ID for the CasinoSession instance being built.Sets the payout array for the CasinoSession instance being built.setSpins
(CasinoSpin... value) Sets the casino spins array for the CasinoSession instance being built.Sets the stake array for the CasinoSession instance being built.setStartUtc
(Long value) Sets the start time in UTC millis for the CasinoSession instance being built.
-
Method Details
-
build
Builds and returns the CasinoSession instance.- Returns:
- The built CasinoSession instance.
-
setStake
Sets the stake array for the CasinoSession instance being built.- Parameters:
value
- The stake array to set.- Returns:
- The Builder instance.
-
setGame
Sets the casino game for the CasinoSession instance being built.- Parameters:
value
- The casino game to set.- Returns:
- The Builder instance.
-
setSpins
Sets the casino spins array for the CasinoSession instance being built.- Parameters:
value
- The casino spins array to set.- Returns:
- The Builder instance.
-
setPayout
Sets the payout array for the CasinoSession instance being built.- Parameters:
value
- The payout array to set.- Returns:
- The Builder instance.
-
setId
Sets the ID for the CasinoSession instance being built.- Parameters:
value
- The ID to set.- Returns:
- The Builder instance.
-
setStartUtc
Sets the start time in UTC millis for the CasinoSession instance being built.- Parameters:
value
- The start time in UTC millis to set.- Returns:
- The Builder instance.
-
setEndUtc
Sets the end time in UTC millis for the CasinoSession instance being built.- Parameters:
value
- The end time in UTC millis to set.- Returns:
- The Builder instance.
-