Package org.stellar.sdk.operations
Class RevokeTrustlineSponsorshipOperation
java.lang.Object
org.stellar.sdk.operations.Operation
org.stellar.sdk.operations.RevokeTrustlineSponsorshipOperation
Represents Revoke sponsorship operation.
Revokes the sponsorship of a trustline entry.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRevokeTrustlineSponsorshipOperation.RevokeTrustlineSponsorshipOperationBuilder<C extends RevokeTrustlineSponsorshipOperation,B extends RevokeTrustlineSponsorshipOperation.RevokeTrustlineSponsorshipOperationBuilder<C, B>> Nested classes/interfaces inherited from class org.stellar.sdk.operations.Operation
Operation.OperationBuilder<C extends Operation,B extends Operation.OperationBuilder<C, B>> -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanConstruct a newRevokeTrustlineSponsorshipOperationobject from aRevokeSponsorshipOpXDR object.@NonNull StringThe account whose trustline will be revoked.@NonNull TrustLineAssetgetAsset()The asset of the trustline which will be revoked.inthashCode()toString()Methods inherited from class org.stellar.sdk.operations.Operation
fromXdr, getSourceAccount, setSourceAccount, toXdr, toXdrBase64
-
Method Details
-
fromXdr
Construct a newRevokeTrustlineSponsorshipOperationobject from aRevokeSponsorshipOpXDR object.- Parameters:
op-RevokeSponsorshipOpXDR object- Returns:
RevokeTrustlineSponsorshipOperationobject
-
builder
public static RevokeTrustlineSponsorshipOperation.RevokeTrustlineSponsorshipOperationBuilder<?,?> builder() -
toBuilder
public RevokeTrustlineSponsorshipOperation.RevokeTrustlineSponsorshipOperationBuilder<?,?> toBuilder() -
getAccountId
The account whose trustline will be revoked. -
getAsset
The asset of the trustline which will be revoked. -
toString
-
equals
-
hashCode
public int hashCode()
-