Package org.stellar.sdk.xdr
Class OperationResult.OperationResultTr
java.lang.Object
org.stellar.sdk.xdr.OperationResult.OperationResultTr
- Enclosing class:
OperationResult
OperationResultTr's original definition in the XDR file is:
union switch (OperationType type) { case CREATE_ACCOUNT: CreateAccountResult createAccountResult; case PAYMENT: PaymentResult paymentResult; case PATH_PAYMENT_STRICT_RECEIVE: PathPaymentStrictReceiveResult pathPaymentStrictReceiveResult; case MANAGE_SELL_OFFER: ManageSellOfferResult manageSellOfferResult; case CREATE_PASSIVE_SELL_OFFER: ManageSellOfferResult createPassiveSellOfferResult; case SET_OPTIONS: SetOptionsResult setOptionsResult; case CHANGE_TRUST: ChangeTrustResult changeTrustResult; case ALLOW_TRUST: AllowTrustResult allowTrustResult; case ACCOUNT_MERGE: AccountMergeResult accountMergeResult; case INFLATION: InflationResult inflationResult; case MANAGE_DATA: ManageDataResult manageDataResult; case BUMP_SEQUENCE: BumpSequenceResult bumpSeqResult; case MANAGE_BUY_OFFER: ManageBuyOfferResult manageBuyOfferResult; case PATH_PAYMENT_STRICT_SEND: PathPaymentStrictSendResult pathPaymentStrictSendResult; case CREATE_CLAIMABLE_BALANCE: CreateClaimableBalanceResult createClaimableBalanceResult; case CLAIM_CLAIMABLE_BALANCE: ClaimClaimableBalanceResult claimClaimableBalanceResult; case BEGIN_SPONSORING_FUTURE_RESERVES: BeginSponsoringFutureReservesResult beginSponsoringFutureReservesResult; case END_SPONSORING_FUTURE_RESERVES: EndSponsoringFutureReservesResult endSponsoringFutureReservesResult; case REVOKE_SPONSORSHIP: RevokeSponsorshipResult revokeSponsorshipResult; case CLAWBACK: ClawbackResult clawbackResult; case CLAWBACK_CLAIMABLE_BALANCE: ClawbackClaimableBalanceResult clawbackClaimableBalanceResult; case SET_TRUST_LINE_FLAGS: SetTrustLineFlagsResult setTrustLineFlagsResult; case LIQUIDITY_POOL_DEPOSIT: LiquidityPoolDepositResult liquidityPoolDepositResult; case LIQUIDITY_POOL_WITHDRAW: LiquidityPoolWithdrawResult liquidityPoolWithdrawResult; case INVOKE_HOST_FUNCTION: InvokeHostFunctionResult invokeHostFunctionResult; case EXTEND_FOOTPRINT_TTL: ExtendFootprintTTLResult extendFootprintTTLResult; case RESTORE_FOOTPRINT: RestoreFootprintResult restoreFootprintResult; }
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionOperationResultTr
(OperationType discriminant, CreateAccountResult createAccountResult, PaymentResult paymentResult, PathPaymentStrictReceiveResult pathPaymentStrictReceiveResult, ManageSellOfferResult manageSellOfferResult, ManageSellOfferResult createPassiveSellOfferResult, SetOptionsResult setOptionsResult, ChangeTrustResult changeTrustResult, AllowTrustResult allowTrustResult, AccountMergeResult accountMergeResult, InflationResult inflationResult, ManageDataResult manageDataResult, BumpSequenceResult bumpSeqResult, ManageBuyOfferResult manageBuyOfferResult, PathPaymentStrictSendResult pathPaymentStrictSendResult, CreateClaimableBalanceResult createClaimableBalanceResult, ClaimClaimableBalanceResult claimClaimableBalanceResult, BeginSponsoringFutureReservesResult beginSponsoringFutureReservesResult, EndSponsoringFutureReservesResult endSponsoringFutureReservesResult, RevokeSponsorshipResult revokeSponsorshipResult, ClawbackResult clawbackResult, ClawbackClaimableBalanceResult clawbackClaimableBalanceResult, SetTrustLineFlagsResult setTrustLineFlagsResult, LiquidityPoolDepositResult liquidityPoolDepositResult, LiquidityPoolWithdrawResult liquidityPoolWithdrawResult, InvokeHostFunctionResult invokeHostFunctionResult, ExtendFootprintTTLResult extendFootprintTTLResult, RestoreFootprintResult restoreFootprintResult) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setAccountMergeResult
(AccountMergeResult accountMergeResult) void
setAllowTrustResult
(AllowTrustResult allowTrustResult) void
setBeginSponsoringFutureReservesResult
(BeginSponsoringFutureReservesResult beginSponsoringFutureReservesResult) void
setBumpSeqResult
(BumpSequenceResult bumpSeqResult) void
setChangeTrustResult
(ChangeTrustResult changeTrustResult) void
setClaimClaimableBalanceResult
(ClaimClaimableBalanceResult claimClaimableBalanceResult) void
setClawbackClaimableBalanceResult
(ClawbackClaimableBalanceResult clawbackClaimableBalanceResult) void
setClawbackResult
(ClawbackResult clawbackResult) void
setCreateAccountResult
(CreateAccountResult createAccountResult) void
setCreateClaimableBalanceResult
(CreateClaimableBalanceResult createClaimableBalanceResult) void
setCreatePassiveSellOfferResult
(ManageSellOfferResult createPassiveSellOfferResult) void
setDiscriminant
(OperationType discriminant) void
setEndSponsoringFutureReservesResult
(EndSponsoringFutureReservesResult endSponsoringFutureReservesResult) void
setExtendFootprintTTLResult
(ExtendFootprintTTLResult extendFootprintTTLResult) void
setInflationResult
(InflationResult inflationResult) void
setInvokeHostFunctionResult
(InvokeHostFunctionResult invokeHostFunctionResult) void
setLiquidityPoolDepositResult
(LiquidityPoolDepositResult liquidityPoolDepositResult) void
setLiquidityPoolWithdrawResult
(LiquidityPoolWithdrawResult liquidityPoolWithdrawResult) void
setManageBuyOfferResult
(ManageBuyOfferResult manageBuyOfferResult) void
setManageDataResult
(ManageDataResult manageDataResult) void
setManageSellOfferResult
(ManageSellOfferResult manageSellOfferResult) void
setPathPaymentStrictReceiveResult
(PathPaymentStrictReceiveResult pathPaymentStrictReceiveResult) void
setPathPaymentStrictSendResult
(PathPaymentStrictSendResult pathPaymentStrictSendResult) void
setPaymentResult
(PaymentResult paymentResult) void
setRestoreFootprintResult
(RestoreFootprintResult restoreFootprintResult) void
setRevokeSponsorshipResult
(RevokeSponsorshipResult revokeSponsorshipResult) void
setSetOptionsResult
(SetOptionsResult setOptionsResult) void
setSetTrustLineFlagsResult
(SetTrustLineFlagsResult setTrustLineFlagsResult) toString()
default String
default byte[]
-
Constructor Details
-
OperationResultTr
public OperationResultTr() -
OperationResultTr
public OperationResultTr(OperationType discriminant, CreateAccountResult createAccountResult, PaymentResult paymentResult, PathPaymentStrictReceiveResult pathPaymentStrictReceiveResult, ManageSellOfferResult manageSellOfferResult, ManageSellOfferResult createPassiveSellOfferResult, SetOptionsResult setOptionsResult, ChangeTrustResult changeTrustResult, AllowTrustResult allowTrustResult, AccountMergeResult accountMergeResult, InflationResult inflationResult, ManageDataResult manageDataResult, BumpSequenceResult bumpSeqResult, ManageBuyOfferResult manageBuyOfferResult, PathPaymentStrictSendResult pathPaymentStrictSendResult, CreateClaimableBalanceResult createClaimableBalanceResult, ClaimClaimableBalanceResult claimClaimableBalanceResult, BeginSponsoringFutureReservesResult beginSponsoringFutureReservesResult, EndSponsoringFutureReservesResult endSponsoringFutureReservesResult, RevokeSponsorshipResult revokeSponsorshipResult, ClawbackResult clawbackResult, ClawbackClaimableBalanceResult clawbackClaimableBalanceResult, SetTrustLineFlagsResult setTrustLineFlagsResult, LiquidityPoolDepositResult liquidityPoolDepositResult, LiquidityPoolWithdrawResult liquidityPoolWithdrawResult, InvokeHostFunctionResult invokeHostFunctionResult, ExtendFootprintTTLResult extendFootprintTTLResult, RestoreFootprintResult restoreFootprintResult)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
public static OperationResult.OperationResultTr decode(XdrDataInputStream stream) throws IOException - Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getCreateAccountResult
-
getPaymentResult
-
getPathPaymentStrictReceiveResult
-
getManageSellOfferResult
-
getCreatePassiveSellOfferResult
-
getSetOptionsResult
-
getChangeTrustResult
-
getAllowTrustResult
-
getAccountMergeResult
-
getInflationResult
-
getManageDataResult
-
getBumpSeqResult
-
getManageBuyOfferResult
-
getPathPaymentStrictSendResult
-
getCreateClaimableBalanceResult
-
getClaimClaimableBalanceResult
-
getBeginSponsoringFutureReservesResult
-
getEndSponsoringFutureReservesResult
-
getRevokeSponsorshipResult
-
getClawbackResult
-
getClawbackClaimableBalanceResult
-
getSetTrustLineFlagsResult
-
getLiquidityPoolDepositResult
-
getLiquidityPoolWithdrawResult
-
getInvokeHostFunctionResult
-
getExtendFootprintTTLResult
-
getRestoreFootprintResult
-
setDiscriminant
-
setCreateAccountResult
-
setPaymentResult
-
setPathPaymentStrictReceiveResult
public void setPathPaymentStrictReceiveResult(PathPaymentStrictReceiveResult pathPaymentStrictReceiveResult) -
setManageSellOfferResult
-
setCreatePassiveSellOfferResult
-
setSetOptionsResult
-
setChangeTrustResult
-
setAllowTrustResult
-
setAccountMergeResult
-
setInflationResult
-
setManageDataResult
-
setBumpSeqResult
-
setManageBuyOfferResult
-
setPathPaymentStrictSendResult
-
setCreateClaimableBalanceResult
public void setCreateClaimableBalanceResult(CreateClaimableBalanceResult createClaimableBalanceResult) -
setClaimClaimableBalanceResult
-
setBeginSponsoringFutureReservesResult
public void setBeginSponsoringFutureReservesResult(BeginSponsoringFutureReservesResult beginSponsoringFutureReservesResult) -
setEndSponsoringFutureReservesResult
public void setEndSponsoringFutureReservesResult(EndSponsoringFutureReservesResult endSponsoringFutureReservesResult) -
setRevokeSponsorshipResult
-
setClawbackResult
-
setClawbackClaimableBalanceResult
public void setClawbackClaimableBalanceResult(ClawbackClaimableBalanceResult clawbackClaimableBalanceResult) -
setSetTrustLineFlagsResult
-
setLiquidityPoolDepositResult
-
setLiquidityPoolWithdrawResult
-
setInvokeHostFunctionResult
-
setExtendFootprintTTLResult
-
setRestoreFootprintResult
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-