Class TicketPartialCashoutDetails.Builder

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

public static class TicketPartialCashoutDetails.Builder extends Object
Builder class for creating TicketPartialCashoutDetails.
  • Method Details

    • build

      Builds and returns the TicketPartialCashoutDetails instance.
      Returns:
      the TicketPartialCashoutDetails instance
    • setCode

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

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

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

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

      public TicketPartialCashoutDetails.Builder setTicketId(String value)
      Sets the ticket ID of the partial cashout.
      Parameters:
      value - the ticket ID of the partial cashout
      Returns:
      the Builder instance