Interface CredentialDelete
- All Superinterfaces:
Transaction
- All Known Implementing Classes:
ImmutableCredentialDelete
A
CredentialDelete transaction removes a `Credential` object from the ledger, effectively revoking it.-
Field Summary
Fields inherited from interface org.xrpl.xrpl4j.model.transactions.Transaction
typeMap -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Construct aCredentialDeletebuilder.default voidcheck()Validate either Subject or Issuer's presence.A (hex-encoded) value to identify the type of credential from the issuer.default TransactionFlagsflags()Set ofTransactionFlags's for thisCredentialDelete, which only allows thetfFullyCanonicalSigflag, which is deprecated.issuer()The issuer of the credential.subject()The subject of the credential.Methods inherited from interface org.xrpl.xrpl4j.model.transactions.Transaction
account, accountTransactionId, delegate, fee, lastLedgerSequence, memos, networkId, sequence, signers, signingPublicKey, sourceTag, ticketSequence, transactionFlags, transactionSignature, transactionType, unknownFields, validateDelegateNotSameAsAccount
-
Method Details
-
builder
Construct aCredentialDeletebuilder.- Returns:
- An
ImmutableCredentialDelete.Builder.
-
issuer
The issuer of the credential.- Returns:
- The unique
Addressof the issuer this credential.
-
subject
The subject of the credential.- Returns:
- The unique
Addressof the subject this credential.
-
credentialType
CredentialType credentialType()A (hex-encoded) value to identify the type of credential from the issuer.- Returns:
- A
CredentialTypedefining the type of credential.
-
flags
Set ofTransactionFlags's for thisCredentialDelete, which only allows thetfFullyCanonicalSigflag, which is deprecated.- Returns:
- Always
TransactionFlags.EMPTY.
-
check
@Check default void check()Validate either Subject or Issuer's presence.
-