Class TransferTransactionV1Descriptor
java.lang.Object
org.symbol.sdk.symbol.descriptors.TransferTransactionV1Descriptor
- All Implemented Interfaces:
SymbolTransactionDescriptor,SymbolTypedDescriptor,TypedDescriptor
public final class TransferTransactionV1Descriptor
extends Object
implements SymbolTransactionDescriptor
- TransferTransactionV1Descriptor
- Type safe descriptor used to generate a descriptor map for TransferTransactionV1Descriptor. Send mosaics and messages between two accounts (V1, latest).
-
Constructor Summary
ConstructorsConstructorDescriptionTransferTransactionV1Descriptor(String recipientAddress) Creates a descriptor for TransferTransactionV1 from string-form values.TransferTransactionV1Descriptor(Address recipientAddress) Creates a descriptor for TransferTransactionV1. -
Method Summary
Modifier and TypeMethodDescriptionmessage(byte[] message) Sets the message field.Sets the message field.mosaics(List<UnresolvedMosaicDescriptor> mosaics) Sets the mosaics field.mosaics(UnresolvedMosaicDescriptor... mosaics) Sets the mosaics field.toMap()Builds a representation of this descriptor that can be passed to a factory function.
-
Constructor Details
-
TransferTransactionV1Descriptor
Creates a descriptor for TransferTransactionV1.- Parameters:
recipientAddress- recipient address
-
TransferTransactionV1Descriptor
Creates a descriptor for TransferTransactionV1 from string-form values.- Parameters:
recipientAddress- recipient address
-
-
Method Details
-
mosaics
- TransferTransactionV1Descriptor.mosaics
- Sets the mosaics field.
- Parameters:
mosaics- attached mosaics- Returns:
- This descriptor for chaining.
-
mosaics
- TransferTransactionV1Descriptor.mosaics
- Sets the mosaics field.
- Parameters:
mosaics- attached mosaics- Returns:
- This descriptor for chaining.
-
message
- TransferTransactionV1Descriptor.message
- Sets the message field.
- Parameters:
message- attached message- Returns:
- This descriptor for chaining.
-
message
- TransferTransactionV1Descriptor.message
- Sets the message field.
- Parameters:
message- attached message- Returns:
- This descriptor for chaining.
-
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.
-