Package org.stellar.sdk.xdr
Class FeeBumpTransactionEnvelope
java.lang.Object
org.stellar.sdk.xdr.FeeBumpTransactionEnvelope
- All Implemented Interfaces:
XdrElement
FeeBumpTransactionEnvelope's original definition in the XDR file is:
struct FeeBumpTransactionEnvelope
{
FeeBumpTransaction tx;
/* Each decorated signature is a signature over the SHA256 hash of
* a TransactionSignaturePayload */
DecoratedSignature signatures<20>;
};
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields inherited from interface org.stellar.sdk.xdr.XdrElement
gson -
Constructor Summary
ConstructorsConstructorDescriptionFeeBumpTransactionEnvelope(FeeBumpTransaction tx, DecoratedSignature[] signatures) Creates a newFeeBumpTransactionEnvelopeinstance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static FeeBumpTransactionEnvelopedecode(XdrDataInputStream stream) static FeeBumpTransactionEnvelopedecode(XdrDataInputStream stream, int maxDepth) voidencode(XdrDataOutputStream stream) Encodes this value to XDR and writes it to the provided stream.booleanstatic FeeBumpTransactionEnvelopestatic FeeBumpTransactionEnvelopefromXdrBase64(String xdr) static FeeBumpTransactionEnvelopefromXdrByteArray(byte[] xdr) Value of thesignaturesfield.getTx()Value of thetxfield.inthashCode()voidsetSignatures(DecoratedSignature[] signatures) Value of thesignaturesfield.voidValue of thetxfield.toJson()Serializes this value to JSON.toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
FeeBumpTransactionEnvelope
public FeeBumpTransactionEnvelope() -
FeeBumpTransactionEnvelope
Creates a newFeeBumpTransactionEnvelopeinstance.- Parameters:
tx- thetxfield valuesignatures- thesignaturesfield 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 FeeBumpTransactionEnvelope 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
-
getTx
Value of thetxfield.- Returns:
- the
txfield value
-
getSignatures
Value of thesignaturesfield.- Returns:
- the
signaturesfield value
-
setTx
Value of thetxfield.- Parameters:
tx- thetxfield value
-
setSignatures
Value of thesignaturesfield.- Parameters:
signatures- thesignaturesfield value
-
equals
-
hashCode
public int hashCode() -
toString
-