Interface ExchangeRateSetOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
ExchangeRateSet, ExchangeRateSet.Builder

@Generated public interface ExchangeRateSetOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    * A current exchange rate.
    * A future exchange rate.
    boolean
    * A current exchange rate.
    boolean
    * A future exchange rate.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • hasCurrentRate

      boolean hasCurrentRate()
       *
       A current exchange rate.
       <p>
       When present in a receipt, this SHALL be the exchange rate used to
       compute the fees for that transaction.
       
      .proto.ExchangeRate currentRate = 1;
      Returns:
      Whether the currentRate field is set.
    • getCurrentRate

      ExchangeRate getCurrentRate()
       *
       A current exchange rate.
       <p>
       When present in a receipt, this SHALL be the exchange rate used to
       compute the fees for that transaction.
       
      .proto.ExchangeRate currentRate = 1;
      Returns:
      The currentRate.
    • hasNextRate

      boolean hasNextRate()
       *
       A future exchange rate.
       <p>
       This exchange rate SHALL be applied after the current exchange
       rate expires.
       
      .proto.ExchangeRate nextRate = 2;
      Returns:
      Whether the nextRate field is set.
    • getNextRate

      ExchangeRate getNextRate()
       *
       A future exchange rate.
       <p>
       This exchange rate SHALL be applied after the current exchange
       rate expires.
       
      .proto.ExchangeRate nextRate = 2;
      Returns:
      The nextRate.