Class FreePayout.Builder

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

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

    • build

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

      public FreePayout.Builder setTraceId(String value)
      Sets the trace ID of the free payout.
      Parameters:
      value - The trace ID of the free payout.
      Returns:
      The Builder instance.
    • setAmount

      public FreePayout.Builder setAmount(BigDecimal value)
      Sets the amount of the free payout.
      Parameters:
      value - The amount of the free payout.
      Returns:
      The Builder instance.
    • setCurrency

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