public class Offer extends ThreadedLedgerEntry
LedgerEntry.OnLedgerEntrySTObject.FieldFilter, STObject.FieldsMap, STObject.FormatException, STObject.Translator, STObject.Translators| 限定符和类型 | 字段和说明 |
|---|---|
static Comparator<Offer> |
qualityAscending |
CreatedNode, DeletedNode, fields, FinalFields, format, ModifiedNode, NewFields, PreviousFields, Signer, SignerEntry, Table, TemplateEntry, TransactionMetaData, translate, WhiteList| 构造器和说明 |
|---|
Offer() |
previousTxnID, previousTxnID, previousTxnLgrSeq, previousTxnLgrSeqflags, flags, index, index, ledgerEntryType, ledgerIndex, ledgerIndex, owners, setDefaultsas, checkFormat, engineResult, formatted, fromHex, fromJSON, fromJSONObject, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, getFields, getFormat, has, has, iterator, ledgerEntryType, prettyJSON, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, putTranslated, putTranslated, remove, setFormat, size, stobjectField, toBytes, toBytesSink, toBytesSink, toHex, toJSON, toJSONObject, transactionType, typeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static Comparator<Offer> qualityAscending
public BigDecimal directoryAskQuality()
public BigDecimal askQuality()
public BigDecimal bidQuality()
public Amount getsOne()
public Amount paysOne()
public String getPayCurrencyPair()
public Hash256 fundingSource()
public Vector256 lineIndexes()
public Hash256 bookBase()
public boolean belongsToBook(Hash256 bookBase)
public boolean sellingOwnFunds()
public Amount takerGetsFunded()
public Amount takerPaysFunded()
public static Iterator<Offer> iterateCollection(Collection<STObject> offers)
public Hash256 bookNodeDirectoryIndex()
public Hash256 ownerNodeDirectoryIndex()
public UInt32 sequence()
public UInt32 expiration()
public UInt64 bookNode()
public UInt64 ownerNode()
public Hash256 bookDirectory()
public Amount takerPays()
public Amount takerGets()
public AccountID account()
public void sequence(UInt32 val)
public void expiration(UInt32 val)
public void bookNode(UInt64 val)
public void ownerNode(UInt64 val)
public void bookDirectory(Hash256 val)
public void takerPays(Amount val)
public void takerGets(Amount val)
public void account(AccountID val)
public Hash256[] directoryIndexes()
public void setOfferDefaults()
public IssuePair issuePair()
Copyright © 2021. All rights reserved.