Class TicketContext

java.lang.Object
com.sportradar.mbs.sdk.entities.common.TicketContext

public class TicketContext extends Object
Represents the context of a ticket.
  • Constructor Details

    • TicketContext

      public TicketContext()
  • Method Details

    • newBuilder

      public static TicketContext.Builder newBuilder()
      Creates a new instance of the TicketContext.Builder class.
      Returns:
      A new instance of the TicketContext.Builder class.
    • getWalletId

      public String getWalletId()
      Gets the wallet ID associated with the ticket context.
      Returns:
      The wallet ID associated with the ticket context.
    • setWalletId

      public void setWalletId(String value)
      Sets the wallet ID associated with the ticket context.
      Parameters:
      value - The wallet ID to set.
    • getRef

      public TicketRef getRef()
      Gets the reference of the ticket.
      Returns:
      The reference of the ticket.
    • setRef

      public void setRef(TicketRef value)
      Sets the reference of the ticket.
      Parameters:
      value - The reference of the ticket to set.
    • getChannel

      public Channel getChannel()
      Gets the channel associated with the ticket context.
      Returns:
      The channel associated with the ticket context.
    • setChannel

      public void setChannel(Channel value)
      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

      public Payout[] getPayoutCap()
      Gets the payout cap associated with the ticket context.
      Returns:
      The payout cap associated with the ticket context.
    • setPayoutCap

      public void setPayoutCap(Payout[] value)
      Sets the payout cap associated with the ticket context.
      Parameters:
      value - The payout cap to set.
    • getEndCustomer

      public EndCustomer getEndCustomer()
      Gets the end customer associated with the ticket context.
      Returns:
      The end customer associated with the ticket context.
    • setEndCustomer

      public void setEndCustomer(EndCustomer value)
      Sets the end customer associated with the ticket context.
      Parameters:
      value - The end customer to set.