Package org.stellar.sdk.operations
Class Operation
java.lang.Object
org.stellar.sdk.operations.Operation
- Direct Known Subclasses:
AccountMergeOperation
,AllowTrustOperation
,BeginSponsoringFutureReservesOperation
,BumpSequenceOperation
,ChangeTrustOperation
,ClaimClaimableBalanceOperation
,ClawbackClaimableBalanceOperation
,ClawbackOperation
,CreateAccountOperation
,CreateClaimableBalanceOperation
,CreatePassiveSellOfferOperation
,EndSponsoringFutureReservesOperation
,ExtendFootprintTTLOperation
,InflationOperation
,InvokeHostFunctionOperation
,LiquidityPoolDepositOperation
,LiquidityPoolWithdrawOperation
,ManageBuyOfferOperation
,ManageDataOperation
,ManageSellOfferOperation
,PathPaymentStrictReceiveOperation
,PathPaymentStrictSendOperation
,PaymentOperation
,RestoreFootprintOperation
,RevokeAccountSponsorshipOperation
,RevokeClaimableBalanceSponsorshipOperation
,RevokeDataSponsorshipOperation
,RevokeOfferSponsorshipOperation
,RevokeSignerSponsorshipOperation
,RevokeTrustlineSponsorshipOperation
,SetOptionsOperation
,SetTrustlineFlagsOperation
Abstract class for operations.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Operation.OperationBuilder<C extends Operation,
B extends Operation.OperationBuilder<C, B>> -
Method Summary
Modifier and TypeMethodDescriptionboolean
static Operation
Returns new Operation object from Operation XDR object.The source account for the operation.int
hashCode()
void
setSourceAccount
(String sourceAccount) The source account for the operation.toXdr()
Generates Operation XDR object.Returns base64-encoded Operation XDR object.
-
Method Details
-
toXdr
Generates Operation XDR object. -
toXdrBase64
Returns base64-encoded Operation XDR object. -
fromXdr
Returns new Operation object from Operation XDR object.- Parameters:
xdr
- XDR object
-
equals
-
hashCode
public int hashCode() -
getSourceAccount
The source account for the operation. -
setSourceAccount
The source account for the operation.
-