public final class CurrencyBuyOffer extends CurrencyExchangeOffer
CurrencyExchangeOffer.AvailableOffers
Modifier and Type | Method and Description |
---|---|
static DbIterator<CurrencyBuyOffer> |
getAccountOffers(long accountId,
boolean availableOnly,
int from,
int to) |
static DbIterator<CurrencyBuyOffer> |
getAll(int from,
int to) |
static int |
getCount() |
CurrencySellOffer |
getCounterOffer() |
static DbIterator<CurrencyBuyOffer> |
getCurrencyOffers(long currencyId,
boolean availableOnly,
int from,
int to) |
static CurrencyBuyOffer |
getOffer(Currency currency,
Account account) |
static CurrencyBuyOffer |
getOffer(long offerId) |
static CurrencyBuyOffer |
getOffer(long currencyId,
long accountId) |
static DbIterator<CurrencyBuyOffer> |
getOffers(Currency currency,
int from,
int to) |
static DbIterator<CurrencyBuyOffer> |
getOffers(DbClause dbClause,
int from,
int to) |
static DbIterator<CurrencyBuyOffer> |
getOffers(DbClause dbClause,
int from,
int to,
java.lang.String sort) |
getAccountId, getAvailableToBuy, getAvailableToSell, getCurrencyId, getExpirationHeight, getHeight, getId, getLimit, getRateNQT, getSupply
public static int getCount()
public static CurrencyBuyOffer getOffer(long offerId)
public static DbIterator<CurrencyBuyOffer> getAll(int from, int to)
public static DbIterator<CurrencyBuyOffer> getOffers(Currency currency, int from, int to)
public static DbIterator<CurrencyBuyOffer> getCurrencyOffers(long currencyId, boolean availableOnly, int from, int to)
public static DbIterator<CurrencyBuyOffer> getAccountOffers(long accountId, boolean availableOnly, int from, int to)
public static CurrencyBuyOffer getOffer(Currency currency, Account account)
public static CurrencyBuyOffer getOffer(long currencyId, long accountId)
public static DbIterator<CurrencyBuyOffer> getOffers(DbClause dbClause, int from, int to)
public static DbIterator<CurrencyBuyOffer> getOffers(DbClause dbClause, int from, int to, java.lang.String sort)
public CurrencySellOffer getCounterOffer()
getCounterOffer
in class CurrencyExchangeOffer