Package org.stellar.sdk.xdr
Class SetTrustLineFlagsOp
java.lang.Object
org.stellar.sdk.xdr.SetTrustLineFlagsOp
SetTrustLineFlagsOp's original definition in the XDR file is:
struct SetTrustLineFlagsOp { AccountID trustor; Asset asset; uint32 clearFlags; // which flags to clear uint32 setFlags; // which flags to set };
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionSetTrustLineFlagsOp
(AccountID trustor, Asset asset, Uint32 clearFlags, Uint32 setFlags) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static SetTrustLineFlagsOp
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static SetTrustLineFlagsOp
fromXdrBase64
(String xdr) static SetTrustLineFlagsOp
fromXdrByteArray
(byte[] xdr) getAsset()
int
hashCode()
void
void
setClearFlags
(Uint32 clearFlags) void
setSetFlags
(Uint32 setFlags) void
setTrustor
(AccountID trustor) toString()
default String
default byte[]
-
Constructor Details
-
SetTrustLineFlagsOp
public SetTrustLineFlagsOp() -
SetTrustLineFlagsOp
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getTrustor
-
getAsset
-
getClearFlags
-
getSetFlags
-
setTrustor
-
setAsset
-
setClearFlags
-
setSetFlags
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-