public class SetOptionsOperation extends Operation
Modifier and Type | Class and Description |
---|---|
static class |
SetOptionsOperation.SetOptionsOperationBuilder<C extends SetOptionsOperation,B extends SetOptionsOperation.SetOptionsOperationBuilder<C,B>> |
Operation.OperationBuilder<C extends Operation,B extends Operation.OperationBuilder<C,B>>
Modifier and Type | Method and Description |
---|---|
static SetOptionsOperation.SetOptionsOperationBuilder<?,?> |
builder() |
boolean |
equals(java.lang.Object o) |
static SetOptionsOperation |
fromXdr(SetOptionsOp op)
Construct a new
SetOptionsOperation object from a SetOptionsOp XDR object. |
java.lang.Integer |
getClearFlags()
Indicates which flags to clear.
|
java.lang.Integer |
getHighThreshold()
A number from 0-255 representing the threshold this account sets on all operations it performs
that have a
high threshold.
|
java.lang.String |
getHomeDomain()
The home domain of an account.
|
java.lang.String |
getInflationDestination()
Account of the inflation destination.
|
java.lang.Integer |
getLowThreshold()
A number from 0-255 representing the threshold this account sets on all operations it performs
that have a
low threshold.
|
java.lang.Integer |
getMasterKeyWeight()
Weight of the master key.
|
java.lang.Integer |
getMediumThreshold()
A number from 0-255 representing the threshold this account sets on all operations it performs
that have a
medium threshold.
|
java.lang.Integer |
getSetFlags()
Indicates which flags to set.
|
SignerKey |
getSigner()
Additional signer added/removed in this operation.
|
java.lang.Integer |
getSignerWeight()
Additional signer weight.
|
int |
hashCode() |
SetOptionsOperation.SetOptionsOperationBuilder<?,?> |
toBuilder() |
java.lang.String |
toString() |
formatAmountScale, fromXdr, fromXdrAmount, getSourceAccount, setSourceAccount, toXdr, toXdrAmount, toXdrBase64
public static SetOptionsOperation fromXdr(SetOptionsOp op)
SetOptionsOperation
object from a SetOptionsOp
XDR object.op
- SetOptionsOp
XDR objectSetOptionsOperation
objectpublic static SetOptionsOperation.SetOptionsOperationBuilder<?,?> builder()
public SetOptionsOperation.SetOptionsOperationBuilder<?,?> toBuilder()
@Nullable public java.lang.String getInflationDestination()
@Nullable public java.lang.Integer getClearFlags()
AccountFlag
enum.@Nullable public java.lang.Integer getSetFlags()
AccountFlag
enum.@Nullable public java.lang.Integer getMasterKeyWeight()
@Nullable public java.lang.Integer getLowThreshold()
@Nullable public java.lang.Integer getMediumThreshold()
@Nullable public java.lang.Integer getHighThreshold()
@Nullable public java.lang.String getHomeDomain()
@Nullable public SignerKey getSigner()
@Nullable public java.lang.Integer getSignerWeight()
public java.lang.String toString()
toString
in class java.lang.Object