Interface ExchangeRateOrBuilder

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

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

    Modifier and Type
    Method
    Description
    int
    * Numerator for a ratio of USD cents per HBAR.
    * Expiration time stamp for this exchange rate.
    int
    * Denominator for a ratio of USD cents per HBAR.
    boolean
    * Expiration time stamp for this exchange rate.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getHbarEquiv

      int getHbarEquiv()
       *
       Denominator for a ratio of USD cents per HBAR.
       
      int32 hbarEquiv = 1;
      Returns:
      The hbarEquiv.
    • getCentEquiv

      int getCentEquiv()
       *
       Numerator for a ratio of USD cents per HBAR.
       
      int32 centEquiv = 2;
      Returns:
      The centEquiv.
    • hasExpirationTime

      boolean hasExpirationTime()
       *
       Expiration time stamp for this exchange rate.
       
      .proto.TimestampSeconds expirationTime = 3;
      Returns:
      Whether the expirationTime field is set.
    • getExpirationTime

      TimestampSeconds getExpirationTime()
       *
       Expiration time stamp for this exchange rate.
       
      .proto.TimestampSeconds expirationTime = 3;
      Returns:
      The expirationTime.