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
Modifier and TypeClassDescriptionstatic class
RevokeTrustlineSponsorshipOperation.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()
boolean
Construct a newRevokeTrustlineSponsorshipOperation
object from aRevokeSponsorshipOp
XDR object.@NonNull String
The account whose trustline will be revoked.@NonNull TrustLineAsset
getAsset()
The asset of the trustline which will be revoked.int
hashCode()
toString()
Methods inherited from class org.stellar.sdk.operations.Operation
fromXdr, getSourceAccount, setSourceAccount, toXdr, toXdrBase64
-
Method Details
-
fromXdr
Construct a newRevokeTrustlineSponsorshipOperation
object from aRevokeSponsorshipOp
XDR object.- Parameters:
op
-RevokeSponsorshipOp
XDR object- Returns:
RevokeTrustlineSponsorshipOperation
object
-
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()
-