Class WithdrawalRequestCreateParams.Body.Builder
-
- All Implemented Interfaces:
public final class WithdrawalRequestCreateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
paymentTokenQuantity
final WithdrawalRequestCreateParams.Body.Builder paymentTokenQuantity(Double paymentTokenQuantity)
Amount of USD+ payment tokens to be withdrawn. Must be greater than 0 and have at most 6 decimal places.
-
paymentTokenQuantity
final WithdrawalRequestCreateParams.Body.Builder paymentTokenQuantity(JsonField<Double> paymentTokenQuantity)
Sets Builder.paymentTokenQuantity to an arbitrary JSON value.
You should usually call Builder.paymentTokenQuantity 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 WithdrawalRequestCreateParams.Body.Builder recipientAccountId(String recipientAccountId)
ID of the
Accountthat will receive payment tokens from theWithdrawal.
-
recipientAccountId
final WithdrawalRequestCreateParams.Body.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.
-
additionalProperties
final WithdrawalRequestCreateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final WithdrawalRequestCreateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final WithdrawalRequestCreateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final WithdrawalRequestCreateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final WithdrawalRequestCreateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final WithdrawalRequestCreateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.paymentTokenQuantity() .recipientAccountId()
-
-
-
-