Package org.stellar.sdk.xdr
Class TrustLineEntry.TrustLineEntryExt
java.lang.Object
org.stellar.sdk.xdr.TrustLineEntry.TrustLineEntryExt
- Enclosing class:
TrustLineEntry
TrustLineEntryExt's original definition in the XDR file is:
union switch (int v) { case 0: void; case 1: struct { Liabilities liabilities; union switch (int v) { case 0: void; case 2: TrustLineEntryExtensionV2 v2; } ext; } v1; }
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
TrustLineEntryV1's original definition in the XDR file is: -
Constructor Summary
ConstructorDescriptionTrustLineEntryExt
(Integer discriminant, TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1 v1) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) getV1()
int
hashCode()
void
setDiscriminant
(Integer discriminant) void
toString()
default String
default byte[]
-
Constructor Details
-
TrustLineEntryExt
public TrustLineEntryExt() -
TrustLineEntryExt
public TrustLineEntryExt(Integer discriminant, TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1 v1)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getV1
-
setDiscriminant
-
setV1
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-