public class TransactionV0 extends java.lang.Object implements XdrElement
struct TransactionV0 { uint256 sourceAccountEd25519; uint32 fee; SequenceNumber seqNum; TimeBounds* timeBounds; Memo memo; Operation operations<MAX_OPS_PER_TX>; union switch (int v) { case 0: void; } ext; };
Modifier and Type | Class and Description |
---|---|
static class |
TransactionV0.TransactionV0Builder |
static class |
TransactionV0.TransactionV0Ext
TransactionV0Ext's original definition in the XDR file is:
|
Constructor and Description |
---|
TransactionV0() |
TransactionV0(Uint256 sourceAccountEd25519,
Uint32 fee,
SequenceNumber seqNum,
TimeBounds timeBounds,
Memo memo,
Operation[] operations,
TransactionV0.TransactionV0Ext ext) |
Modifier and Type | Method and Description |
---|---|
static TransactionV0.TransactionV0Builder |
builder() |
static TransactionV0 |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static TransactionV0 |
fromXdrBase64(java.lang.String xdr) |
static TransactionV0 |
fromXdrByteArray(byte[] xdr) |
TransactionV0.TransactionV0Ext |
getExt() |
Uint32 |
getFee() |
Memo |
getMemo() |
Operation[] |
getOperations() |
SequenceNumber |
getSeqNum() |
Uint256 |
getSourceAccountEd25519() |
TimeBounds |
getTimeBounds() |
int |
hashCode() |
void |
setExt(TransactionV0.TransactionV0Ext ext) |
void |
setFee(Uint32 fee) |
void |
setMemo(Memo memo) |
void |
setOperations(Operation[] operations) |
void |
setSeqNum(SequenceNumber seqNum) |
void |
setSourceAccountEd25519(Uint256 sourceAccountEd25519) |
void |
setTimeBounds(TimeBounds timeBounds) |
TransactionV0.TransactionV0Builder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public TransactionV0()
public TransactionV0(Uint256 sourceAccountEd25519, Uint32 fee, SequenceNumber seqNum, TimeBounds timeBounds, Memo memo, Operation[] operations, TransactionV0.TransactionV0Ext ext)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static TransactionV0 decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static TransactionV0 fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static TransactionV0 fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static TransactionV0.TransactionV0Builder builder()
public TransactionV0.TransactionV0Builder toBuilder()
public Uint256 getSourceAccountEd25519()
public Uint32 getFee()
public SequenceNumber getSeqNum()
public TimeBounds getTimeBounds()
public Memo getMemo()
public Operation[] getOperations()
public TransactionV0.TransactionV0Ext getExt()
public void setSourceAccountEd25519(Uint256 sourceAccountEd25519)
public void setFee(Uint32 fee)
public void setSeqNum(SequenceNumber seqNum)
public void setTimeBounds(TimeBounds timeBounds)
public void setMemo(Memo memo)
public void setOperations(Operation[] operations)
public void setExt(TransactionV0.TransactionV0Ext ext)
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