Class BetPartialCashoutDetails.Builder

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

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

    • build

      public BetPartialCashoutDetails build()
      Builds and returns the instance of BetPartialCashoutDetails.
      Returns:
      the instance of BetPartialCashoutDetails
    • setCode

      public BetPartialCashoutDetails.Builder setCode(int value)
      Sets the code associated with the partial cashout.
      Parameters:
      value - the code associated with the partial cashout
      Returns:
      the Builder instance
    • setPercentage

      public BetPartialCashoutDetails.Builder setPercentage(BigDecimal value)
      Sets the percentage of the partial cashout.
      Parameters:
      value - the percentage of the partial cashout
      Returns:
      the Builder instance
    • setBetId

      public BetPartialCashoutDetails.Builder setBetId(String value)
      Sets the bet ID associated with the partial cashout.
      Parameters:
      value - the bet ID associated with the partial cashout
      Returns:
      the Builder instance
    • setPayout

      public BetPartialCashoutDetails.Builder setPayout(Payout... value)
      Sets the payouts associated with the partial cashout.
      Parameters:
      value - the payouts associated with the partial cashout
      Returns:
      the Builder instance
    • setTicketSignature

      public BetPartialCashoutDetails.Builder setTicketSignature(String value)
      Sets the ticket signature associated with the partial cashout.
      Parameters:
      value - the ticket signature associated with the partial cashout
      Returns:
      the Builder instance
    • setTicketId

      public BetPartialCashoutDetails.Builder setTicketId(String value)
      Sets the ticket ID associated with the partial cashout.
      Parameters:
      value - the ticket ID associated with the partial cashout
      Returns:
      the Builder instance