Class WithdrawalRequest
-
- All Implemented Interfaces:
public final class WithdrawalRequestInformation for a withdrawal request of payment tokens from an
Accountbacked by a Dinari-managedWallet.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classWithdrawalRequest.BuilderA builder for WithdrawalRequest.
public final classWithdrawalRequest.StatusStatus of the
WithdrawalRequest
-
Method Summary
Modifier and Type Method Description final Stringid()ID of the WithdrawalRequest.final StringaccountId()ID of the Accountof theWithdrawalRequest.final OffsetDateTimecreatedDt()Datetime at which the WithdrawalRequestwas created.final DoublepaymentTokenAmount()Amount of USD+ payment tokens submitted for withdrawal. final StringrecipientAccountId()ID of the Accountthat will receive USDC payment tokens from theWithdrawal.final WithdrawalRequest.Statusstatus()Status of the WithdrawalRequestfinal OffsetDateTimeupdatedDt()Datetime at which the WithdrawalRequestwas updated.final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_accountId()Returns the raw JSON value of accountId. final JsonField<OffsetDateTime>_createdDt()Returns the raw JSON value of createdDt. final JsonField<Double>_paymentTokenAmount()Returns the raw JSON value of paymentTokenAmount. final JsonField<String>_recipientAccountId()Returns the raw JSON value of recipientAccountId. final JsonField<WithdrawalRequest.Status>_status()Returns the raw JSON value of status. final JsonField<OffsetDateTime>_updatedDt()Returns the raw JSON value of updatedDt. final Map<String, JsonValue>_additionalProperties()final WithdrawalRequest.BuildertoBuilder()final WithdrawalRequestvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static WithdrawalRequest.Builderbuilder()Returns a mutable builder for constructing an instance of WithdrawalRequest. -
-
Method Detail
-
createdDt
final OffsetDateTime createdDt()
Datetime at which the
WithdrawalRequestwas created. ISO 8601 timestamp.
-
paymentTokenAmount
final Double paymentTokenAmount()
Amount of USD+ payment tokens submitted for withdrawal.
-
recipientAccountId
final String recipientAccountId()
ID of the
Accountthat will receive USDC payment tokens from theWithdrawal. ThisAccountmust be connected to a non-managedWalletand belong to the sameEntity.
-
status
final WithdrawalRequest.Status status()
Status of the
WithdrawalRequest
-
updatedDt
final OffsetDateTime updatedDt()
Datetime at which the
WithdrawalRequestwas updated. ISO 8601 timestamp.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_accountId
final JsonField<String> _accountId()
Returns the raw JSON value of accountId.
Unlike accountId, this method doesn't throw if the JSON field has an unexpected type.
-
_createdDt
final JsonField<OffsetDateTime> _createdDt()
Returns the raw JSON value of createdDt.
Unlike createdDt, this method doesn't throw if the JSON field has an unexpected type.
-
_paymentTokenAmount
final JsonField<Double> _paymentTokenAmount()
Returns the raw JSON value of paymentTokenAmount.
Unlike paymentTokenAmount, this method doesn't throw if the JSON field has an unexpected type.
-
_recipientAccountId
final JsonField<String> _recipientAccountId()
Returns the raw JSON value of recipientAccountId.
Unlike recipientAccountId, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<WithdrawalRequest.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_updatedDt
final JsonField<OffsetDateTime> _updatedDt()
Returns the raw JSON value of updatedDt.
Unlike updatedDt, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final WithdrawalRequest.Builder toBuilder()
-
validate
final WithdrawalRequest validate()
-
builder
final static WithdrawalRequest.Builder builder()
Returns a mutable builder for constructing an instance of WithdrawalRequest.
The following fields are required:
.id() .accountId() .createdDt() .paymentTokenAmount() .recipientAccountId() .status() .updatedDt()
-
-
-
-