Package org.stellar.sdk.xdr
Class InnerTransactionResult
java.lang.Object
org.stellar.sdk.xdr.InnerTransactionResult
InnerTransactionResult's original definition in the XDR file is:
struct InnerTransactionResult
{
// Always 0. Here for binary compatibility.
int64 feeCharged;
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;
}
result;
// reserved for future use
union switch (int v)
{
case 0:
void;
}
ext;
};
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classInnerTransactionResultExt's original definition in the XDR file is:static classInnerTransactionResultResult's original definition in the XDR file is: -
Constructor Summary
ConstructorsConstructorDescriptionInnerTransactionResult(Int64 feeCharged, InnerTransactionResult.InnerTransactionResultResult result, InnerTransactionResult.InnerTransactionResultExt ext) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static InnerTransactionResultdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic InnerTransactionResultfromXdrBase64(String xdr) static InnerTransactionResultfromXdrByteArray(byte[] xdr) getExt()inthashCode()voidvoidsetFeeCharged(Int64 feeCharged) voidtoString()default Stringdefault byte[]
-
Constructor Details
-
InnerTransactionResult
public InnerTransactionResult() -
InnerTransactionResult
public InnerTransactionResult(Int64 feeCharged, InnerTransactionResult.InnerTransactionResultResult result, InnerTransactionResult.InnerTransactionResultExt ext)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getFeeCharged
-
getResult
-
getExt
-
setFeeCharged
-
setResult
-
setExt
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-