public class AllowTrustOp extends java.lang.Object implements XdrElement
struct AllowTrustOp
{
AccountID trustor;
AssetCode asset;
// One of 0, AUTHORIZED_FLAG, or AUTHORIZED_TO_MAINTAIN_LIABILITIES_FLAG
uint32 authorize;
};
| Modifier and Type | Class and Description |
|---|---|
static class |
AllowTrustOp.AllowTrustOpBuilder |
| Constructor and Description |
|---|
AllowTrustOp() |
AllowTrustOp(AccountID trustor,
AssetCode asset,
Uint32 authorize) |
| Modifier and Type | Method and Description |
|---|---|
static AllowTrustOp.AllowTrustOpBuilder |
builder() |
static AllowTrustOp |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static AllowTrustOp |
fromXdrBase64(java.lang.String xdr) |
static AllowTrustOp |
fromXdrByteArray(byte[] xdr) |
AssetCode |
getAsset() |
Uint32 |
getAuthorize() |
AccountID |
getTrustor() |
int |
hashCode() |
void |
setAsset(AssetCode asset) |
void |
setAuthorize(Uint32 authorize) |
void |
setTrustor(AccountID trustor) |
AllowTrustOp.AllowTrustOpBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArraypublic void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static AllowTrustOp decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic static AllowTrustOp fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static AllowTrustOp fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOExceptionpublic static AllowTrustOp.AllowTrustOpBuilder builder()
public AllowTrustOp.AllowTrustOpBuilder toBuilder()
public AccountID getTrustor()
public AssetCode getAsset()
public Uint32 getAuthorize()
public void setTrustor(AccountID trustor)
public void setAsset(AssetCode asset)
public void setAuthorize(Uint32 authorize)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object