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