Class BetCashoutDetails.Builder

java.lang.Object
com.sportradar.mbs.sdk.entities.cashout.BetCashoutDetails.Builder
Enclosing class:
BetCashoutDetails

public static class BetCashoutDetails.Builder extends Object
Builder class for creating instances of BetCashoutDetails.
  • Method Details

    • build

      public BetCashoutDetails build()
      Builds and returns the BetCashoutDetails instance.
      Returns:
      the built BetCashoutDetails instance
    • setCode

      public BetCashoutDetails.Builder setCode(int value)
      Sets the code associated with the cashout details.
      Parameters:
      value - the code to set
      Returns:
      the builder instance
    • setBetId

      public BetCashoutDetails.Builder setBetId(String value)
      Sets the bet ID associated with the cashout details.
      Parameters:
      value - the bet ID to set
      Returns:
      the builder instance
    • setPayout

      public BetCashoutDetails.Builder setPayout(Payout... value)
      Sets the payout details associated with the cashout details.
      Parameters:
      value - the payout details to set
      Returns:
      the builder instance
    • setTicketSignature

      public BetCashoutDetails.Builder setTicketSignature(String value)
      Sets the ticket signature associated with the cashout details.
      Parameters:
      value - the ticket signature to set
      Returns:
      the builder instance
    • setTicketId

      public BetCashoutDetails.Builder setTicketId(String value)
      Sets the ticket ID associated with the cashout details.
      Parameters:
      value - the ticket ID to set
      Returns:
      the builder instance