Package org.stellar.sdk.xdr
Class LedgerCloseMetaExtV1
java.lang.Object
org.stellar.sdk.xdr.LedgerCloseMetaExtV1
- All Implemented Interfaces:
XdrElement
LedgerCloseMetaExtV1's original definition in the XDR file is:
struct LedgerCloseMetaExtV1
{
ExtensionPoint ext;
int64 sorobanFeeWrite1KB;
};
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface org.stellar.sdk.xdr.XdrElement
gson -
Constructor Summary
ConstructorsConstructorDescriptionLedgerCloseMetaExtV1(ExtensionPoint ext, Int64 sorobanFeeWrite1KB) Creates a newLedgerCloseMetaExtV1instance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static LedgerCloseMetaExtV1decode(XdrDataInputStream stream) static LedgerCloseMetaExtV1decode(XdrDataInputStream stream, int maxDepth) voidencode(XdrDataOutputStream stream) Encodes this value to XDR and writes it to the provided stream.booleanstatic LedgerCloseMetaExtV1static LedgerCloseMetaExtV1fromXdrBase64(String xdr) static LedgerCloseMetaExtV1fromXdrByteArray(byte[] xdr) getExt()Value of theextfield.Value of thesorobanFeeWrite1KBfield.inthashCode()voidsetExt(ExtensionPoint ext) Value of theextfield.voidsetSorobanFeeWrite1KB(Int64 sorobanFeeWrite1KB) Value of thesorobanFeeWrite1KBfield.toJson()Serializes this value to JSON.toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
LedgerCloseMetaExtV1
public LedgerCloseMetaExtV1() -
LedgerCloseMetaExtV1
Creates a newLedgerCloseMetaExtV1instance.- Parameters:
ext- theextfield valuesorobanFeeWrite1KB- thesorobanFeeWrite1KBfield value
-
-
Method Details
-
encode
Description copied from interface:XdrElementEncodes this value to XDR and writes it to the provided stream.- Specified by:
encodein interfaceXdrElement- Parameters:
stream- the destination XDR output stream- Throws:
IOException- if an I/O error occurs while writing the value
-
decode
public static LedgerCloseMetaExtV1 decode(XdrDataInputStream stream, int maxDepth) throws IOException - Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
toJson
Description copied from interface:XdrElementSerializes this value to JSON.- Specified by:
toJsonin interfaceXdrElement- Returns:
- the JSON representation of this value
-
fromJson
-
builder
-
toBuilder
-
getExt
Value of theextfield.- Returns:
- the
extfield value
-
getSorobanFeeWrite1KB
Value of thesorobanFeeWrite1KBfield.- Returns:
- the
sorobanFeeWrite1KBfield value
-
setExt
Value of theextfield.- Parameters:
ext- theextfield value
-
setSorobanFeeWrite1KB
Value of thesorobanFeeWrite1KBfield.- Parameters:
sorobanFeeWrite1KB- thesorobanFeeWrite1KBfield value
-
equals
-
hashCode
public int hashCode() -
toString
-