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
Modifier and TypeClassDescriptionstatic class
SetTrustlineFlagsOperation.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()
boolean
static SetTrustlineFlagsOperation
Construct a newSetTrustlineFlagsOperation
object from aSetTrustLineFlagsOp
XDR object.@NonNull Asset
getAsset()
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 String
The account owning of the trustline.int
hashCode()
toString()
Methods inherited from class org.stellar.sdk.operations.Operation
fromXdr, getSourceAccount, setSourceAccount, toXdr, toXdrBase64
-
Method Details
-
fromXdr
Construct a newSetTrustlineFlagsOperation
object from aSetTrustLineFlagsOp
XDR object.- Parameters:
op
-SetTrustLineFlagsOp
XDR object- Returns:
SetTrustlineFlagsOperation
object
-
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()
-