Package org.stellar.sdk.xdr
Class TransactionResultMetaV1
java.lang.Object
org.stellar.sdk.xdr.TransactionResultMetaV1
- All Implemented Interfaces:
XdrElement
TransactionResultMetaV1's original definition in the XDR file is:
struct TransactionResultMetaV1
{
ExtensionPoint ext;
TransactionResultPair result;
LedgerEntryChanges feeProcessing;
TransactionMeta txApplyProcessing;
LedgerEntryChanges postTxApplyFeeProcessing;
};
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields inherited from interface org.stellar.sdk.xdr.XdrElement
gson -
Constructor Summary
ConstructorsConstructorDescriptionTransactionResultMetaV1(ExtensionPoint ext, TransactionResultPair result, LedgerEntryChanges feeProcessing, TransactionMeta txApplyProcessing, LedgerEntryChanges postTxApplyFeeProcessing) Creates a newTransactionResultMetaV1instance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static TransactionResultMetaV1decode(XdrDataInputStream stream) static TransactionResultMetaV1decode(XdrDataInputStream stream, int maxDepth) voidencode(XdrDataOutputStream stream) Encodes this value to XDR and writes it to the provided stream.booleanstatic TransactionResultMetaV1static TransactionResultMetaV1fromXdrBase64(String xdr) static TransactionResultMetaV1fromXdrByteArray(byte[] xdr) getExt()Value of theextfield.Value of thefeeProcessingfield.Value of thepostTxApplyFeeProcessingfield.Value of theresultfield.Value of thetxApplyProcessingfield.inthashCode()voidsetExt(ExtensionPoint ext) Value of theextfield.voidsetFeeProcessing(LedgerEntryChanges feeProcessing) Value of thefeeProcessingfield.voidsetPostTxApplyFeeProcessing(LedgerEntryChanges postTxApplyFeeProcessing) Value of thepostTxApplyFeeProcessingfield.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
-
TransactionResultMetaV1
public TransactionResultMetaV1() -
TransactionResultMetaV1
public TransactionResultMetaV1(ExtensionPoint ext, TransactionResultPair result, LedgerEntryChanges feeProcessing, TransactionMeta txApplyProcessing, LedgerEntryChanges postTxApplyFeeProcessing) Creates a newTransactionResultMetaV1instance.- Parameters:
ext- theextfield valueresult- theresultfield valuefeeProcessing- thefeeProcessingfield valuetxApplyProcessing- thetxApplyProcessingfield valuepostTxApplyFeeProcessing- thepostTxApplyFeeProcessingfield 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 TransactionResultMetaV1 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
-
getExt
Value of theextfield.- Returns:
- the
extfield value
-
getResult
Value of theresultfield.- Returns:
- the
resultfield value
-
getFeeProcessing
Value of thefeeProcessingfield.- Returns:
- the
feeProcessingfield value
-
getTxApplyProcessing
Value of thetxApplyProcessingfield.- Returns:
- the
txApplyProcessingfield value
-
getPostTxApplyFeeProcessing
Value of thepostTxApplyFeeProcessingfield.- Returns:
- the
postTxApplyFeeProcessingfield value
-
setExt
Value of theextfield.- Parameters:
ext- theextfield 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
-
setPostTxApplyFeeProcessing
Value of thepostTxApplyFeeProcessingfield.- Parameters:
postTxApplyFeeProcessing- thepostTxApplyFeeProcessingfield value
-
equals
-
hashCode
public int hashCode() -
toString
-