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, validateId
getBaselineFeeHeight, getLedgerEvent, getName, getNextFee, getNextFeeHeight, getSubtype, isBlockDuplicate, isDuplicate, isDuplicate, isDuplicate, isPhasable, isPruned, isUnconfirmedDuplicate, mustHaveRecipient, parseAttachment, parseAttachment, toString
public static final TransactionType ORDINARY
public static TransactionType findTransactionType(byte subtype)
public final byte getType()
getType
in class TransactionType
public final boolean applyAttachmentUnconfirmed(ChildTransactionImpl transaction, Account senderAccount)
applyAttachmentUnconfirmed
in class ChildTransactionType
transaction
- Transaction to apply as unconfirmedsenderAccount
- Cached sender accountpublic final void applyAttachment(ChildTransactionImpl transaction, Account senderAccount, Account recipientAccount)
applyAttachment
in class ChildTransactionType
public final void undoAttachmentUnconfirmed(ChildTransactionImpl transaction, Account senderAccount)
undoAttachmentUnconfirmed
in class ChildTransactionType
public final boolean canHaveRecipient()
canHaveRecipient
in class TransactionType
public final boolean isPhasingSafe()
TransactionType
isPhasingSafe
in class TransactionType
public final boolean isGlobal()
isGlobal
in class TransactionType