Package org.stellar.sdk.operations
Class SetOptionsOperation
java.lang.Object
org.stellar.sdk.operations.Operation
org.stellar.sdk.operations.SetOptionsOperation
Represents SetOptions
operation.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
SetOptionsOperation.SetOptionsOperationBuilder<C extends SetOptionsOperation,
B extends SetOptionsOperation.SetOptionsOperationBuilder<C, B>> Nested classes/interfaces inherited from class org.stellar.sdk.operations.Operation
Operation.OperationBuilder<C extends Operation,
B extends Operation.OperationBuilder<C, B>> -
Method Summary
Modifier and TypeMethodDescriptionstatic SetOptionsOperation.SetOptionsOperationBuilder
<?, ?> builder()
boolean
static SetOptionsOperation
fromXdr
(SetOptionsOp op) Construct a newSetOptionsOperation
object from aSetOptionsOp
XDR object.Indicates which flags to clear.A number from 0-255 representing the threshold this account sets on all operations it performs that have a high threshold.The home domain of an account.Account of the inflation destination.A number from 0-255 representing the threshold this account sets on all operations it performs that have a low threshold.Weight of the master key.A number from 0-255 representing the threshold this account sets on all operations it performs that have a medium threshold.Indicates which flags to set.Additional signer added/removed in this operation.Additional signer weight.int
hashCode()
toString()
Methods inherited from class org.stellar.sdk.operations.Operation
fromXdr, getSourceAccount, setSourceAccount, toXdr, toXdrBase64
-
Method Details
-
fromXdr
Construct a newSetOptionsOperation
object from aSetOptionsOp
XDR object.- Parameters:
op
-SetOptionsOp
XDR object- Returns:
SetOptionsOperation
object
-
builder
-
toBuilder
-
getInflationDestination
Account of the inflation destination. -
getClearFlags
Indicates which flags to clear. For details about the flags, please refer to the accounts doc. You can also useAccountFlag
enum. -
getSetFlags
Indicates which flags to set. For details about the flags, please refer to the accounts doc. You can also useAccountFlag
enum. -
getMasterKeyWeight
Weight of the master key. -
getLowThreshold
A number from 0-255 representing the threshold this account sets on all operations it performs that have a low threshold. -
getMediumThreshold
A number from 0-255 representing the threshold this account sets on all operations it performs that have a medium threshold. -
getHighThreshold
A number from 0-255 representing the threshold this account sets on all operations it performs that have a high threshold. -
getHomeDomain
The home domain of an account. -
getSigner
Additional signer added/removed in this operation. -
getSignerWeight
Additional signer weight. The signer is deleted if the weight is 0. -
toString
-
equals
-
hashCode
public int hashCode()
-