Package org.stellar.sdk.xdr
Class CreateClaimableBalanceResult
java.lang.Object
org.stellar.sdk.xdr.CreateClaimableBalanceResult
CreateClaimableBalanceResult's original definition in the XDR file is:
union CreateClaimableBalanceResult switch ( CreateClaimableBalanceResultCode code) { case CREATE_CLAIMABLE_BALANCE_SUCCESS: ClaimableBalanceID balanceID; case CREATE_CLAIMABLE_BALANCE_MALFORMED: case CREATE_CLAIMABLE_BALANCE_LOW_RESERVE: case CREATE_CLAIMABLE_BALANCE_NO_TRUST: case CREATE_CLAIMABLE_BALANCE_NOT_AUTHORIZED: case CREATE_CLAIMABLE_BALANCE_UNDERFUNDED: void; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionCreateClaimableBalanceResult
(CreateClaimableBalanceResultCode discriminant, ClaimableBalanceID balanceID) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static CreateClaimableBalanceResult
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static CreateClaimableBalanceResult
fromXdrBase64
(String xdr) static CreateClaimableBalanceResult
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setBalanceID
(ClaimableBalanceID balanceID) void
setDiscriminant
(CreateClaimableBalanceResultCode discriminant) toString()
default String
default byte[]
-
Constructor Details
-
CreateClaimableBalanceResult
public CreateClaimableBalanceResult() -
CreateClaimableBalanceResult
public CreateClaimableBalanceResult(CreateClaimableBalanceResultCode discriminant, ClaimableBalanceID balanceID)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getBalanceID
-
setDiscriminant
-
setBalanceID
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-