Class TokenTransferCreateParams.Body.Builder
-
- All Implemented Interfaces:
public final class TokenTransferCreateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
quantity
final TokenTransferCreateParams.Body.Builder quantity(Double quantity)
Quantity of the token to transfer.
-
quantity
final TokenTransferCreateParams.Body.Builder quantity(JsonField<Double> quantity)
Sets Builder.quantity to an arbitrary JSON value.
You should usually call Builder.quantity 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 TokenTransferCreateParams.Body.Builder recipientAccountId(String recipientAccountId)
ID of the recipient account to which the tokens will be transferred.
-
recipientAccountId
final TokenTransferCreateParams.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.
-
tokenAddress
final TokenTransferCreateParams.Body.Builder tokenAddress(String tokenAddress)
Address of the token to transfer.
-
tokenAddress
final TokenTransferCreateParams.Body.Builder tokenAddress(JsonField<String> tokenAddress)
Sets Builder.tokenAddress to an arbitrary JSON value.
You should usually call Builder.tokenAddress 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 TokenTransferCreateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final TokenTransferCreateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final TokenTransferCreateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final TokenTransferCreateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final TokenTransferCreateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final TokenTransferCreateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.quantity() .recipientAccountId() .tokenAddress()
-
-
-
-