Enum Class AccountFlags

java.lang.Object
java.lang.Enum<AccountFlags>
org.stellar.sdk.xdr.AccountFlags
All Implemented Interfaces:
Serializable, Comparable<AccountFlags>, Constable

public enum AccountFlags extends Enum<AccountFlags>
AccountFlags's original definition in the XDR file is:
 enum AccountFlags
 { // masks for each flag

     // Flags set on issuer accounts
     // TrustLines are created with authorized set to "false" requiring
     // the issuer to set it for each TrustLine
     AUTH_REQUIRED_FLAG = 0x1,
     // If set, the authorized flag in TrustLines can be cleared
     // otherwise, authorization cannot be revoked
     AUTH_REVOCABLE_FLAG = 0x2,
     // Once set, causes all AUTH_* flags to be read-only
     AUTH_IMMUTABLE_FLAG = 0x4,
     // Trustlines are created with clawback enabled set to "true",
     // and claimable balances created from those trustlines are created
     // with clawback enabled set to "true"
     AUTH_CLAWBACK_ENABLED_FLAG = 0x8
 };
 
  • Enum Constant Details

    • AUTH_REQUIRED_FLAG

      public static final AccountFlags AUTH_REQUIRED_FLAG
    • AUTH_REVOCABLE_FLAG

      public static final AccountFlags AUTH_REVOCABLE_FLAG
    • AUTH_IMMUTABLE_FLAG

      public static final AccountFlags AUTH_IMMUTABLE_FLAG
    • AUTH_CLAWBACK_ENABLED_FLAG

      public static final AccountFlags AUTH_CLAWBACK_ENABLED_FLAG
  • Method Details