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
Nested ClassesModifier and TypeClassDescriptionstatic classSetOptionsOperation.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()booleanstatic SetOptionsOperationfromXdr(SetOptionsOp op) Construct a newSetOptionsOperationobject from aSetOptionsOpXDR 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.inthashCode()toString()Methods inherited from class org.stellar.sdk.operations.Operation
formatAmountScale, fromXdr, fromXdrAmount, getSourceAccount, setSourceAccount, toXdr, toXdrAmount, toXdrBase64
-
Method Details
-
fromXdr
Construct a newSetOptionsOperationobject from aSetOptionsOpXDR object.- Parameters:
op-SetOptionsOpXDR object- Returns:
SetOptionsOperationobject
-
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 useAccountFlagenum. -
getSetFlags
Indicates which flags to set. For details about the flags, please refer to the accounts doc. You can also useAccountFlagenum. -
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()
-