Class WithdrawalRequestCreateParams.Body
-
- All Implemented Interfaces:
public final class WithdrawalRequestCreateParams.BodyInput for withdrawing USD+ payment tokens from an
Accountconnected to a Dinari-managedWallet.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classWithdrawalRequestCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final DoublepaymentTokenQuantity()Amount of USD+ payment tokens to be withdrawn. final StringrecipientAccountId()ID of the Accountthat will receive payment tokens from theWithdrawal.final JsonField<Double>_paymentTokenQuantity()Returns the raw JSON value of paymentTokenQuantity. final JsonField<String>_recipientAccountId()Returns the raw JSON value of recipientAccountId. final Map<String, JsonValue>_additionalProperties()final WithdrawalRequestCreateParams.Body.BuildertoBuilder()final WithdrawalRequestCreateParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static WithdrawalRequestCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
paymentTokenQuantity
final Double paymentTokenQuantity()
Amount of USD+ payment tokens to be withdrawn. Must be greater than 0 and have at most 6 decimal places.
-
recipientAccountId
final String recipientAccountId()
ID of the
Accountthat will receive payment tokens from theWithdrawal.
-
_paymentTokenQuantity
final JsonField<Double> _paymentTokenQuantity()
Returns the raw JSON value of paymentTokenQuantity.
Unlike paymentTokenQuantity, 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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final WithdrawalRequestCreateParams.Body.Builder toBuilder()
-
validate
final WithdrawalRequestCreateParams.Body validate()
-
builder
final static WithdrawalRequestCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.paymentTokenQuantity() .recipientAccountId()
-
-
-
-