public abstract class DigitalGoodsTransactionType extends ChildTransactionType
Modifier and Type | Field and Description |
---|---|
static TransactionType |
DELISTING |
static TransactionType |
DELIVERY |
static TransactionType |
FEEDBACK |
static TransactionType |
LISTING |
static TransactionType |
PRICE_CHANGE |
static TransactionType |
PURCHASE |
static TransactionType |
QUANTITY_CHANGE |
static TransactionType |
REFUND |
TYPE_ACCOUNT_CONTROL, TYPE_ACCOUNT_PROPERTY, TYPE_ALIASES, TYPE_ASSET_EXCHANGE, TYPE_CHILD_CHAIN_CONTROL, TYPE_COIN_EXCHANGE, TYPE_DATA, TYPE_DIGITAL_GOODS, TYPE_LIGHT_CONTRACT, TYPE_MESSAGING, TYPE_MONETARY_SYSTEM, TYPE_PAYMENT, TYPE_SHUFFLING, TYPE_VOTING
Modifier and Type | Method and Description |
---|---|
boolean |
applyAttachmentUnconfirmed(ChildTransactionImpl transaction,
Account senderAccount) |
static TransactionType |
findTransactionType(byte subtype) |
byte |
getType() |
boolean |
isGlobal() |
void |
undoAttachmentUnconfirmed(ChildTransactionImpl transaction,
Account senderAccount) |
void |
validateAttachment(ChildTransactionImpl transaction) |
apply, applyAttachment, applyAttachment, applyAttachmentUnconfirmed, applyUnconfirmed, findTransactionType, getBaselineFee, getInvolvedChildChains, getInvolvedChildChains, undoAttachmentUnconfirmed, undoUnconfirmed, validateAttachment, validateId, validateId
canHaveRecipient, getBaselineFeeHeight, getLedgerEvent, getName, getNextFee, getNextFeeHeight, getSubtype, isBlockDuplicate, isDuplicate, isDuplicate, isDuplicate, isPhasable, isPhasingSafe, isPruned, isUnconfirmedDuplicate, mustHaveRecipient, parseAttachment, parseAttachment, toString
public static final TransactionType LISTING
public static final TransactionType DELISTING
public static final TransactionType PRICE_CHANGE
public static final TransactionType QUANTITY_CHANGE
public static final TransactionType PURCHASE
public static final TransactionType DELIVERY
public static final TransactionType FEEDBACK
public static final TransactionType REFUND
public static TransactionType findTransactionType(byte subtype)
public final byte getType()
getType
in class TransactionType
public boolean applyAttachmentUnconfirmed(ChildTransactionImpl transaction, Account senderAccount)
applyAttachmentUnconfirmed
in class ChildTransactionType
transaction
- Transaction to apply as unconfirmedsenderAccount
- Cached sender accountpublic void undoAttachmentUnconfirmed(ChildTransactionImpl transaction, Account senderAccount)
undoAttachmentUnconfirmed
in class ChildTransactionType
public final void validateAttachment(ChildTransactionImpl transaction) throws NxtException.ValidationException
validateAttachment
in class ChildTransactionType
NxtException.ValidationException
public final boolean isGlobal()
isGlobal
in class TransactionType