Constructor and Description |
---|
SecretLockInfo(java.lang.String recordId,
int version,
Address ownerAddress,
MosaicId mosaicId,
java.math.BigInteger amount,
java.math.BigInteger endHeight,
LockStatus status,
LockHashAlgorithm hashAlgorithm,
java.lang.String secret,
Address recipientAddress,
java.lang.String compositeHash) |
Modifier and Type | Method and Description |
---|---|
java.math.BigInteger |
getAmount() |
java.lang.String |
getCompositeHash() |
java.math.BigInteger |
getEndHeight() |
LockHashAlgorithm |
getHashAlgorithm() |
MosaicId |
getMosaicId() |
Address |
getOwnerAddress() |
Address |
getRecipientAddress() |
java.util.Optional<java.lang.String> |
getRecordId()
Returns database record id of the entity.
|
java.lang.String |
getSecret() |
LockStatus |
getStatus() |
int |
getVersion() |
byte[] |
serialize() |
public SecretLockInfo(java.lang.String recordId, int version, Address ownerAddress, MosaicId mosaicId, java.math.BigInteger amount, java.math.BigInteger endHeight, LockStatus status, LockHashAlgorithm hashAlgorithm, java.lang.String secret, Address recipientAddress, java.lang.String compositeHash)
public java.util.Optional<java.lang.String> getRecordId()
Stored
getRecordId
in interface Stored
public Address getOwnerAddress()
public MosaicId getMosaicId()
public java.math.BigInteger getAmount()
public java.math.BigInteger getEndHeight()
public LockStatus getStatus()
public LockHashAlgorithm getHashAlgorithm()
public java.lang.String getSecret()
public Address getRecipientAddress()
public java.lang.String getCompositeHash()
public int getVersion()
public byte[] serialize()