Package org.stellar.sdk.xdr
Class AllowTrustOp
java.lang.Object
org.stellar.sdk.xdr.AllowTrustOp
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; };
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static AllowTrustOp
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static AllowTrustOp
fromXdrBase64
(String xdr) static AllowTrustOp
fromXdrByteArray
(byte[] xdr) getAsset()
int
hashCode()
void
void
setAuthorize
(Uint32 authorize) void
setTrustor
(AccountID trustor) toString()
default String
default byte[]
-
Constructor Details
-
AllowTrustOp
public AllowTrustOp() -
AllowTrustOp
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getTrustor
-
getAsset
-
getAuthorize
-
setTrustor
-
setAsset
-
setAuthorize
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-