Class Transaction

java.lang.Object
com.algorand.algosdk.algod.client.model.Transaction

@Deprecated
public class Transaction
extends java.lang.Object
Deprecated.
Transaction contains all fields common to all transactions and serves as an envelope to all transactions type
  • Constructor Details

    • Transaction

      public Transaction()
      Deprecated.
  • Method Details

    • fee

      public Transaction fee​(java.math.BigInteger fee)
      Deprecated.
    • getFee

      public java.math.BigInteger getFee()
      Deprecated.
      Fee is the transaction fee
      Returns:
      fee
    • setFee

      public void setFee​(java.math.BigInteger fee)
      Deprecated.
    • firstRound

      public Transaction firstRound​(java.math.BigInteger firstRound)
      Deprecated.
    • getFirstRound

      public java.math.BigInteger getFirstRound()
      Deprecated.
      FirstRound indicates the first valid round for this transaction
      Returns:
      firstRound
    • setFirstRound

      public void setFirstRound​(java.math.BigInteger firstRound)
      Deprecated.
    • from

      public Transaction from​(java.lang.String from)
      Deprecated.
    • getFrom

      public java.lang.String getFrom()
      Deprecated.
      From is the sender's address
      Returns:
      from
    • setFrom

      public void setFrom​(java.lang.String from)
      Deprecated.
    • fromrewards

      public Transaction fromrewards​(java.math.BigInteger fromrewards)
      Deprecated.
    • getFromrewards

      public java.math.BigInteger getFromrewards()
      Deprecated.
      FromRewards is the amount of pending rewards applied to the From account as part of this transaction.
      Returns:
      fromrewards
    • setFromrewards

      public void setFromrewards​(java.math.BigInteger fromrewards)
      Deprecated.
    • genesisID

      public Transaction genesisID​(java.lang.String genesisID)
      Deprecated.
    • getGenesisID

      public java.lang.String getGenesisID()
      Deprecated.
      Genesis ID
      Returns:
      genesisID
    • setGenesisID

      public void setGenesisID​(java.lang.String genesisID)
      Deprecated.
    • genesishashb64

      public Transaction genesishashb64​(byte[] genesishashb64)
      Deprecated.
    • getGenesishashb64

      public byte[] getGenesishashb64()
      Deprecated.
      Genesis hash
      Returns:
      genesishashb64
    • setGenesishashb64

      public void setGenesishashb64​(byte[] genesishashb64)
      Deprecated.
    • lastRound

      public Transaction lastRound​(java.math.BigInteger lastRound)
      Deprecated.
    • getLastRound

      public java.math.BigInteger getLastRound()
      Deprecated.
      LastRound indicates the last valid round for this transaction
      Returns:
      lastRound
    • setLastRound

      public void setLastRound​(java.math.BigInteger lastRound)
      Deprecated.
    • noteb64

      public Transaction noteb64​(byte[] noteb64)
      Deprecated.
    • getNoteb64

      public byte[] getNoteb64()
      Deprecated.
      Note is a free form data
      Returns:
      noteb64
    • setNoteb64

      public void setNoteb64​(byte[] noteb64)
      Deprecated.
    • payment

      public Transaction payment​(PaymentTransactionType payment)
      Deprecated.
    • getPayment

      public PaymentTransactionType getPayment()
      Deprecated.
      Get payment
      Returns:
      payment
    • setPayment

      public void setPayment​(PaymentTransactionType payment)
      Deprecated.
    • poolerror

      public Transaction poolerror​(java.lang.String poolerror)
      Deprecated.
    • getPoolerror

      public java.lang.String getPoolerror()
      Deprecated.
      PoolError indicates the transaction was evicted from this node's transaction pool (if non-empty). A non-empty PoolError does not guarantee that the transaction will never be committed; other nodes may not have evicted the transaction and may attempt to commit it in the future.
      Returns:
      poolerror
    • setPoolerror

      public void setPoolerror​(java.lang.String poolerror)
      Deprecated.
    • round

      public Transaction round​(java.math.BigInteger round)
      Deprecated.
    • getRound

      public java.math.BigInteger getRound()
      Deprecated.
      ConfirmedRound indicates the block number this transaction appeared in
      Returns:
      round
    • setRound

      public void setRound​(java.math.BigInteger round)
      Deprecated.
    • tx

      public Transaction tx​(java.lang.String tx)
      Deprecated.
    • getTx

      public java.lang.String getTx()
      Deprecated.
      TxID is the transaction ID
      Returns:
      tx
    • setTx

      public void setTx​(java.lang.String tx)
      Deprecated.
    • txresults

      public Transaction txresults​(TransactionResults txresults)
      Deprecated.
    • getTxresults

      public TransactionResults getTxresults()
      Deprecated.
      Get txresults
      Returns:
      txresults
    • setTxresults

      public void setTxresults​(TransactionResults txresults)
      Deprecated.
    • type

      public Transaction type​(java.lang.String type)
      Deprecated.
    • getType

      public java.lang.String getType()
      Deprecated.
      Get type
      Returns:
      type
    • setType

      public void setType​(java.lang.String type)
      Deprecated.
    • equals

      public boolean equals​(java.lang.Object o)
      Deprecated.
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Deprecated.
      Overrides:
      toString in class java.lang.Object