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
      long getCoinValue()
      This much of satoshis (1E-8 fractions)…
      java.lang.String getFiatCurrencyCode()
      ISO 4217 currency code (if available) of the fiat currency.
      com.google.protobuf.ByteString getFiatCurrencyCodeBytes()
      ISO 4217 currency code (if available) of the fiat currency.
      long getFiatValue()
      …is worth this much of fiat (1E-4 fractions).
      boolean hasCoinValue()
      This much of satoshis (1E-8 fractions)…
      boolean hasFiatCurrencyCode()
      ISO 4217 currency code (if available) of the fiat currency.
      boolean hasFiatValue()
      …is worth this much of fiat (1E-4 fractions).
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • 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.