public class LeaseCancelTransactionV2 extends TransactionWithProofs implements LeaseCancelTransaction
Modifier and Type | Field and Description |
---|---|
static byte |
LEASE_CANCEL |
MAX_PROOF_COUNT, proofs
V1, V2
Constructor and Description |
---|
LeaseCancelTransactionV2(PrivateKeyAccount senderPublicKey,
byte chainId,
String leaseId,
long fee,
long timestamp) |
LeaseCancelTransactionV2(PublicKeyAccount senderPublicKey,
byte chainId,
String leaseId,
long fee,
long timestamp,
List<ByteString> proofs) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
byte[] |
getBytes() |
byte |
getChainId() |
long |
getFee() |
String |
getLeaseId() |
PublicKeyAccount |
getSenderPublicKey() |
long |
getTimestamp() |
byte |
getType() |
byte |
getVersion() |
int |
hashCode() |
getProofs, setProofs
getId
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getId
public static final byte LEASE_CANCEL
public LeaseCancelTransactionV2(PublicKeyAccount senderPublicKey, byte chainId, String leaseId, long fee, long timestamp, List<ByteString> proofs)
public LeaseCancelTransactionV2(PrivateKeyAccount senderPublicKey, byte chainId, String leaseId, long fee, long timestamp)
public PublicKeyAccount getSenderPublicKey()
getSenderPublicKey
in interface Signable
getSenderPublicKey
in interface Transaction
public byte getChainId()
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.