Package org.stellar.sdk.xdr
Class ClaimClaimableBalanceResult
java.lang.Object
org.stellar.sdk.xdr.ClaimClaimableBalanceResult
- All Implemented Interfaces:
XdrElement
ClaimClaimableBalanceResult's original definition in the XDR file is:
union ClaimClaimableBalanceResult switch (ClaimClaimableBalanceResultCode code) { case CLAIM_CLAIMABLE_BALANCE_SUCCESS: void; case CLAIM_CLAIMABLE_BALANCE_DOES_NOT_EXIST: case CLAIM_CLAIMABLE_BALANCE_CANNOT_CLAIM: case CLAIM_CLAIMABLE_BALANCE_LINE_FULL: case CLAIM_CLAIMABLE_BALANCE_NO_TRUST: case CLAIM_CLAIMABLE_BALANCE_NOT_AUTHORIZED: void; };
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static ClaimClaimableBalanceResult
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static ClaimClaimableBalanceResult
fromXdrBase64
(String xdr) static ClaimClaimableBalanceResult
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setDiscriminant
(ClaimClaimableBalanceResultCode discriminant) toString()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
ClaimClaimableBalanceResult
public ClaimClaimableBalanceResult() -
ClaimClaimableBalanceResult
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
setDiscriminant
-
equals
-
hashCode
public int hashCode() -
toString
-