Class WithheldPayout.Builder
java.lang.Object
com.sportradar.mbs.sdk.entities.payout.WithheldPayout.Builder
- Enclosing class:
WithheldPayout
Builder class for creating instances of the WithheldPayout class.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds and returns the WithheldPayout instance.setAmount
(BigDecimal value) Sets the amount of the witheld payout.setCurrency
(String value) Sets the currency of the witheld payout.setTraceId
(String value) Sets the trace ID of the witheld payout.
-
Method Details
-
build
Builds and returns the WithheldPayout instance.- Returns:
- The WithheldPayout instance.
-
setTraceId
Sets the trace ID of the witheld payout.- Parameters:
value
- The trace ID of the witheld payout.- Returns:
- The Builder instance.
-
setAmount
Sets the amount of the witheld payout.- Parameters:
value
- The amount of the witheld payout.- Returns:
- The Builder instance.
-
setCurrency
Sets the currency of the witheld payout.- Parameters:
value
- The currency of the witheld payout.- Returns:
- The Builder instance.
-