Package org.stellar.sdk.operations
Class SetTrustlineFlagsOperation
java.lang.Object
org.stellar.sdk.operations.Operation
org.stellar.sdk.operations.SetTrustlineFlagsOperation
Represents SetTrustlineFlags operation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSetTrustlineFlagsOperation.SetTrustlineFlagsOperationBuilder<C extends SetTrustlineFlagsOperation,B extends SetTrustlineFlagsOperation.SetTrustlineFlagsOperationBuilder<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()booleanstatic SetTrustlineFlagsOperationConstruct a newSetTrustlineFlagsOperationobject from aSetTrustLineFlagsOpXDR object.@NonNull AssetgetAsset()The asset trustline whose flags are being modified.@NonNull EnumSet<TrustLineFlags> One or more flags (combined via bitwise OR) indicating which flags to clear.@NonNull EnumSet<TrustLineFlags> One or more flags (combined via bitwise-OR) indicating which flags to set.@NonNull StringThe account owning of the trustline.inthashCode()toString()Methods inherited from class org.stellar.sdk.operations.Operation
fromXdr, getSourceAccount, setSourceAccount, toXdr, toXdrBase64
-
Method Details
-
fromXdr
Construct a newSetTrustlineFlagsOperationobject from aSetTrustLineFlagsOpXDR object.- Parameters:
op-SetTrustLineFlagsOpXDR object- Returns:
SetTrustlineFlagsOperationobject
-
builder
-
toBuilder
-
getTrustor
The account owning of the trustline. -
getAsset
The asset trustline whose flags are being modified. -
getSetFlags
One or more flags (combined via bitwise-OR) indicating which flags to set. -
getClearFlags
One or more flags (combined via bitwise OR) indicating which flags to clear. -
toString
-
equals
-
hashCode
public int hashCode()
-