Class CashPayout.Builder

java.lang.Object
com.sportradar.mbs.sdk.entities.payout.CashPayout.Builder
Enclosing class:
CashPayout

public static class CashPayout.Builder extends Object
Builder class for creating instances of the CashPayout class.
  • Method Details Link icon

    • build Link icon

      public CashPayout build()
      Builds and returns the CashPayout instance.
      Returns:
      The CashPayout instance.
    • setTraceId Link icon

      public CashPayout.Builder setTraceId(String value)
      Sets the trace ID of the cash payout.
      Parameters:
      value - The trace ID of the cash payout.
      Returns:
      The Builder instance.
    • setAmount Link icon

      public CashPayout.Builder setAmount(BigDecimal value)
      Sets the amount of the cash payout.
      Parameters:
      value - The amount of the cash payout.
      Returns:
      The Builder instance.
    • setCurrency Link icon

      public CashPayout.Builder setCurrency(String value)
      Sets the currency of the cash payout.
      Parameters:
      value - The currency of the cash payout.
      Returns:
      The Builder instance.