Class OmniTradeInfo

java.lang.Object
foundation.omni.json.pojo.OmniTradeInfo

public class OmniTradeInfo extends Object
OmniTradeInfo - response object for omni_gettrade and omni_gettradehistoryforaddress
  • Constructor Details

    • OmniTradeInfo

      public OmniTradeInfo(org.bitcoinj.base.Sha256Hash txId, org.bitcoinj.base.Address sendingAddress, boolean isMine, int confirmations, org.bitcoinj.base.Coin fee, long blockTime, boolean valid, int positionInBlock, int version, int type_int, String type, CurrencyID propertyIdForSale, boolean propertyIdForSaleIsDivisible, OmniValue amountForSale, CurrencyID propertyIdDesired, boolean propertyIdDesiredIsDivisble, OmniValue amountDesired, String unitPrice, OmniValue amountRemaining, OmniValue amountToFill, String status, org.bitcoinj.base.Sha256Hash cancelTxId, List<OmniTradeInfo.Match> matches)
  • Method Details

    • getTxId

      public org.bitcoinj.base.Sha256Hash getTxId()
    • getSendingAddress

      public org.bitcoinj.base.Address getSendingAddress()
    • isMine

      public boolean isMine()
    • getConfirmations

      public int getConfirmations()
    • getFee

      public org.bitcoinj.base.Coin getFee()
    • getBlockTime

      public Instant getBlockTime()
    • isValid

      public boolean isValid()
    • getPositionInBlock

      public int getPositionInBlock()
    • getVersion

      public int getVersion()
    • getType_int

      public int getType_int()
    • getType

      public String getType()
    • getPropertyIdForSale

      public CurrencyID getPropertyIdForSale()
    • isPropertyIdForSaleIsDivisible

      public boolean isPropertyIdForSaleIsDivisible()
    • getPropertyIdDesired

      public CurrencyID getPropertyIdDesired()
    • getAmountForSale

      public OmniValue getAmountForSale()
    • isPropertyIdDesiredIsDivisble

      public boolean isPropertyIdDesiredIsDivisble()
    • getAmountDesired

      public OmniValue getAmountDesired()
    • getUnitPrice

      public String getUnitPrice()
    • getAmountRemaining

      public OmniValue getAmountRemaining()
    • getAmountToFill

      public OmniValue getAmountToFill()
    • getStatus

      public String getStatus()
    • getCancelTxId

      public org.bitcoinj.base.Sha256Hash getCancelTxId()
    • getMatches

      public List<OmniTradeInfo.Match> getMatches()