Class WithheldPayout
java.lang.Object
com.sportradar.mbs.sdk.entities.payout.Payout
com.sportradar.mbs.sdk.entities.payout.WithheldPayout
Represents a witheld payout.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder class for creating instances of the WithheldPayout class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the amount of the witheld payout.Gets the currency of the witheld payout.Gets the trace ID of the witheld payout.static WithheldPayout.Builder
Creates a new instance of the WithheldPayout.Builder class.void
setAmount
(BigDecimal value) Sets the amount of the witheld payout.void
setCurrency
(String value) Sets the currency of the witheld payout.void
setTraceId
(String value) Sets the trace ID of the witheld payout.Methods inherited from class com.sportradar.mbs.sdk.entities.payout.Payout
newCashPayoutBuilder, newFreePayoutBuilder, newWithheldPayoutBuilder
-
Constructor Details
-
WithheldPayout
public WithheldPayout()
-
-
Method Details
-
newBuilder
Creates a new instance of the WithheldPayout.Builder class.- Returns:
- A new instance of the WithheldPayout.Builder class.
-
getTraceId
Gets the trace ID of the witheld payout.- Returns:
- The trace ID of the witheld payout.
-
setTraceId
Sets the trace ID of the witheld payout.- Parameters:
value
- The trace ID of the witheld payout.
-
getAmount
Gets the amount of the witheld payout.- Returns:
- The amount of the witheld payout.
-
setAmount
Sets the amount of the witheld payout.- Parameters:
value
- The amount of the witheld payout.
-
getCurrency
Gets the currency of the witheld payout.- Returns:
- The currency of the witheld payout.
-
setCurrency
Sets the currency of the witheld payout.- Parameters:
value
- The currency of the witheld payout.
-