Class TicketContext
java.lang.Object
com.sportradar.mbs.sdk.entities.common.TicketContext
Represents the context of a ticket.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder class for creating instances of the TicketContext class. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the channel associated with the ticket context.Gets the end customer associated with the ticket context.long
Gets the limit ID associated with the ticket context.Payout[]
Gets the payout cap associated with the ticket context.getRef()
Gets the reference of the ticket.Gets the wallet ID associated with the ticket context.static TicketContext.Builder
Creates a new instance of the TicketContext.Builder class.void
setChannel
(Channel value) Sets the channel associated with the ticket context.void
setEndCustomer
(EndCustomer value) Sets the end customer associated with the ticket context.void
setLimitId
(long value) Sets the limit ID associated with the ticket context.void
setPayoutCap
(Payout[] value) Sets the payout cap associated with the ticket context.void
Sets the reference of the ticket.void
setWalletId
(String value) Sets the wallet ID associated with the ticket context.
-
Constructor Details
-
TicketContext
public TicketContext()
-
-
Method Details
-
newBuilder
Creates a new instance of the TicketContext.Builder class.- Returns:
- A new instance of the TicketContext.Builder class.
-
getWalletId
Gets the wallet ID associated with the ticket context.- Returns:
- The wallet ID associated with the ticket context.
-
setWalletId
Sets the wallet ID associated with the ticket context.- Parameters:
value
- The wallet ID to set.
-
getRef
Gets the reference of the ticket.- Returns:
- The reference of the ticket.
-
setRef
Sets the reference of the ticket.- Parameters:
value
- The reference of the ticket to set.
-
getChannel
Gets the channel associated with the ticket context.- Returns:
- The channel associated with the ticket context.
-
setChannel
Sets the channel associated with the ticket context.- Parameters:
value
- The channel to set.
-
getLimitId
public long getLimitId()Gets the limit ID associated with the ticket context.- Returns:
- The limit ID associated with the ticket context.
-
setLimitId
public void setLimitId(long value) Sets the limit ID associated with the ticket context.- Parameters:
value
- The limit ID to set.
-
getPayoutCap
Gets the payout cap associated with the ticket context.- Returns:
- The payout cap associated with the ticket context.
-
setPayoutCap
Sets the payout cap associated with the ticket context.- Parameters:
value
- The payout cap to set.
-
getEndCustomer
Gets the end customer associated with the ticket context.- Returns:
- The end customer associated with the ticket context.
-
setEndCustomer
Sets the end customer associated with the ticket context.- Parameters:
value
- The end customer to set.
-