public class SetTrustlineFlagsOperation extends Operation
Modifier and Type | Class and Description |
---|---|
static class |
SetTrustlineFlagsOperation.SetTrustlineFlagsOperationBuilder<C extends SetTrustlineFlagsOperation,B extends SetTrustlineFlagsOperation.SetTrustlineFlagsOperationBuilder<C,B>> |
Operation.OperationBuilder<C extends Operation,B extends Operation.OperationBuilder<C,B>>
Modifier and Type | Method and Description |
---|---|
static SetTrustlineFlagsOperation.SetTrustlineFlagsOperationBuilder<?,?> |
builder() |
boolean |
equals(java.lang.Object o) |
static SetTrustlineFlagsOperation |
fromXdr(SetTrustLineFlagsOp op)
Construct a new
SetTrustlineFlagsOperation object from a SetTrustLineFlagsOp
XDR object. |
@NonNull Asset |
getAsset()
The asset trustline whose flags are being modified.
|
@NonNull java.util.EnumSet<TrustLineFlags> |
getClearFlags()
One or more flags (combined via bitwise OR) indicating which flags to clear.
|
@NonNull java.util.EnumSet<TrustLineFlags> |
getSetFlags()
One or more flags (combined via bitwise-OR) indicating which flags to set.
|
@NonNull java.lang.String |
getTrustor()
The account owning of the trustline.
|
int |
hashCode() |
SetTrustlineFlagsOperation.SetTrustlineFlagsOperationBuilder<?,?> |
toBuilder() |
java.lang.String |
toString() |
formatAmountScale, fromXdr, fromXdrAmount, getSourceAccount, setSourceAccount, toXdr, toXdrAmount, toXdrBase64
public static SetTrustlineFlagsOperation fromXdr(SetTrustLineFlagsOp op)
SetTrustlineFlagsOperation
object from a SetTrustLineFlagsOp
XDR object.op
- SetTrustLineFlagsOp
XDR objectSetTrustlineFlagsOperation
objectpublic static SetTrustlineFlagsOperation.SetTrustlineFlagsOperationBuilder<?,?> builder()
public SetTrustlineFlagsOperation.SetTrustlineFlagsOperationBuilder<?,?> toBuilder()
@NonNull public @NonNull java.lang.String getTrustor()
@NonNull public @NonNull Asset getAsset()
@NonNull public @NonNull java.util.EnumSet<TrustLineFlags> getSetFlags()
@NonNull public @NonNull java.util.EnumSet<TrustLineFlags> getClearFlags()
public java.lang.String toString()
toString
in class java.lang.Object