public class TransactionResultPair extends java.lang.Object implements XdrElement
struct TransactionResultPair { Hash transactionHash; TransactionResult result; // result for the transaction };
Modifier and Type | Class and Description |
---|---|
static class |
TransactionResultPair.TransactionResultPairBuilder |
Constructor and Description |
---|
TransactionResultPair() |
TransactionResultPair(Hash transactionHash,
TransactionResult result) |
Modifier and Type | Method and Description |
---|---|
static TransactionResultPair.TransactionResultPairBuilder |
builder() |
static TransactionResultPair |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static TransactionResultPair |
fromXdrBase64(java.lang.String xdr) |
static TransactionResultPair |
fromXdrByteArray(byte[] xdr) |
TransactionResult |
getResult() |
Hash |
getTransactionHash() |
int |
hashCode() |
void |
setResult(TransactionResult result) |
void |
setTransactionHash(Hash transactionHash) |
TransactionResultPair.TransactionResultPairBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public TransactionResultPair()
public TransactionResultPair(Hash transactionHash, TransactionResult result)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static TransactionResultPair decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static TransactionResultPair fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static TransactionResultPair fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static TransactionResultPair.TransactionResultPairBuilder builder()
public TransactionResultPair.TransactionResultPairBuilder toBuilder()
public Hash getTransactionHash()
public TransactionResult getResult()
public void setTransactionHash(Hash transactionHash)
public void setResult(TransactionResult result)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object