Class WithdrawalInformRequest.Builder
java.lang.Object
com.sportradar.mbs.sdk.entities.request.WithdrawalInformRequest.Builder
- Enclosing class:
WithdrawalInformRequest
Builder class for constructing WithdrawalInformRequest objects.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds and returns the WithdrawalInformRequest object.Sets the withdrawal amount.setEndCustomer
(EndCustomer value) Sets the end customer.setExecutedAtUtc
(long value) Sets the executed timestamp in UTC.setGateway
(PaymentGateway value) Sets the payment gateway.setInitiatedAtUtc
(Long value) Sets the initiated timestamp in UTC.setStatus
(BalanceMoveStatus value) Sets the balance move status.setWalletId
(String value) Sets the wallet ID.setWithdrawalId
(String value) Sets the withdrawal ID.
-
Method Details
-
build
Builds and returns the WithdrawalInformRequest object.- Returns:
- The built WithdrawalInformRequest object.
-
setWalletId
Sets the wallet ID.- Parameters:
value
- The wallet ID to set.- Returns:
- The Builder instance.
-
setWithdrawalId
Sets the withdrawal ID.- Parameters:
value
- The withdrawal ID to set.- Returns:
- The Builder instance.
-
setAmount
Sets the withdrawal amount.- Parameters:
value
- The withdrawal amount to set.- Returns:
- The Builder instance.
-
setEndCustomer
Sets the end customer.- Parameters:
value
- The end customer to set.- Returns:
- The Builder instance.
-
setExecutedAtUtc
Sets the executed timestamp in UTC.- Parameters:
value
- The executed timestamp in UTC to set.- Returns:
- The Builder instance.
-
setInitiatedAtUtc
Sets the initiated timestamp in UTC.- Parameters:
value
- The initiated timestamp in UTC to set.- Returns:
- The Builder instance.
-
setGateway
Sets the payment gateway.- Parameters:
value
- The payment gateway to set.- Returns:
- The Builder instance.
-
setStatus
Sets the balance move status.- Parameters:
value
- The balance move status to set.- Returns:
- The Builder instance.
-