Package org.symbol.sdk.nem.descriptors
Class TransferTransactionV1Descriptor
java.lang.Object
org.symbol.sdk.nem.descriptors.TransferTransactionV1Descriptor
- All Implemented Interfaces:
NemTransactionDescriptor,NemTypedDescriptor,TypedDescriptor
public final class TransferTransactionV1Descriptor
extends Object
implements NemTransactionDescriptor
- TransferTransactionV1Descriptor
Type safe descriptor used to generate a descriptor map for TransferTransactionV1Descriptor.
binary layout for a transfer transaction (V1)
-
Constructor Summary
ConstructorsConstructorDescriptionTransferTransactionV1Descriptor(Address recipientAddress, Amount amount, MessageDescriptor message) Creates a descriptor for TransferTransactionV1. -
Method Summary
-
Constructor Details
-
TransferTransactionV1Descriptor
public TransferTransactionV1Descriptor(Address recipientAddress, Amount amount, MessageDescriptor message) Creates a descriptor for TransferTransactionV1.- Parameters:
recipientAddress- recipient addressamount- XEM amountmessage- optional message (field is omitted when null)
-
-
Method Details
-
toMap
- TransferTransactionV1Descriptor.toMap
Builds a representation of this descriptor that can be passed to a factory function.
- Specified by:
toMapin interfaceTypedDescriptor- Returns:
Descriptor map that can be passed to a transaction factory.
-