public class AccountAddressRestrictionTransactionMapper extends AbstractTransactionMapper<io.nem.symbol.sdk.openapi.okhttp_gson.model.AccountAddressRestrictionTransactionDTO,AccountAddressRestrictionTransaction>
AccountAddressRestrictionTransaction
.Constructor and Description |
---|
AccountAddressRestrictionTransactionMapper(JsonHelper jsonHelper) |
Modifier and Type | Method and Description |
---|---|
protected void |
copyToDto(AccountAddressRestrictionTransaction transaction,
io.nem.symbol.sdk.openapi.okhttp_gson.model.AccountAddressRestrictionTransactionDTO dto)
Subclasses need to map the values from the transaction model to the transaction dto.
|
protected AccountAddressRestrictionTransactionFactory |
createFactory(NetworkType networkType,
Deadline deadline,
io.nem.symbol.sdk.openapi.okhttp_gson.model.AccountAddressRestrictionTransactionDTO transaction) |
createFactory, createTransactionInfo, getJsonHelper, getTransactionType, mapFromDto, mapToDto, mapToFactoryFromDto
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getVersion, mapToDto
public AccountAddressRestrictionTransactionMapper(JsonHelper jsonHelper)
protected AccountAddressRestrictionTransactionFactory createFactory(NetworkType networkType, Deadline deadline, io.nem.symbol.sdk.openapi.okhttp_gson.model.AccountAddressRestrictionTransactionDTO transaction)
createFactory
in class AbstractTransactionMapper<io.nem.symbol.sdk.openapi.okhttp_gson.model.AccountAddressRestrictionTransactionDTO,AccountAddressRestrictionTransaction>
protected void copyToDto(AccountAddressRestrictionTransaction transaction, io.nem.symbol.sdk.openapi.okhttp_gson.model.AccountAddressRestrictionTransactionDTO dto)
AbstractTransactionMapper
copyToDto
in class AbstractTransactionMapper<io.nem.symbol.sdk.openapi.okhttp_gson.model.AccountAddressRestrictionTransactionDTO,AccountAddressRestrictionTransaction>
transaction
- the transaction modeldto
- the transaction dto.