Package org.bitcoinj.protobuf.wallet
Interface Protos.ExchangeRateOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Protos.ExchangeRate,Protos.ExchangeRate.Builder
- Enclosing class:
- Protos
public static interface Protos.ExchangeRateOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetCoinValue()This much of satoshis (1E-8 fractions)…java.lang.StringgetFiatCurrencyCode()ISO 4217 currency code (if available) of the fiat currency.com.google.protobuf.ByteStringgetFiatCurrencyCodeBytes()ISO 4217 currency code (if available) of the fiat currency.longgetFiatValue()…is worth this much of fiat (1E-4 fractions).booleanhasCoinValue()This much of satoshis (1E-8 fractions)…booleanhasFiatCurrencyCode()ISO 4217 currency code (if available) of the fiat currency.booleanhasFiatValue()…is worth this much of fiat (1E-4 fractions).
-
-
-
Method Detail
-
hasCoinValue
boolean hasCoinValue()
This much of satoshis (1E-8 fractions)…
required int64 coin_value = 1;- Returns:
- Whether the coinValue field is set.
-
getCoinValue
long getCoinValue()
This much of satoshis (1E-8 fractions)…
required int64 coin_value = 1;- Returns:
- The coinValue.
-
hasFiatValue
boolean hasFiatValue()
…is worth this much of fiat (1E-4 fractions).
required int64 fiat_value = 2;- Returns:
- Whether the fiatValue field is set.
-
getFiatValue
long getFiatValue()
…is worth this much of fiat (1E-4 fractions).
required int64 fiat_value = 2;- Returns:
- The fiatValue.
-
hasFiatCurrencyCode
boolean hasFiatCurrencyCode()
ISO 4217 currency code (if available) of the fiat currency.
required string fiat_currency_code = 3;- Returns:
- Whether the fiatCurrencyCode field is set.
-
getFiatCurrencyCode
java.lang.String getFiatCurrencyCode()
ISO 4217 currency code (if available) of the fiat currency.
required string fiat_currency_code = 3;- Returns:
- The fiatCurrencyCode.
-
getFiatCurrencyCodeBytes
com.google.protobuf.ByteString getFiatCurrencyCodeBytes()
ISO 4217 currency code (if available) of the fiat currency.
required string fiat_currency_code = 3;- Returns:
- The bytes for fiatCurrencyCode.
-
-