Package org.stellar.sdk.xdr
Class AlphaNum12
java.lang.Object
org.stellar.sdk.xdr.AlphaNum12
- All Implemented Interfaces:
XdrElement
AlphaNum12's original definition in the XDR file is:
struct AlphaNum12 { AssetCode12 assetCode; AccountID issuer; };
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AlphaNum12.AlphaNum12Builder
builder()
static AlphaNum12
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static AlphaNum12
fromXdrBase64
(String xdr) static AlphaNum12
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setAssetCode
(AssetCode12 assetCode) void
toString()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
AlphaNum12
public AlphaNum12() -
AlphaNum12
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getAssetCode
-
getIssuer
-
setAssetCode
-
setIssuer
-
equals
-
hashCode
public int hashCode() -
toString
-