Package org.stellar.sdk.xdr
Class TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1
java.lang.Object
org.stellar.sdk.xdr.TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1
- All Implemented Interfaces:
XdrElement
- Enclosing class:
TrustLineEntry.TrustLineEntryExt
public static class TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1
extends Object
implements XdrElement
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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classTrustLineEntryV1Ext's original definition in the XDR file is: -
Constructor Summary
ConstructorsConstructorDescriptionTrustLineEntryV1(Liabilities liabilities, TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext ext) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanfromXdrBase64(String xdr) fromXdrByteArray(byte[] xdr) getExt()inthashCode()voidvoidsetLiabilities(Liabilities liabilities) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
TrustLineEntryV1
public TrustLineEntryV1() -
TrustLineEntryV1
public TrustLineEntryV1(Liabilities liabilities, TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext ext)
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- 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
-