Class AggregateCompleteTransactionV3Descriptor
java.lang.Object
org.symbol.sdk.symbol.descriptors.AggregateCompleteTransactionV3Descriptor
- All Implemented Interfaces:
SymbolTransactionDescriptor,SymbolTypedDescriptor,TypedDescriptor
public final class AggregateCompleteTransactionV3Descriptor
extends Object
implements SymbolTransactionDescriptor
- AggregateCompleteTransactionV3Descriptor
- Type safe descriptor used to generate a descriptor map for AggregateCompleteTransactionV3Descriptor. Send transactions in batches to different accounts (V3, latest). Use this transaction when all required signatures are available when the transaction is created.
-
Constructor Summary
ConstructorsConstructorDescriptionAggregateCompleteTransactionV3Descriptor(String transactionsHash) Creates a descriptor for AggregateCompleteTransactionV3 from string-form values.AggregateCompleteTransactionV3Descriptor(CryptoTypes.Hash256 transactionsHash) Creates a descriptor for AggregateCompleteTransactionV3. -
Method Summary
Modifier and TypeMethodDescriptioncosignatures(List<Cosignature> cosignatures) Sets the cosignatures field.toMap()Builds a representation of this descriptor that can be passed to a factory function.transactions(List<EmbeddedTransaction> transactions) Sets the transactions field.
-
Constructor Details
-
AggregateCompleteTransactionV3Descriptor
Creates a descriptor for AggregateCompleteTransactionV3.- Parameters:
transactionsHash- Hash of the aggregate's transaction.
-
AggregateCompleteTransactionV3Descriptor
Creates a descriptor for AggregateCompleteTransactionV3 from string-form values.- Parameters:
transactionsHash- Hash of the aggregate's transaction.
-
-
Method Details
-
transactions
public AggregateCompleteTransactionV3Descriptor transactions(List<EmbeddedTransaction> transactions) - AggregateCompleteTransactionV3Descriptor.transactions
- Sets the transactions field.
- Parameters:
transactions- Embedded transaction data. Transactions are variable-sized and the total payload size is in bytes. Embedded transactions cannot be aggregates.- Returns:
- This descriptor for chaining.
-
cosignatures
- AggregateCompleteTransactionV3Descriptor.cosignatures
- Sets the cosignatures field.
- Parameters:
cosignatures- Cosignatures data. Fills up remaining body space after transactions.- Returns:
- This descriptor for chaining.
-
toMap
- AggregateCompleteTransactionV3Descriptor.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.
-