Package org.bitcoinj.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
Modifier and TypeMethodDescriptionlong
This much of satoshis (1E-8 fractions)…ISO 4217 currency code (if available) of the fiat currency.com.google.protobuf.ByteString
ISO 4217 currency code (if available) of the fiat currency.long
…is worth this much of fiat (1E-4 fractions).boolean
This much of satoshis (1E-8 fractions)…boolean
ISO 4217 currency code (if available) of the fiat currency.boolean
…is worth this much of fiat (1E-4 fractions).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
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
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.
-