Package org.stellar.sdk.xdr
Class ClaimableBalanceEntry
java.lang.Object
org.stellar.sdk.xdr.ClaimableBalanceEntry
ClaimableBalanceEntry's original definition in the XDR file is:
struct ClaimableBalanceEntry { // Unique identifier for this ClaimableBalanceEntry ClaimableBalanceID balanceID; // List of claimants with associated predicate Claimant claimants<10>; // Any asset including native Asset asset; // Amount of asset int64 amount; // reserved for future use union switch (int v) { case 0: void; case 1: ClaimableBalanceEntryExtensionV1 v1; } ext; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
ClaimableBalanceEntryExt's original definition in the XDR file is: -
Constructor Summary
ConstructorDescriptionClaimableBalanceEntry
(ClaimableBalanceID balanceID, Claimant[] claimants, Asset asset, Int64 amount, ClaimableBalanceEntry.ClaimableBalanceEntryExt ext) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static ClaimableBalanceEntry
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static ClaimableBalanceEntry
fromXdrBase64
(String xdr) static ClaimableBalanceEntry
fromXdrByteArray
(byte[] xdr) getAsset()
Claimant[]
getExt()
int
hashCode()
void
void
void
setBalanceID
(ClaimableBalanceID balanceID) void
setClaimants
(Claimant[] claimants) void
toString()
default String
default byte[]
-
Constructor Details
-
ClaimableBalanceEntry
public ClaimableBalanceEntry() -
ClaimableBalanceEntry
public ClaimableBalanceEntry(ClaimableBalanceID balanceID, Claimant[] claimants, Asset asset, Int64 amount, ClaimableBalanceEntry.ClaimableBalanceEntryExt ext)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getBalanceID
-
getClaimants
-
getAsset
-
getAmount
-
getExt
-
setBalanceID
-
setClaimants
-
setAsset
-
setAmount
-
setExt
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-