Package nxt
Class CurrencyExchangeOffer
- java.lang.Object
-
- nxt.CurrencyExchangeOffer
-
- Direct Known Subclasses:
CurrencyBuyOffer,CurrencySellOffer
public abstract class CurrencyExchangeOffer extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCurrencyExchangeOffer.AvailableOffers
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description longgetAccountId()static CurrencyExchangeOffer.AvailableOffersgetAvailableToBuy(long currencyId, long units)static CurrencyExchangeOffer.AvailableOffersgetAvailableToSell(long currencyId, long units)abstract CurrencyExchangeOffergetCounterOffer()longgetCurrencyId()intgetExpirationHeight()intgetHeight()longgetId()longgetLimit()longgetRateNQT()longgetSupply()
-
-
-
Method Detail
-
getAvailableToSell
public static CurrencyExchangeOffer.AvailableOffers getAvailableToSell(long currencyId, long units)
-
getAvailableToBuy
public static CurrencyExchangeOffer.AvailableOffers getAvailableToBuy(long currencyId, long units)
-
getId
public long getId()
-
getCurrencyId
public long getCurrencyId()
-
getAccountId
public long getAccountId()
-
getRateNQT
public long getRateNQT()
-
getLimit
public long getLimit()
-
getSupply
public long getSupply()
-
getExpirationHeight
public int getExpirationHeight()
-
getHeight
public int getHeight()
-
getCounterOffer
public abstract CurrencyExchangeOffer getCounterOffer()
-
-