Package org.stellar.sdk.xdr
Class ClaimableBalanceID
java.lang.Object
org.stellar.sdk.xdr.ClaimableBalanceID
- All Implemented Interfaces:
XdrElement
ClaimableBalanceID's original definition in the XDR file is:
union ClaimableBalanceID switch (ClaimableBalanceIDType type)
{
case CLAIMABLE_BALANCE_ID_TYPE_V0:
Hash v0;
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static ClaimableBalanceIDdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic ClaimableBalanceIDfromXdrBase64(String xdr) static ClaimableBalanceIDfromXdrByteArray(byte[] xdr) getV0()inthashCode()voidsetDiscriminant(ClaimableBalanceIDType discriminant) voidtoString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
ClaimableBalanceID
public ClaimableBalanceID() -
ClaimableBalanceID
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getV0
-
setDiscriminant
-
setV0
-
equals
-
hashCode
public int hashCode() -
toString
-