Package org.stellar.sdk.xdr
Class TrustLineEntryExtensionV2
java.lang.Object
org.stellar.sdk.xdr.TrustLineEntryExtensionV2
TrustLineEntryExtensionV2's original definition in the XDR file is:
struct TrustLineEntryExtensionV2 { int32 liquidityPoolUseCount; union switch (int v) { case 0: void; } ext; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
TrustLineEntryExtensionV2Ext's original definition in the XDR file is: -
Constructor Summary
ConstructorDescriptionTrustLineEntryExtensionV2
(Int32 liquidityPoolUseCount, TrustLineEntryExtensionV2.TrustLineEntryExtensionV2Ext ext) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static TrustLineEntryExtensionV2
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static TrustLineEntryExtensionV2
fromXdrBase64
(String xdr) static TrustLineEntryExtensionV2
fromXdrByteArray
(byte[] xdr) getExt()
int
hashCode()
void
void
setLiquidityPoolUseCount
(Int32 liquidityPoolUseCount) toString()
default String
default byte[]
-
Constructor Details
-
TrustLineEntryExtensionV2
public TrustLineEntryExtensionV2() -
TrustLineEntryExtensionV2
public TrustLineEntryExtensionV2(Int32 liquidityPoolUseCount, TrustLineEntryExtensionV2.TrustLineEntryExtensionV2Ext ext)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getLiquidityPoolUseCount
-
getExt
-
setLiquidityPoolUseCount
-
setExt
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-