Package org.stellar.sdk.xdr
Class ClaimableBalanceID
java.lang.Object
org.stellar.sdk.xdr.ClaimableBalanceID
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static ClaimableBalanceID
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static ClaimableBalanceID
fromXdrBase64
(String xdr) static ClaimableBalanceID
fromXdrByteArray
(byte[] xdr) getV0()
int
hashCode()
void
setDiscriminant
(ClaimableBalanceIDType discriminant) void
toString()
default String
default byte[]
-
Constructor Details
-
ClaimableBalanceID
public ClaimableBalanceID() -
ClaimableBalanceID
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getV0
-
setDiscriminant
-
setV0
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-