public class TransactionDetail extends Object implements Serializable
| Constructor and Description |
|---|
TransactionDetail() |
TransactionDetail(Long networkId,
String hash,
String contractAddress,
String contractMethodName,
boolean pending,
boolean isAdminOperation,
String from,
String to,
String label,
String message,
double value,
double contractAmount,
long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static TransactionDetail |
fromStoredValue(String storedTransactionDetails) |
String |
getContractAddress() |
double |
getContractAmount() |
String |
getContractMethodName() |
String |
getFrom() |
String |
getHash() |
String |
getLabel() |
String |
getMessage() |
Long |
getNetworkId() |
long |
getTimestamp() |
String |
getTo() |
String |
getToStoreValue(boolean sender)
Determine the value to store on address transactions list if sender,
include label, else omit it.
|
double |
getValue() |
int |
hashCode() |
boolean |
isAdminOperation() |
boolean |
isPending() |
void |
setAdminOperation(boolean isAdminOperation) |
void |
setContractAddress(String contractAddress) |
void |
setContractAmount(double contractAmount) |
void |
setContractMethodName(String contractMethodName) |
void |
setFrom(String from) |
void |
setHash(String hash) |
void |
setLabel(String label) |
void |
setMessage(String message) |
void |
setNetworkId(Long networkId) |
void |
setPending(boolean pending) |
void |
setTimestamp(long timestamp) |
void |
setTo(String to) |
void |
setValue(double value) |
org.json.JSONObject |
toJSONObject() |
String |
toJSONString() |
String |
toString() |
public TransactionDetail(Long networkId, String hash, String contractAddress, String contractMethodName, boolean pending, boolean isAdminOperation, String from, String to, String label, String message, double value, double contractAmount, long timestamp)
public TransactionDetail()
public static TransactionDetail fromStoredValue(String storedTransactionDetails)
public String getToStoreValue(boolean sender)
sender - public String toJSONString()
public org.json.JSONObject toJSONObject()
public Long getNetworkId()
public String getHash()
public String getContractAddress()
public String getContractMethodName()
public boolean isPending()
public boolean isAdminOperation()
public String getFrom()
public String getTo()
public String getLabel()
public String getMessage()
public double getValue()
public double getContractAmount()
public long getTimestamp()
public void setNetworkId(Long networkId)
public void setHash(String hash)
public void setContractAddress(String contractAddress)
public void setContractMethodName(String contractMethodName)
public void setPending(boolean pending)
public void setAdminOperation(boolean isAdminOperation)
public void setFrom(String from)
public void setTo(String to)
public void setLabel(String label)
public void setMessage(String message)
public void setValue(double value)
public void setContractAmount(double contractAmount)
public void setTimestamp(long timestamp)
protected boolean canEqual(Object other)
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.