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

    • build

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

      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

      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

      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.