Class Withdrawal.Builder
-
- All Implemented Interfaces:
public final class Withdrawal.BuilderA builder for Withdrawal.
-
-
Method Summary
Modifier and Type Method Description final Withdrawal.Builderid(String id)ID of the Withdrawal.final Withdrawal.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final Withdrawal.BuilderaccountId(String accountId)ID of the Accountfrom which theWithdrawalis made.final Withdrawal.BuilderaccountId(JsonField<String> accountId)Sets Builder.accountId to an arbitrary JSON value. final Withdrawal.BuilderchainId(Chain chainId)CAIP-2 chain ID of the blockchain where the Withdrawalis made.final Withdrawal.BuilderchainId(JsonField<Chain> chainId)Sets Builder.chainId to an arbitrary JSON value. final Withdrawal.BuilderpaymentTokenAddress(String paymentTokenAddress)Address of USDC payment token that the Withdrawalwill be received in.final Withdrawal.BuilderpaymentTokenAddress(JsonField<String> paymentTokenAddress)Sets Builder.paymentTokenAddress to an arbitrary JSON value. final Withdrawal.BuilderpaymentTokenAmount(Double paymentTokenAmount)Amount of USDC payment tokens to be withdrawn. final Withdrawal.BuilderpaymentTokenAmount(JsonField<Double> paymentTokenAmount)Sets Builder.paymentTokenAmount to an arbitrary JSON value. final Withdrawal.BuilderrecipientAccountId(String recipientAccountId)ID of the Accountthat will receive payment tokens from theWithdrawal.final Withdrawal.BuilderrecipientAccountId(JsonField<String> recipientAccountId)Sets Builder.recipientAccountId to an arbitrary JSON value. final Withdrawal.Builderstatus(BrokerageOrderStatus status)Status of the Withdrawal.final Withdrawal.Builderstatus(JsonField<BrokerageOrderStatus> status)Sets Builder.status to an arbitrary JSON value. final Withdrawal.BuildertransactionDt(OffsetDateTime transactionDt)Datetime at which the Withdrawalwas transacted.final Withdrawal.BuildertransactionDt(JsonField<OffsetDateTime> transactionDt)Sets Builder.transactionDt to an arbitrary JSON value. final Withdrawal.BuildertransactionHash(String transactionHash)Hash of the transaction for the Withdrawal.final Withdrawal.BuildertransactionHash(JsonField<String> transactionHash)Sets Builder.transactionHash to an arbitrary JSON value. final Withdrawal.BuilderwithdrawalRequestId(String withdrawalRequestId)ID of the WithdrawalRequestassociated with thisWithdrawal.final Withdrawal.BuilderwithdrawalRequestId(JsonField<String> withdrawalRequestId)Sets Builder.withdrawalRequestId to an arbitrary JSON value. final Withdrawal.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final Withdrawal.BuilderputAdditionalProperty(String key, JsonValue value)final Withdrawal.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final Withdrawal.BuilderremoveAdditionalProperty(String key)final Withdrawal.BuilderremoveAllAdditionalProperties(Set<String> keys)final Withdrawalbuild()Returns an immutable instance of Withdrawal. -
-
Method Detail
-
id
final Withdrawal.Builder id(String id)
ID of the
Withdrawal.
-
id
final Withdrawal.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
accountId
final Withdrawal.Builder accountId(String accountId)
ID of the
Accountfrom which theWithdrawalis made.
-
accountId
final Withdrawal.Builder accountId(JsonField<String> accountId)
Sets Builder.accountId to an arbitrary JSON value.
You should usually call Builder.accountId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
chainId
final Withdrawal.Builder chainId(Chain chainId)
CAIP-2 chain ID of the blockchain where the
Withdrawalis made.
-
chainId
final Withdrawal.Builder chainId(JsonField<Chain> chainId)
Sets Builder.chainId to an arbitrary JSON value.
You should usually call Builder.chainId with a well-typed Chain value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
paymentTokenAddress
final Withdrawal.Builder paymentTokenAddress(String paymentTokenAddress)
Address of USDC payment token that the
Withdrawalwill be received in.
-
paymentTokenAddress
final Withdrawal.Builder paymentTokenAddress(JsonField<String> paymentTokenAddress)
Sets Builder.paymentTokenAddress to an arbitrary JSON value.
You should usually call Builder.paymentTokenAddress with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
paymentTokenAmount
final Withdrawal.Builder paymentTokenAmount(Double paymentTokenAmount)
Amount of USDC payment tokens to be withdrawn.
-
paymentTokenAmount
final Withdrawal.Builder paymentTokenAmount(JsonField<Double> paymentTokenAmount)
Sets Builder.paymentTokenAmount to an arbitrary JSON value.
You should usually call Builder.paymentTokenAmount with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
recipientAccountId
final Withdrawal.Builder recipientAccountId(String recipientAccountId)
ID of the
Accountthat will receive payment tokens from theWithdrawal. ThisAccountmust be connected to a non-managedWalletand belong to the sameEntity.
-
recipientAccountId
final Withdrawal.Builder recipientAccountId(JsonField<String> recipientAccountId)
Sets Builder.recipientAccountId to an arbitrary JSON value.
You should usually call Builder.recipientAccountId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final Withdrawal.Builder status(BrokerageOrderStatus status)
Status of the
Withdrawal.
-
status
final Withdrawal.Builder status(JsonField<BrokerageOrderStatus> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed BrokerageOrderStatus value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
transactionDt
final Withdrawal.Builder transactionDt(OffsetDateTime transactionDt)
Datetime at which the
Withdrawalwas transacted. ISO 8601 timestamp.
-
transactionDt
final Withdrawal.Builder transactionDt(JsonField<OffsetDateTime> transactionDt)
Sets Builder.transactionDt to an arbitrary JSON value.
You should usually call Builder.transactionDt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
transactionHash
final Withdrawal.Builder transactionHash(String transactionHash)
Hash of the transaction for the
Withdrawal.
-
transactionHash
final Withdrawal.Builder transactionHash(JsonField<String> transactionHash)
Sets Builder.transactionHash to an arbitrary JSON value.
You should usually call Builder.transactionHash with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
withdrawalRequestId
final Withdrawal.Builder withdrawalRequestId(String withdrawalRequestId)
ID of the
WithdrawalRequestassociated with thisWithdrawal.
-
withdrawalRequestId
final Withdrawal.Builder withdrawalRequestId(JsonField<String> withdrawalRequestId)
Sets Builder.withdrawalRequestId to an arbitrary JSON value.
You should usually call Builder.withdrawalRequestId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final Withdrawal.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Withdrawal.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Withdrawal.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Withdrawal.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Withdrawal.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final Withdrawal build()
Returns an immutable instance of Withdrawal.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .accountId() .chainId() .paymentTokenAddress() .paymentTokenAmount() .recipientAccountId() .status() .transactionDt() .transactionHash() .withdrawalRequestId()
-
-
-
-