public class AlphaNum4 extends java.lang.Object implements XdrElement
struct AlphaNum4 { AssetCode4 assetCode; AccountID issuer; };
Modifier and Type | Class and Description |
---|---|
static class |
AlphaNum4.AlphaNum4Builder |
Constructor and Description |
---|
AlphaNum4() |
AlphaNum4(AssetCode4 assetCode,
AccountID issuer) |
Modifier and Type | Method and Description |
---|---|
static AlphaNum4.AlphaNum4Builder |
builder() |
static AlphaNum4 |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static AlphaNum4 |
fromXdrBase64(java.lang.String xdr) |
static AlphaNum4 |
fromXdrByteArray(byte[] xdr) |
AssetCode4 |
getAssetCode() |
AccountID |
getIssuer() |
int |
hashCode() |
void |
setAssetCode(AssetCode4 assetCode) |
void |
setIssuer(AccountID issuer) |
AlphaNum4.AlphaNum4Builder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public AlphaNum4()
public AlphaNum4(AssetCode4 assetCode, AccountID issuer)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static AlphaNum4 decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static AlphaNum4 fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static AlphaNum4 fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static AlphaNum4.AlphaNum4Builder builder()
public AlphaNum4.AlphaNum4Builder toBuilder()
public AssetCode4 getAssetCode()
public AccountID getIssuer()
public void setAssetCode(AssetCode4 assetCode)
public void setIssuer(AccountID issuer)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object