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