Class TicketCashoutDetails.Builder

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

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

    • build

      public TicketCashoutDetails build()
      Builds the TicketCashoutDetails instance.
      Returns:
      The built TicketCashoutDetails instance.
    • setCode

      public TicketCashoutDetails.Builder setCode(int value)
      Sets the code associated with the ticket cashout.
      Parameters:
      value - The code associated with the ticket cashout.
      Returns:
      The Builder instance.
    • setPayout

      public TicketCashoutDetails.Builder setPayout(Payout... value)
      Sets the payout details of the ticket cashout.
      Parameters:
      value - The payout details of the ticket cashout.
      Returns:
      The Builder instance.
    • setTicketSignature

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

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