Package org.stellar.sdk.xdr
Class SetOptionsOp
java.lang.Object
org.stellar.sdk.xdr.SetOptionsOp
- All Implemented Interfaces:
XdrElement
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
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static SetOptionsOpdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic SetOptionsOpfromXdrBase64(String xdr) static SetOptionsOpfromXdrByteArray(byte[] xdr) inthashCode()voidsetClearFlags(Uint32 clearFlags) voidsetHighThreshold(Uint32 highThreshold) voidsetHomeDomain(String32 homeDomain) voidsetInflationDest(AccountID inflationDest) voidsetLowThreshold(Uint32 lowThreshold) voidsetMasterWeight(Uint32 masterWeight) voidsetMedThreshold(Uint32 medThreshold) voidsetSetFlags(Uint32 setFlags) voidtoString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
SetOptionsOp
public SetOptionsOp() -
SetOptionsOp
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- 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
-