public class RewardTransaction extends Object implements Serializable
| Constructor and Description |
|---|
RewardTransaction() |
RewardTransaction(Long networkId,
String periodType,
long startDateInSeconds,
String hash,
String receiverType,
String receiverId,
String receiverIdentityId,
String tokensAmountSent,
String rewardType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RewardTransaction |
fromStoredValue(String storedTransactionDetails) |
String |
getHash() |
Long |
getNetworkId() |
String |
getPeriodType() |
String |
getReceiverId() |
String |
getReceiverIdentityId() |
String |
getReceiverType() |
String |
getRewardType() |
long |
getStartDateInSeconds() |
String |
getTokensAmountSent() |
String |
getToStoreValue()
Determine the value to store on transactions list.
|
void |
setHash(String hash) |
void |
setNetworkId(Long networkId) |
void |
setPeriodType(String periodType) |
void |
setReceiverId(String receiverId) |
void |
setReceiverIdentityId(String receiverIdentityId) |
void |
setReceiverType(String receiverType) |
void |
setRewardType(String rewardType) |
void |
setStartDateInSeconds(long startDateInSeconds) |
void |
setTokensAmountSent(String tokensAmountSent) |
org.json.JSONObject |
toJSONObject() |
String |
toJSONString() |
String |
toString() |
public RewardTransaction(Long networkId, String periodType, long startDateInSeconds, String hash, String receiverType, String receiverId, String receiverIdentityId, String tokensAmountSent, String rewardType)
public RewardTransaction()
public static RewardTransaction fromStoredValue(String storedTransactionDetails)
public String getToStoreValue()
public String toJSONString()
public org.json.JSONObject toJSONObject()
public Long getNetworkId()
public String getPeriodType()
public long getStartDateInSeconds()
public String getHash()
public String getReceiverType()
public String getReceiverId()
public String getReceiverIdentityId()
public String getTokensAmountSent()
public String getRewardType()
public void setNetworkId(Long networkId)
public void setPeriodType(String periodType)
public void setStartDateInSeconds(long startDateInSeconds)
public void setHash(String hash)
public void setReceiverType(String receiverType)
public void setReceiverId(String receiverId)
public void setReceiverIdentityId(String receiverIdentityId)
public void setTokensAmountSent(String tokensAmountSent)
public void setRewardType(String rewardType)
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.