Class AllowTrustOp

java.lang.Object
org.stellar.sdk.xdr.AllowTrustOp
All Implemented Interfaces:
XdrElement

public class AllowTrustOp extends Object implements XdrElement
AllowTrustOp's original definition in the XDR file is:
 struct AllowTrustOp
 {
     AccountID trustor;
     AssetCode asset;

     // One of 0, AUTHORIZED_FLAG, or AUTHORIZED_TO_MAINTAIN_LIABILITIES_FLAG
     uint32 authorize;
 };
 
  • Constructor Details

    • AllowTrustOp

      public AllowTrustOp()
    • AllowTrustOp

      public AllowTrustOp(AccountID trustor, AssetCode asset, Uint32 authorize)
      Creates a new AllowTrustOp instance.
      Parameters:
      trustor - the trustor field value
      asset - the asset field value
      authorize - the authorize field value
  • Method Details