public class LeaseCancelTransactionV1 extends TransactionWithSignature implements LeaseCancelTransaction
Modifier and Type | Field and Description |
---|---|
static byte |
LEASE_CANCEL |
signature
V1, V2
Constructor and Description |
---|
LeaseCancelTransactionV1(PrivateKeyAccount senderPublicKey,
String leaseId,
long fee,
long timestamp) |
LeaseCancelTransactionV1(PublicKeyAccount senderPublicKey,
String leaseId,
long fee,
long timestamp,
ByteString signature) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
byte[] |
getBytes() |
long |
getFee() |
String |
getLeaseId() |
PublicKeyAccount |
getSenderPublicKey() |
long |
getTimestamp() |
byte |
getType() |
byte |
getVersion() |
int |
hashCode() |
getSignature, verifySignature
getId
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getId
public static final byte LEASE_CANCEL
public LeaseCancelTransactionV1(PublicKeyAccount senderPublicKey, String leaseId, long fee, long timestamp, ByteString signature)
public LeaseCancelTransactionV1(PrivateKeyAccount senderPublicKey, String leaseId, long fee, long timestamp)
public PublicKeyAccount getSenderPublicKey()
getSenderPublicKey
in interface Signable
getSenderPublicKey
in interface Transaction
public String getLeaseId()
getLeaseId
in interface LeaseCancelTransaction
public long getFee()
getFee
in interface Transaction
public long getTimestamp()
getTimestamp
in interface Transaction
public byte getType()
getType
in interface Transaction
public byte getVersion()
getVersion
in interface Transaction
Copyright © 2019. All rights reserved.