public abstract class TransactionType
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TransactionType.AccountControl |
static class |
TransactionType.ColoredCoins |
static class |
TransactionType.DigitalGoods |
static class |
TransactionType.Fee |
static class |
TransactionType.Messaging |
static class |
TransactionType.Payment |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
canHaveRecipient() |
static TransactionType |
findTransactionType(byte type,
byte subtype) |
protected TransactionType.Fee |
getBaselineFee(nxt.TransactionImpl transaction) |
protected TransactionType.Fee |
getNextFee(nxt.TransactionImpl transaction) |
abstract byte |
getSubtype() |
abstract byte |
getType() |
boolean |
mustHaveRecipient() |
java.lang.String |
toString() |
public static TransactionType findTransactionType(byte type, byte subtype)
public abstract byte getType()
public abstract byte getSubtype()
public abstract boolean canHaveRecipient()
public boolean mustHaveRecipient()
public final java.lang.String toString()
toString
in class java.lang.Object
protected TransactionType.Fee getBaselineFee(nxt.TransactionImpl transaction) throws NxtException.NotValidException
NxtException.NotValidException
protected TransactionType.Fee getNextFee(nxt.TransactionImpl transaction) throws NxtException.NotValidException
NxtException.NotValidException