public class SetOptionsOp extends java.lang.Object implements XdrElement
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;
};
| Modifier and Type | Class and Description |
|---|---|
static class |
SetOptionsOp.SetOptionsOpBuilder |
| Constructor and Description |
|---|
SetOptionsOp() |
SetOptionsOp(AccountID inflationDest,
Uint32 clearFlags,
Uint32 setFlags,
Uint32 masterWeight,
Uint32 lowThreshold,
Uint32 medThreshold,
Uint32 highThreshold,
String32 homeDomain,
Signer signer) |
toXdrBase64, toXdrByteArraypublic void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static SetOptionsOp decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic static SetOptionsOp fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static SetOptionsOp fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOExceptionpublic static SetOptionsOp.SetOptionsOpBuilder builder()
public SetOptionsOp.SetOptionsOpBuilder toBuilder()
public AccountID getInflationDest()
public Uint32 getClearFlags()
public Uint32 getSetFlags()
public Uint32 getMasterWeight()
public Uint32 getLowThreshold()
public Uint32 getMedThreshold()
public Uint32 getHighThreshold()
public String32 getHomeDomain()
public Signer getSigner()
public void setInflationDest(AccountID inflationDest)
public void setClearFlags(Uint32 clearFlags)
public void setSetFlags(Uint32 setFlags)
public void setMasterWeight(Uint32 masterWeight)
public void setLowThreshold(Uint32 lowThreshold)
public void setMedThreshold(Uint32 medThreshold)
public void setHighThreshold(Uint32 highThreshold)
public void setHomeDomain(String32 homeDomain)
public void setSigner(Signer signer)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object