Package org.stellar.sdk.xdr
Class SetOptionsOp
java.lang.Object
org.stellar.sdk.xdr.SetOptionsOp
SetOptionsOp's original definition in the XDR file is:
struct SetOptionsOp { AccountID* inflationDest; // sets the inflation destination uint32* clearFlags; // which flags to clear uint32* setFlags; // which flags to set // account threshold manipulation uint32* masterWeight; // weight of the master account uint32* lowThreshold; uint32* medThreshold; uint32* highThreshold; string32* homeDomain; // sets the home domain // Add, update or remove a signer for the account // signer is deleted if the weight is 0 Signer* signer; };
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static SetOptionsOp
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static SetOptionsOp
fromXdrBase64
(String xdr) static SetOptionsOp
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setClearFlags
(Uint32 clearFlags) void
setHighThreshold
(Uint32 highThreshold) void
setHomeDomain
(String32 homeDomain) void
setInflationDest
(AccountID inflationDest) void
setLowThreshold
(Uint32 lowThreshold) void
setMasterWeight
(Uint32 masterWeight) void
setMedThreshold
(Uint32 medThreshold) void
setSetFlags
(Uint32 setFlags) void
toString()
default String
default byte[]
-
Constructor Details
-
SetOptionsOp
public SetOptionsOp() -
SetOptionsOp
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getInflationDest
-
getClearFlags
-
getSetFlags
-
getMasterWeight
-
getLowThreshold
-
getMedThreshold
-
getHighThreshold
-
getHomeDomain
-
getSigner
-
setInflationDest
-
setClearFlags
-
setSetFlags
-
setMasterWeight
-
setLowThreshold
-
setMedThreshold
-
setHighThreshold
-
setHomeDomain
-
setSigner
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-