Class ChangeTrustOperation

java.lang.Object
org.stellar.sdk.Operation
org.stellar.sdk.ChangeTrustOperation

public class ChangeTrustOperation extends Operation
Represents ChangeTrust operation.
  • Method Details

    • getAsset

      @NonNull public @NonNull ChangeTrustAsset getAsset()
      The asset of the trustline. For example, if a gateway extends a trustline of up to 200 USD to a user, the line is USD.
    • getLimit

      @NonNull public @NonNull String getLimit()
      The limit of the trustline. For example, if a gateway extends a trustline of up to 200 USD to a user, the limit is 200.
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Operation