Class AggregateCompleteTransactionV2Descriptor
java.lang.Object
org.symbol.sdk.symbol.descriptors.AggregateCompleteTransactionV2Descriptor
- All Implemented Interfaces:
SymbolTransactionDescriptor,SymbolTypedDescriptor,TypedDescriptor
public final class AggregateCompleteTransactionV2Descriptor
extends Object
implements SymbolTransactionDescriptor
- AggregateCompleteTransactionV2Descriptor
- Type safe descriptor used to generate a descriptor map for AggregateCompleteTransactionV2Descriptor. Send transactions in batches to different accounts (V2, deprecated). Use this transaction when all required signatures are available when the transaction is created.
-
Constructor Summary
ConstructorsConstructorDescriptionAggregateCompleteTransactionV2Descriptor(String transactionsHash) Creates a descriptor for AggregateCompleteTransactionV2 from string-form values.AggregateCompleteTransactionV2Descriptor(CryptoTypes.Hash256 transactionsHash) Creates a descriptor for AggregateCompleteTransactionV2. -
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
-
AggregateCompleteTransactionV2Descriptor
Creates a descriptor for AggregateCompleteTransactionV2.- Parameters:
transactionsHash- Hash of the aggregate's transaction.
-
AggregateCompleteTransactionV2Descriptor
Creates a descriptor for AggregateCompleteTransactionV2 from string-form values.- Parameters:
transactionsHash- Hash of the aggregate's transaction.
-
-
Method Details
-
transactions
public AggregateCompleteTransactionV2Descriptor transactions(List<EmbeddedTransaction> transactions) - AggregateCompleteTransactionV2Descriptor.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
- AggregateCompleteTransactionV2Descriptor.cosignatures
- Sets the cosignatures field.
- Parameters:
cosignatures- Cosignatures data. Fills up remaining body space after transactions.- Returns:
- This descriptor for chaining.
-
toMap
- AggregateCompleteTransactionV2Descriptor.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.
-