Class AllowTrustOperation

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

@Deprecated public class AllowTrustOperation extends Operation
Deprecated.
As of release 0.24.0, replaced by SetTrustlineFlagsOperation

Represents AllowTrust operation.

  • Method Details

    • getAuthorize

      public boolean getAuthorize()
      Deprecated.
    • equals

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

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Operation
    • getTrustor

      @NonNull public @NonNull String getTrustor()
      Deprecated.
      The account of the recipient of the trustline.
    • getAssetCode

      @NonNull public @NonNull String getAssetCode()
      Deprecated.
      The asset of the trustline the source account is authorizing. For example, if a gateway wants to allow another account to hold its USD credit, the type is USD.
    • isAuthorizeToMaintainLiabilities

      public boolean isAuthorizeToMaintainLiabilities()
      Deprecated.
      Flag indicating whether the trustline is authorized to maintain liabilities.