public abstract class PaymentTransactionType extends ChildTransactionType
| Modifier and Type | Field and Description |
|---|---|
static TransactionType |
ORDINARY |
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 |
|---|---|
void |
applyAttachment(ChildTransactionImpl transaction,
Account senderAccount,
Account recipientAccount) |
boolean |
applyAttachmentUnconfirmed(ChildTransactionImpl transaction,
Account senderAccount) |
boolean |
canHaveRecipient() |
static TransactionType |
findTransactionType(byte subtype) |
byte |
getType() |
boolean |
isGlobal() |
boolean |
isPhasingSafe()
Transaction is Phasing Unsafe if it's validity may change between the height it is accepted in the blockchain
and the height it is executed.
|
void |
undoAttachmentUnconfirmed(ChildTransactionImpl transaction,
Account senderAccount) |
apply, applyAttachment, applyAttachmentUnconfirmed, applyUnconfirmed, findTransactionType, getBaselineFee, getInvolvedChildChains, getInvolvedChildChains, undoAttachmentUnconfirmed, undoUnconfirmed, validateAttachment, validateAttachment, validateId, validateIdgetBaselineFeeHeight, getLedgerEvent, getName, getNextFee, getNextFeeHeight, getSubtype, isBlockDuplicate, isDuplicate, isDuplicate, isDuplicate, isPhasable, isPruned, isUnconfirmedDuplicate, mustHaveRecipient, parseAttachment, parseAttachment, toStringpublic static final TransactionType ORDINARY
public static TransactionType findTransactionType(byte subtype)
public final byte getType()
getType in class TransactionTypepublic final boolean applyAttachmentUnconfirmed(ChildTransactionImpl transaction, Account senderAccount)
applyAttachmentUnconfirmed in class ChildTransactionTypetransaction - Transaction to apply as unconfirmedsenderAccount - Cached sender accountpublic final void applyAttachment(ChildTransactionImpl transaction, Account senderAccount, Account recipientAccount)
applyAttachment in class ChildTransactionTypepublic final void undoAttachmentUnconfirmed(ChildTransactionImpl transaction, Account senderAccount)
undoAttachmentUnconfirmed in class ChildTransactionTypepublic final boolean canHaveRecipient()
canHaveRecipient in class TransactionTypepublic final boolean isPhasingSafe()
TransactionTypeisPhasingSafe in class TransactionTypepublic final boolean isGlobal()
isGlobal in class TransactionType