Class TicketInformResponse.Builder
java.lang.Object
com.sportradar.mbs.sdk.entities.response.TicketInformResponse.Builder
- Enclosing class:
TicketInformResponse
Represents a builder for creating instances of the TicketInformResponse class.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds and returns the TicketInformResponse instance.setBetDetails
(BetDetail... value) Sets the bet details.setCode
(int value) Sets the code of the response.setExchangeRate
(ExchangeRate... value) Sets the exchange rates.setMessage
(String value) Sets the message.setSignature
(String value) Sets the signature.setStatus
(AcceptanceStatus value) Sets the acceptance status.setTicketId
(String value) Sets the ticket ID.
-
Method Details
-
build
Builds and returns the TicketInformResponse instance.- Returns:
- The TicketInformResponse instance.
-
setCode
Sets the code of the response.- Parameters:
value
- The code of the response.- Returns:
- The builder instance.
-
setExchangeRate
Sets the exchange rates.- Parameters:
value
- The exchange rates.- Returns:
- The builder instance.
-
setSignature
Sets the signature.- Parameters:
value
- The signature.- Returns:
- The builder instance.
-
setBetDetails
Sets the bet details.- Parameters:
value
- The bet details.- Returns:
- The builder instance.
-
setMessage
Sets the message.- Parameters:
value
- The message.- Returns:
- The builder instance.
-
setTicketId
Sets the ticket ID.- Parameters:
value
- The ticket ID.- Returns:
- The builder instance.
-
setStatus
Sets the acceptance status.- Parameters:
value
- The acceptance status.- Returns:
- The builder instance.
-