public class RevokeTrustlineSponsorshipOperation extends Operation
Revokes the sponsorship of a trustline entry.
Modifier and Type | Class and Description |
---|---|
static class |
RevokeTrustlineSponsorshipOperation.RevokeTrustlineSponsorshipOperationBuilder<C extends RevokeTrustlineSponsorshipOperation,B extends RevokeTrustlineSponsorshipOperation.RevokeTrustlineSponsorshipOperationBuilder<C,B>> |
Operation.OperationBuilder<C extends Operation,B extends Operation.OperationBuilder<C,B>>
Modifier and Type | Method and Description |
---|---|
static RevokeTrustlineSponsorshipOperation.RevokeTrustlineSponsorshipOperationBuilder<?,?> |
builder() |
boolean |
equals(java.lang.Object o) |
static RevokeTrustlineSponsorshipOperation |
fromXdr(RevokeSponsorshipOp op)
Construct a new
RevokeTrustlineSponsorshipOperation object from a RevokeSponsorshipOp XDR object. |
@NonNull java.lang.String |
getAccountId()
The account whose trustline will be revoked.
|
@NonNull TrustLineAsset |
getAsset()
The asset of the trustline which will be revoked.
|
int |
hashCode() |
RevokeTrustlineSponsorshipOperation.RevokeTrustlineSponsorshipOperationBuilder<?,?> |
toBuilder() |
java.lang.String |
toString() |
formatAmountScale, fromXdr, fromXdrAmount, getSourceAccount, setSourceAccount, toXdr, toXdrAmount, toXdrBase64
public static RevokeTrustlineSponsorshipOperation fromXdr(RevokeSponsorshipOp op)
RevokeTrustlineSponsorshipOperation
object from a RevokeSponsorshipOp
XDR object.op
- RevokeSponsorshipOp
XDR objectRevokeTrustlineSponsorshipOperation
objectpublic static RevokeTrustlineSponsorshipOperation.RevokeTrustlineSponsorshipOperationBuilder<?,?> builder()
public RevokeTrustlineSponsorshipOperation.RevokeTrustlineSponsorshipOperationBuilder<?,?> toBuilder()
@NonNull public @NonNull java.lang.String getAccountId()
@NonNull public @NonNull TrustLineAsset getAsset()
public java.lang.String toString()
toString
in class java.lang.Object