Class CashoutResponse.Builder

java.lang.Object
com.sportradar.mbs.sdk.entities.response.CashoutResponse.Builder
Enclosing class:
CashoutResponse

public static class CashoutResponse.Builder extends Object
Builder class for constructing instances of CashoutResponse.
  • Method Details

    • build

      public CashoutResponse build()
      Builds and returns the CashoutResponse instance.
      Returns:
      The CashoutResponse instance.
    • setCode

      public CashoutResponse.Builder setCode(int value)
      Sets the code of the cashout response.
      Parameters:
      value - The code of the cashout response.
      Returns:
      The Builder instance.
    • setSignature

      public CashoutResponse.Builder setSignature(String value)
      Sets the signature of the cashout response.
      Parameters:
      value - The signature of the cashout response.
      Returns:
      The Builder instance.
    • setCashoutId

      public CashoutResponse.Builder setCashoutId(String value)
      Sets the cashout ID of the cashout response.
      Parameters:
      value - The cashout ID of the cashout response.
      Returns:
      The Builder instance.
    • setMessage

      public CashoutResponse.Builder setMessage(String value)
      Sets the message of the cashout response.
      Parameters:
      value - The message of the cashout response.
      Returns:
      The Builder instance.
    • setTicketId

      public CashoutResponse.Builder setTicketId(String value)
      Sets the ticket ID of the cashout response.
      Parameters:
      value - The ticket ID of the cashout response.
      Returns:
      The Builder instance.
    • setStatus

      public CashoutResponse.Builder setStatus(AcceptanceStatus value)
      Sets the acceptance status of the cashout response.
      Parameters:
      value - The acceptance status of the cashout response.
      Returns:
      The Builder instance.