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