Class TokenTransferCreateParams.Body
-
- All Implemented Interfaces:
public final class TokenTransferCreateParams.BodyInput parameters for creating a token transfer from a managed account.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTokenTransferCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Doublequantity()Quantity of the token to transfer. final StringrecipientAccountId()ID of the recipient account to which the tokens will be transferred. final StringtokenAddress()Address of the token to transfer. final JsonField<Double>_quantity()Returns the raw JSON value of quantity. final JsonField<String>_recipientAccountId()Returns the raw JSON value of recipientAccountId. final JsonField<String>_tokenAddress()Returns the raw JSON value of tokenAddress. final Map<String, JsonValue>_additionalProperties()final TokenTransferCreateParams.Body.BuildertoBuilder()final TokenTransferCreateParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TokenTransferCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
recipientAccountId
final String recipientAccountId()
ID of the recipient account to which the tokens will be transferred.
-
tokenAddress
final String tokenAddress()
Address of the token to transfer.
-
_quantity
final JsonField<Double> _quantity()
Returns the raw JSON value of quantity.
Unlike quantity, 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.
-
_tokenAddress
final JsonField<String> _tokenAddress()
Returns the raw JSON value of tokenAddress.
Unlike tokenAddress, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final TokenTransferCreateParams.Body.Builder toBuilder()
-
validate
final TokenTransferCreateParams.Body validate()
-
builder
final static TokenTransferCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.quantity() .recipientAccountId() .tokenAddress()
-
-
-
-