Class SetOptionsOperation

java.lang.Object
org.stellar.sdk.operations.Operation
org.stellar.sdk.operations.SetOptionsOperation

public class SetOptionsOperation extends Operation
Represents SetOptions operation.
  • Method Details

    • fromXdr

      public static SetOptionsOperation fromXdr(SetOptionsOp op)
      Construct a new SetOptionsOperation object from a SetOptionsOp XDR object.
      Parameters:
      op - SetOptionsOp XDR object
      Returns:
      SetOptionsOperation object
    • builder

      public static SetOptionsOperation.SetOptionsOperationBuilder<?,?> builder()
    • toBuilder

    • getInflationDestination

      @Nullable public String getInflationDestination()
      Account of the inflation destination.
    • getClearFlags

      @Nullable public Integer getClearFlags()
      Indicates which flags to clear. For details about the flags, please refer to the accounts doc. You can also use AccountFlag enum.
    • getSetFlags

      @Nullable public Integer getSetFlags()
      Indicates which flags to set. For details about the flags, please refer to the accounts doc. You can also use AccountFlag enum.
    • getMasterKeyWeight

      @Nullable public Integer getMasterKeyWeight()
      Weight of the master key.
    • getLowThreshold

      @Nullable public Integer getLowThreshold()
      A number from 0-255 representing the threshold this account sets on all operations it performs that have a low threshold.
    • getMediumThreshold

      @Nullable public Integer getMediumThreshold()
      A number from 0-255 representing the threshold this account sets on all operations it performs that have a medium threshold.
    • getHighThreshold

      @Nullable public Integer getHighThreshold()
      A number from 0-255 representing the threshold this account sets on all operations it performs that have a high threshold.
    • getHomeDomain

      @Nullable public String getHomeDomain()
      The home domain of an account.
    • getSigner

      @Nullable public SignerKey getSigner()
      Additional signer added/removed in this operation.
    • getSignerWeight

      @Nullable public Integer getSignerWeight()
      Additional signer weight. The signer is deleted if the weight is 0.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Operation
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Operation