public class Transaction extends AbstractModel
header, skipSign
Constructor and Description |
---|
Transaction() |
Transaction(Transaction source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getBlockHeight()
Get The block height where the trading platform is located.
|
String |
getChaincodeName()
Get Contract name.
|
String |
getCreateTime()
Get Transaction creation time.
|
String |
getSender()
Get Transaction sender.
|
String |
getTxId()
Get Transaction ID
|
Long |
getTxIndex()
Get The serial number of a transaction in a block.
|
void |
setBlockHeight(Long BlockHeight)
Set The block height where the trading platform is located.
|
void |
setChaincodeName(String ChaincodeName)
Set Contract name.
|
void |
setCreateTime(String CreateTime)
Set Transaction creation time.
|
void |
setSender(String Sender)
Set Transaction sender.
|
void |
setTxId(String TxId)
Set Transaction ID
|
void |
setTxIndex(Long TxIndex)
Set The serial number of a transaction in a block.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public Transaction()
public Transaction(Transaction source)
public String getTxId()
public void setTxId(String TxId)
TxId
- Transaction IDpublic String getChaincodeName()
public void setChaincodeName(String ChaincodeName)
ChaincodeName
- Contract name.public String getSender()
public void setSender(String Sender)
Sender
- Transaction sender.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Transaction creation time.public Long getBlockHeight()
public void setBlockHeight(Long BlockHeight)
BlockHeight
- The block height where the trading platform is located.public Long getTxIndex()
public void setTxIndex(Long TxIndex)
TxIndex
- The serial number of a transaction in a block.Copyright © 2025. All rights reserved.