Class WithheldPayout.Builder

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

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

    • build

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

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

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

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