@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransactionEvent extends Object implements Serializable, Cloneable, StructuredPojo
The container for the properties of a transaction event.
Constructor and Description |
---|
TransactionEvent() |
Modifier and Type | Method and Description |
---|---|
TransactionEvent |
clone() |
boolean |
equals(Object obj) |
BlockchainInstant |
getBlockchainInstant() |
String |
getConfirmationStatus()
This container specifies whether the transaction has reached Finality.
|
String |
getContractAddress()
The blockchain address for the contract
|
String |
getEventType()
The type of transaction event.
|
String |
getFrom()
The wallet address initiating the transaction.
|
String |
getNetwork()
The blockchain network where the transaction occurred.
|
Integer |
getSpentVoutIndex()
The position of the spent transaction output in the output list of the creating transaction.
|
String |
getSpentVoutTransactionHash()
The transactionHash that created the spent transaction output.
|
String |
getSpentVoutTransactionId()
The transactionId that created the spent transaction output.
|
String |
getTo()
The wallet address receiving the transaction.
|
String |
getTokenId()
The unique identifier for the token involved in the transaction.
|
String |
getTransactionHash()
The hash of a transaction.
|
String |
getTransactionId()
The identifier of a Bitcoin transaction.
|
String |
getValue()
The value that was transacted.
|
Integer |
getVoutIndex()
The position of the transaction output in the transaction output list.
|
Boolean |
getVoutSpent()
Specifies if the transaction output is spent or unspent.
|
int |
hashCode() |
Boolean |
isVoutSpent()
Specifies if the transaction output is spent or unspent.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBlockchainInstant(BlockchainInstant blockchainInstant) |
void |
setConfirmationStatus(String confirmationStatus)
This container specifies whether the transaction has reached Finality.
|
void |
setContractAddress(String contractAddress)
The blockchain address for the contract
|
void |
setEventType(String eventType)
The type of transaction event.
|
void |
setFrom(String from)
The wallet address initiating the transaction.
|
void |
setNetwork(String network)
The blockchain network where the transaction occurred.
|
void |
setSpentVoutIndex(Integer spentVoutIndex)
The position of the spent transaction output in the output list of the creating transaction.
|
void |
setSpentVoutTransactionHash(String spentVoutTransactionHash)
The transactionHash that created the spent transaction output.
|
void |
setSpentVoutTransactionId(String spentVoutTransactionId)
The transactionId that created the spent transaction output.
|
void |
setTo(String to)
The wallet address receiving the transaction.
|
void |
setTokenId(String tokenId)
The unique identifier for the token involved in the transaction.
|
void |
setTransactionHash(String transactionHash)
The hash of a transaction.
|
void |
setTransactionId(String transactionId)
The identifier of a Bitcoin transaction.
|
void |
setValue(String value)
The value that was transacted.
|
void |
setVoutIndex(Integer voutIndex)
The position of the transaction output in the transaction output list.
|
void |
setVoutSpent(Boolean voutSpent)
Specifies if the transaction output is spent or unspent.
|
String |
toString()
Returns a string representation of this object.
|
TransactionEvent |
withBlockchainInstant(BlockchainInstant blockchainInstant) |
TransactionEvent |
withConfirmationStatus(ConfirmationStatus confirmationStatus)
This container specifies whether the transaction has reached Finality.
|
TransactionEvent |
withConfirmationStatus(String confirmationStatus)
This container specifies whether the transaction has reached Finality.
|
TransactionEvent |
withContractAddress(String contractAddress)
The blockchain address for the contract
|
TransactionEvent |
withEventType(QueryTransactionEventType eventType)
The type of transaction event.
|
TransactionEvent |
withEventType(String eventType)
The type of transaction event.
|
TransactionEvent |
withFrom(String from)
The wallet address initiating the transaction.
|
TransactionEvent |
withNetwork(QueryNetwork network)
The blockchain network where the transaction occurred.
|
TransactionEvent |
withNetwork(String network)
The blockchain network where the transaction occurred.
|
TransactionEvent |
withSpentVoutIndex(Integer spentVoutIndex)
The position of the spent transaction output in the output list of the creating transaction.
|
TransactionEvent |
withSpentVoutTransactionHash(String spentVoutTransactionHash)
The transactionHash that created the spent transaction output.
|
TransactionEvent |
withSpentVoutTransactionId(String spentVoutTransactionId)
The transactionId that created the spent transaction output.
|
TransactionEvent |
withTo(String to)
The wallet address receiving the transaction.
|
TransactionEvent |
withTokenId(String tokenId)
The unique identifier for the token involved in the transaction.
|
TransactionEvent |
withTransactionHash(String transactionHash)
The hash of a transaction.
|
TransactionEvent |
withTransactionId(String transactionId)
The identifier of a Bitcoin transaction.
|
TransactionEvent |
withValue(String value)
The value that was transacted.
|
TransactionEvent |
withVoutIndex(Integer voutIndex)
The position of the transaction output in the transaction output list.
|
TransactionEvent |
withVoutSpent(Boolean voutSpent)
Specifies if the transaction output is spent or unspent.
|
public void setNetwork(String network)
The blockchain network where the transaction occurred.
network
- The blockchain network where the transaction occurred.QueryNetwork
public String getNetwork()
The blockchain network where the transaction occurred.
QueryNetwork
public TransactionEvent withNetwork(String network)
The blockchain network where the transaction occurred.
network
- The blockchain network where the transaction occurred.QueryNetwork
public TransactionEvent withNetwork(QueryNetwork network)
The blockchain network where the transaction occurred.
network
- The blockchain network where the transaction occurred.QueryNetwork
public void setTransactionHash(String transactionHash)
The hash of a transaction. It is generated when a transaction is created.
transactionHash
- The hash of a transaction. It is generated when a transaction is created.public String getTransactionHash()
The hash of a transaction. It is generated when a transaction is created.
public TransactionEvent withTransactionHash(String transactionHash)
The hash of a transaction. It is generated when a transaction is created.
transactionHash
- The hash of a transaction. It is generated when a transaction is created.public void setEventType(String eventType)
The type of transaction event.
eventType
- The type of transaction event.QueryTransactionEventType
public String getEventType()
The type of transaction event.
QueryTransactionEventType
public TransactionEvent withEventType(String eventType)
The type of transaction event.
eventType
- The type of transaction event.QueryTransactionEventType
public TransactionEvent withEventType(QueryTransactionEventType eventType)
The type of transaction event.
eventType
- The type of transaction event.QueryTransactionEventType
public void setFrom(String from)
The wallet address initiating the transaction. It can either be a public key or a contract.
from
- The wallet address initiating the transaction. It can either be a public key or a contract.public String getFrom()
The wallet address initiating the transaction. It can either be a public key or a contract.
public TransactionEvent withFrom(String from)
The wallet address initiating the transaction. It can either be a public key or a contract.
from
- The wallet address initiating the transaction. It can either be a public key or a contract.public void setTo(String to)
The wallet address receiving the transaction. It can either be a public key or a contract.
to
- The wallet address receiving the transaction. It can either be a public key or a contract.public String getTo()
The wallet address receiving the transaction. It can either be a public key or a contract.
public TransactionEvent withTo(String to)
The wallet address receiving the transaction. It can either be a public key or a contract.
to
- The wallet address receiving the transaction. It can either be a public key or a contract.public void setValue(String value)
The value that was transacted.
value
- The value that was transacted.public String getValue()
The value that was transacted.
public TransactionEvent withValue(String value)
The value that was transacted.
value
- The value that was transacted.public void setContractAddress(String contractAddress)
The blockchain address for the contract
contractAddress
- The blockchain address for the contractpublic String getContractAddress()
The blockchain address for the contract
public TransactionEvent withContractAddress(String contractAddress)
The blockchain address for the contract
contractAddress
- The blockchain address for the contractpublic void setTokenId(String tokenId)
The unique identifier for the token involved in the transaction.
tokenId
- The unique identifier for the token involved in the transaction.public String getTokenId()
The unique identifier for the token involved in the transaction.
public TransactionEvent withTokenId(String tokenId)
The unique identifier for the token involved in the transaction.
tokenId
- The unique identifier for the token involved in the transaction.public void setTransactionId(String transactionId)
The identifier of a Bitcoin transaction. It is generated when a transaction is created.
transactionId
- The identifier of a Bitcoin transaction. It is generated when a transaction is created.public String getTransactionId()
The identifier of a Bitcoin transaction. It is generated when a transaction is created.
public TransactionEvent withTransactionId(String transactionId)
The identifier of a Bitcoin transaction. It is generated when a transaction is created.
transactionId
- The identifier of a Bitcoin transaction. It is generated when a transaction is created.public void setVoutIndex(Integer voutIndex)
The position of the transaction output in the transaction output list.
voutIndex
- The position of the transaction output in the transaction output list.public Integer getVoutIndex()
The position of the transaction output in the transaction output list.
public TransactionEvent withVoutIndex(Integer voutIndex)
The position of the transaction output in the transaction output list.
voutIndex
- The position of the transaction output in the transaction output list.public void setVoutSpent(Boolean voutSpent)
Specifies if the transaction output is spent or unspent. This is only returned for BITCOIN_VOUT event types.
This is only returned for BITCOIN_VOUT
event types.
voutSpent
- Specifies if the transaction output is spent or unspent. This is only returned for BITCOIN_VOUT event
types.
This is only returned for BITCOIN_VOUT
event types.
public Boolean getVoutSpent()
Specifies if the transaction output is spent or unspent. This is only returned for BITCOIN_VOUT event types.
This is only returned for BITCOIN_VOUT
event types.
This is only returned for BITCOIN_VOUT
event types.
public TransactionEvent withVoutSpent(Boolean voutSpent)
Specifies if the transaction output is spent or unspent. This is only returned for BITCOIN_VOUT event types.
This is only returned for BITCOIN_VOUT
event types.
voutSpent
- Specifies if the transaction output is spent or unspent. This is only returned for BITCOIN_VOUT event
types.
This is only returned for BITCOIN_VOUT
event types.
public Boolean isVoutSpent()
Specifies if the transaction output is spent or unspent. This is only returned for BITCOIN_VOUT event types.
This is only returned for BITCOIN_VOUT
event types.
This is only returned for BITCOIN_VOUT
event types.
public void setSpentVoutTransactionId(String spentVoutTransactionId)
The transactionId that created the spent transaction output.
This is only returned for BITCOIN_VIN
event types.
spentVoutTransactionId
- The transactionId that created the spent transaction output.
This is only returned for BITCOIN_VIN
event types.
public String getSpentVoutTransactionId()
The transactionId that created the spent transaction output.
This is only returned for BITCOIN_VIN
event types.
This is only returned for BITCOIN_VIN
event types.
public TransactionEvent withSpentVoutTransactionId(String spentVoutTransactionId)
The transactionId that created the spent transaction output.
This is only returned for BITCOIN_VIN
event types.
spentVoutTransactionId
- The transactionId that created the spent transaction output.
This is only returned for BITCOIN_VIN
event types.
public void setSpentVoutTransactionHash(String spentVoutTransactionHash)
The transactionHash that created the spent transaction output.
This is only returned for BITCOIN_VIN
event types.
spentVoutTransactionHash
- The transactionHash that created the spent transaction output.
This is only returned for BITCOIN_VIN
event types.
public String getSpentVoutTransactionHash()
The transactionHash that created the spent transaction output.
This is only returned for BITCOIN_VIN
event types.
This is only returned for BITCOIN_VIN
event types.
public TransactionEvent withSpentVoutTransactionHash(String spentVoutTransactionHash)
The transactionHash that created the spent transaction output.
This is only returned for BITCOIN_VIN
event types.
spentVoutTransactionHash
- The transactionHash that created the spent transaction output.
This is only returned for BITCOIN_VIN
event types.
public void setSpentVoutIndex(Integer spentVoutIndex)
The position of the spent transaction output in the output list of the creating transaction.
This is only returned for BITCOIN_VIN
event types.
spentVoutIndex
- The position of the spent transaction output in the output list of the creating transaction.
This is only returned for BITCOIN_VIN
event types.
public Integer getSpentVoutIndex()
The position of the spent transaction output in the output list of the creating transaction.
This is only returned for BITCOIN_VIN
event types.
This is only returned for BITCOIN_VIN
event types.
public TransactionEvent withSpentVoutIndex(Integer spentVoutIndex)
The position of the spent transaction output in the output list of the creating transaction.
This is only returned for BITCOIN_VIN
event types.
spentVoutIndex
- The position of the spent transaction output in the output list of the creating transaction.
This is only returned for BITCOIN_VIN
event types.
public void setBlockchainInstant(BlockchainInstant blockchainInstant)
blockchainInstant
- public BlockchainInstant getBlockchainInstant()
public TransactionEvent withBlockchainInstant(BlockchainInstant blockchainInstant)
blockchainInstant
- public void setConfirmationStatus(String confirmationStatus)
This container specifies whether the transaction has reached Finality.
confirmationStatus
- This container specifies whether the transaction has reached Finality.ConfirmationStatus
public String getConfirmationStatus()
This container specifies whether the transaction has reached Finality.
ConfirmationStatus
public TransactionEvent withConfirmationStatus(String confirmationStatus)
This container specifies whether the transaction has reached Finality.
confirmationStatus
- This container specifies whether the transaction has reached Finality.ConfirmationStatus
public TransactionEvent withConfirmationStatus(ConfirmationStatus confirmationStatus)
This container specifies whether the transaction has reached Finality.
confirmationStatus
- This container specifies whether the transaction has reached Finality.ConfirmationStatus
public String toString()
toString
in class Object
Object.toString()
public TransactionEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.