Class MosaicSupplyChangeTransactionV1Descriptor
java.lang.Object
org.symbol.sdk.symbol.descriptors.MosaicSupplyChangeTransactionV1Descriptor
- All Implemented Interfaces:
SymbolTransactionDescriptor,SymbolTypedDescriptor,TypedDescriptor
public final class MosaicSupplyChangeTransactionV1Descriptor
extends Object
implements SymbolTransactionDescriptor
- MosaicSupplyChangeTransactionV1Descriptor
- Type safe descriptor used to generate a descriptor map for MosaicSupplyChangeTransactionV1Descriptor. Change the total supply of a mosaic (V1, latest).
-
Constructor Summary
ConstructorsConstructorDescriptionMosaicSupplyChangeTransactionV1Descriptor(String mosaicId, String delta, String action) Creates a descriptor for MosaicSupplyChangeTransactionV1 from string-form values.MosaicSupplyChangeTransactionV1Descriptor(UnresolvedMosaicId mosaicId, Amount delta, MosaicSupplyChangeAction action) Creates a descriptor for MosaicSupplyChangeTransactionV1. -
Method Summary
-
Constructor Details
-
MosaicSupplyChangeTransactionV1Descriptor
public MosaicSupplyChangeTransactionV1Descriptor(UnresolvedMosaicId mosaicId, Amount delta, MosaicSupplyChangeAction action) Creates a descriptor for MosaicSupplyChangeTransactionV1.- Parameters:
mosaicId- Affected mosaic identifier.delta- Change amount. It cannot be negative, use the `action` field to indicate if this amount should be **added** or **subtracted** from the current supply.action- Supply change action.
-
MosaicSupplyChangeTransactionV1Descriptor
Creates a descriptor for MosaicSupplyChangeTransactionV1 from string-form values.- Parameters:
mosaicId- Affected mosaic identifier.delta- Change amount. It cannot be negative, use the `action` field to indicate if this amount should be **added** or **subtracted** from the current supply.action- Supply change action.
-
-
Method Details
-
toMap
- MosaicSupplyChangeTransactionV1Descriptor.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.
-