Class NameRevokeTransactionModel
java.lang.Object
com.kryptokrauts.aeternity.sdk.service.transaction.type.model.AbstractTransactionModel<NameRevokeTx>
com.kryptokrauts.aeternity.sdk.service.transaction.type.model.NameRevokeTransactionModel
public class NameRevokeTransactionModel extends AbstractTransactionModel<NameRevokeTx>
-
Field Summary
Fields inherited from class com.kryptokrauts.aeternity.sdk.service.transaction.type.model.AbstractTransactionModel
fee
-
Constructor Summary
Constructors Constructor Description NameRevokeTransactionModel()
-
Method Summary
Modifier and Type Method Description AbstractTransaction<?>
buildTransaction(ExternalApi externalApi, InternalApi internalApi)
builds the necessary transaction objectjava.util.function.Function<Tx,NameRevokeTransactionModel>
getApiToModelFunction()
remap the given genericTx to a modelNameRevokeTx
toApiModel()
this method needs to be implemented for testing purposes (non native mode) and returns the generated tx model from the transaction fieldsvoid
validateInput()
this method can be used to perform transaction specific validations that willMethods inherited from class com.kryptokrauts.aeternity.sdk.service.transaction.type.model.AbstractTransactionModel
checkMandatoryFields, doSign, getInnerTxModel, hasInnerTx
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
NameRevokeTransactionModel
public NameRevokeTransactionModel()
-
-
Method Details
-
toApiModel
Description copied from class:AbstractTransactionModel
this method needs to be implemented for testing purposes (non native mode) and returns the generated tx model from the transaction fields- Specified by:
toApiModel
in classAbstractTransactionModel<NameRevokeTx>
- Returns:
- one of
com.kryptokrauts.aeternity.sdk.service.transaction.type.model
-
getApiToModelFunction
Description copied from class:AbstractTransactionModel
remap the given genericTx to a model- Specified by:
getApiToModelFunction
in classAbstractTransactionModel<NameRevokeTx>
- Returns:
- a function that maps the generated Api class into our SDK model class
-
validateInput
public void validateInput()Description copied from class:AbstractTransactionModel
this method can be used to perform transaction specific validations that will- Specified by:
validateInput
in classAbstractTransactionModel<NameRevokeTx>
-
buildTransaction
Description copied from class:AbstractTransactionModel
builds the necessary transaction object- Specified by:
buildTransaction
in classAbstractTransactionModel<NameRevokeTx>
- Parameters:
externalApi
- the node api instanceinternalApi
- the node api instance- Returns:
- the instance of a specific transaction class that extends
AbstractTransaction
-