| 限定符和类型 | 字段和说明 |
|---|---|
Amount |
PaymentFlow.destinationAmount |
Amount |
Alternative.sourceAmount |
| 构造器和说明 |
|---|
Alternative(PathSet paths,
Amount sourceAmount)
Construtor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Amount |
ServerInfo.computeFee(int units)
computeFee
|
Amount |
TrackedAccountRoot.getBalance()
Get balance.
|
Amount |
ServerInfo.transactionFee(Transaction transaction)
transactionFee
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
TrackedAccountRoot.setBalance(Amount balance)
Set balance.
|
| 限定符和类型 | 字段和说明 |
|---|---|
Amount |
Submission.fee |
| 构造器和说明 |
|---|
Submission(Request request,
UInt32 sequence,
Hash256 hash,
long ledgerSequence,
Amount fee,
UInt32 lastLedgerIndex)
Constructor.
|
| 限定符和类型 | 字段和说明 |
|---|---|
Amount |
AccountLine.balance |
Amount |
AccountLine.limit |
Amount |
AccountLine.limit_peer |
| 限定符和类型 | 方法和说明 |
|---|---|
Amount |
STReader.amount()
Parse amount value.
|
| 限定符和类型 | 字段和说明 |
|---|---|
Amount |
Amount.PrecisionError.illegal |
static Amount |
Amount.ONE_XRP |
| 限定符和类型 | 方法和说明 |
|---|---|
Amount |
Amount.abs() |
Amount |
Amount.add(Amount augend) |
Amount |
Amount.add(BigDecimal augend)
Arithmetic Operations
There's no checking if an amount is of a different currency/issuer.
|
Amount |
Amount.add(Number augend) |
Amount |
Issue.amount(BigDecimal value) |
Amount |
Issue.amount(Number value) |
Amount |
Amount.copy() |
Amount |
Amount.divide(Amount divisor) |
Amount |
Amount.divide(BigDecimal divisor) |
Amount |
Amount.divide(Number divisor) |
static Amount |
Amount.fromDropString(String val) |
static Amount |
Amount.fromIOUString(String val) |
Amount |
Amount.Translator.fromJSONObject(org.json.JSONObject jsonObject) |
Amount |
Amount.Translator.fromParser(BinaryParser parser,
Integer hint) |
static Amount |
Amount.fromString(String val) |
Amount |
Amount.Translator.fromString(String s) |
Amount |
STObject.get(AmountField f) |
Amount |
Amount.max(Amount val) |
Amount |
Amount.min(Amount val) |
Amount |
Amount.multiply(Amount multiplicand) |
Amount |
Amount.multiply(BigDecimal divisor) |
Amount |
Amount.multiply(Number multiplicand) |
Amount |
Amount.negate() |
Amount |
Amount.newIssuer(AccountID issuer) |
Amount |
Amount.one() |
Amount |
Issue.roundedAmount(BigDecimal amount) |
Amount |
Amount.subtract(Amount subtrahend) |
Amount |
Amount.subtract(BigDecimal subtrahend) |
Amount |
Amount.subtract(Number subtrahend) |
| 限定符和类型 | 方法和说明 |
|---|---|
Amount |
Amount.add(Amount augend) |
int |
Amount.compareTo(Amount amount) |
BigDecimal |
Amount.computeQuality(Amount toExchangeThisWith) |
Amount |
Amount.divide(Amount divisor) |
boolean |
Amount.equals(Amount amt) |
boolean |
Amount.equalsExceptIssuer(Amount amt) |
Amount |
Amount.max(Amount val) |
Amount |
Amount.min(Amount val) |
Amount |
Amount.multiply(Amount multiplicand) |
void |
STObject.put(AmountField f,
Amount o) |
Amount |
Amount.subtract(Amount subtrahend) |
org.json.JSONObject |
Amount.Translator.toJSONObject(Amount obj) |
String |
Amount.Translator.toString(Amount obj) |
| 构造器和说明 |
|---|
PrecisionError(String s,
Amount amount) |
| 限定符和类型 | 方法和说明 |
|---|---|
Amount |
RippleState.balance() |
Amount |
AccountRoot.balance() |
Amount |
Offer.getsOne() |
Amount |
RippleState.highLimit() |
Amount |
RippleState.issuedByHigh() |
Amount |
RippleState.issuedByLow() |
Amount |
RippleState.issuedTo(AccountID accountID) |
Amount |
RippleState.lowLimit() |
Amount |
Offer.paysOne() |
Amount |
Offer.payToGet(Amount funded) |
Amount |
Offer.takerGets() |
Amount |
Offer.takerGetsFunded() |
Amount |
Offer.takerPays() |
Amount |
Offer.takerPaysFunded() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RippleState.balance(Amount val) |
void |
AccountRoot.balance(Amount val) |
void |
RippleState.highLimit(Amount val) |
Hash256 |
Offer.lineIndex(Amount amt) |
void |
RippleState.lowLimit(Amount val) |
Amount |
Offer.payToGet(Amount funded) |
void |
Offer.takerGets(Amount val) |
void |
Offer.takerPays(Amount val) |
| 限定符和类型 | 方法和说明 |
|---|---|
Amount |
Transaction.fee() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Transaction.fee(Amount val) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SignedTransaction.multiSignPrepare(IKeyPair keyPair,
Amount fee,
UInt32 Sequence,
UInt32 lastLedgerSequence) |
void |
SignedTransaction.prepare(IKeyPair keyPair,
Amount fee,
UInt32 Sequence,
UInt32 lastLedgerSequence) |
| 限定符和类型 | 方法和说明 |
|---|---|
Amount |
Payment.amount() |
Amount |
TrustSet.limitAmount() |
Amount |
Payment.sendMax() |
Amount |
OfferCreate.takerGets() |
Amount |
OfferCreate.takerPays() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Payment.amount(Amount val) |
void |
TrustSet.limitAmount(Amount val) |
void |
Payment.sendMax(Amount val) |
void |
OfferCreate.takerGets(Amount val) |
void |
OfferCreate.takerPays(Amount val) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Amount |
Util.getExtraFee(org.json.JSONObject json,
int drops_per_byte,
TransactionType type)
获取交易的额外的费用
|
Copyright © 2021. All rights reserved.