public class TransactionSetV1 extends java.lang.Object implements XdrElement
struct TransactionSetV1 { Hash previousLedgerHash; TransactionPhase phases<>; };
Modifier and Type | Class and Description |
---|---|
static class |
TransactionSetV1.TransactionSetV1Builder |
Constructor and Description |
---|
TransactionSetV1() |
TransactionSetV1(Hash previousLedgerHash,
TransactionPhase[] phases) |
Modifier and Type | Method and Description |
---|---|
static TransactionSetV1.TransactionSetV1Builder |
builder() |
static TransactionSetV1 |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static TransactionSetV1 |
fromXdrBase64(java.lang.String xdr) |
static TransactionSetV1 |
fromXdrByteArray(byte[] xdr) |
TransactionPhase[] |
getPhases() |
Hash |
getPreviousLedgerHash() |
int |
hashCode() |
void |
setPhases(TransactionPhase[] phases) |
void |
setPreviousLedgerHash(Hash previousLedgerHash) |
TransactionSetV1.TransactionSetV1Builder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public TransactionSetV1()
public TransactionSetV1(Hash previousLedgerHash, TransactionPhase[] phases)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static TransactionSetV1 decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static TransactionSetV1 fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static TransactionSetV1 fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static TransactionSetV1.TransactionSetV1Builder builder()
public TransactionSetV1.TransactionSetV1Builder toBuilder()
public Hash getPreviousLedgerHash()
public TransactionPhase[] getPhases()
public void setPreviousLedgerHash(Hash previousLedgerHash)
public void setPhases(TransactionPhase[] phases)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object