Package org.stellar.sdk.xdr
Class TransactionResultMeta
java.lang.Object
org.stellar.sdk.xdr.TransactionResultMeta
- All Implemented Interfaces:
XdrElement
TransactionResultMeta's original definition in the XDR file is:
struct TransactionResultMeta
{
TransactionResultPair result;
LedgerEntryChanges feeProcessing;
TransactionMeta txApplyProcessing;
};
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface org.stellar.sdk.xdr.XdrElement
gson -
Constructor Summary
ConstructorsConstructorDescriptionTransactionResultMeta(TransactionResultPair result, LedgerEntryChanges feeProcessing, TransactionMeta txApplyProcessing) Creates a newTransactionResultMetainstance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static TransactionResultMetadecode(XdrDataInputStream stream) static TransactionResultMetadecode(XdrDataInputStream stream, int maxDepth) voidencode(XdrDataOutputStream stream) Encodes this value to XDR and writes it to the provided stream.booleanstatic TransactionResultMetastatic TransactionResultMetafromXdrBase64(String xdr) static TransactionResultMetafromXdrByteArray(byte[] xdr) Value of thefeeProcessingfield.Value of theresultfield.Value of thetxApplyProcessingfield.inthashCode()voidsetFeeProcessing(LedgerEntryChanges feeProcessing) Value of thefeeProcessingfield.voidsetResult(TransactionResultPair result) Value of theresultfield.voidsetTxApplyProcessing(TransactionMeta txApplyProcessing) Value of thetxApplyProcessingfield.toJson()Serializes this value to JSON.toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
TransactionResultMeta
public TransactionResultMeta() -
TransactionResultMeta
public TransactionResultMeta(TransactionResultPair result, LedgerEntryChanges feeProcessing, TransactionMeta txApplyProcessing) Creates a newTransactionResultMetainstance.- Parameters:
result- theresultfield valuefeeProcessing- thefeeProcessingfield valuetxApplyProcessing- thetxApplyProcessingfield value
-
-
Method Details
-
encode
Description copied from interface:XdrElementEncodes this value to XDR and writes it to the provided stream.- Specified by:
encodein interfaceXdrElement- Parameters:
stream- the destination XDR output stream- Throws:
IOException- if an I/O error occurs while writing the value
-
decode
public static TransactionResultMeta decode(XdrDataInputStream stream, int maxDepth) throws IOException - Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
toJson
Description copied from interface:XdrElementSerializes this value to JSON.- Specified by:
toJsonin interfaceXdrElement- Returns:
- the JSON representation of this value
-
fromJson
-
builder
-
toBuilder
-
getResult
Value of theresultfield.- Returns:
- the
resultfield value
-
getFeeProcessing
Value of thefeeProcessingfield.- Returns:
- the
feeProcessingfield value
-
getTxApplyProcessing
Value of thetxApplyProcessingfield.- Returns:
- the
txApplyProcessingfield value
-
setResult
Value of theresultfield.- Parameters:
result- theresultfield value
-
setFeeProcessing
Value of thefeeProcessingfield.- Parameters:
feeProcessing- thefeeProcessingfield value
-
setTxApplyProcessing
Value of thetxApplyProcessingfield.- Parameters:
txApplyProcessing- thetxApplyProcessingfield value
-
equals
-
hashCode
public int hashCode() -
toString
-