Package org.stellar.sdk.xdr
Class InnerTransactionResult.InnerTransactionResultResult
java.lang.Object
org.stellar.sdk.xdr.InnerTransactionResult.InnerTransactionResultResult
- Enclosing class:
InnerTransactionResult
InnerTransactionResultResult's original definition in the XDR file is:
union switch (TransactionResultCode code) { // txFEE_BUMP_INNER_SUCCESS is not included case txSUCCESS: case txFAILED: OperationResult results<>; case txTOO_EARLY: case txTOO_LATE: case txMISSING_OPERATION: case txBAD_SEQ: case txBAD_AUTH: case txINSUFFICIENT_BALANCE: case txNO_ACCOUNT: case txINSUFFICIENT_FEE: case txBAD_AUTH_EXTRA: case txINTERNAL_ERROR: case txNOT_SUPPORTED: // txFEE_BUMP_INNER_FAILED is not included case txBAD_SPONSORSHIP: case txBAD_MIN_SEQ_AGE_OR_GAP: case txMALFORMED: case txSOROBAN_INVALID: void; }
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionInnerTransactionResultResult
(TransactionResultCode discriminant, OperationResult[] results) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setDiscriminant
(TransactionResultCode discriminant) void
setResults
(OperationResult[] results) toString()
default String
default byte[]
-
Constructor Details
-
InnerTransactionResultResult
public InnerTransactionResultResult() -
InnerTransactionResultResult
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
public static InnerTransactionResult.InnerTransactionResultResult decode(XdrDataInputStream stream) throws IOException - Throws:
IOException
-
fromXdrBase64
public static InnerTransactionResult.InnerTransactionResultResult fromXdrBase64(String xdr) throws IOException - Throws:
IOException
-
fromXdrByteArray
public static InnerTransactionResult.InnerTransactionResultResult fromXdrByteArray(byte[] xdr) throws IOException - Throws:
IOException
-
builder
public static InnerTransactionResult.InnerTransactionResultResult.InnerTransactionResultResultBuilder builder() -
toBuilder
-
getDiscriminant
-
getResults
-
setDiscriminant
-
setResults
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-